Commit graph

770 commits

Author SHA1 Message Date
JeromSar c002fbc537 Handle player online check in AsyncPlayerPreLoginEvent
Apparently, online players with the same username are kicked before PlayerLoginEvent is called. This commit moves the online player check to AsyncPlayerPreloginEvent so the default behaviour can still be modified

Fixes #642
2015-05-30 20:51:49 +02:00
JeromSar f2dc46d4ef Work around /saconfig clearme bug. Fixes #629 2015-05-30 20:01:10 +02:00
ChargedCreeper 580ba0a357 Prevent players moving to illegal positions. Fixes #651 2015-05-30 19:45:22 +02:00
JeromSar ff70f13e05 Fixed bug where /uuid recalculate would set ranks incorrectly 2015-05-13 14:56:38 +02:00
JeromSar ea110c01dd Add /overlord 2015-05-13 14:52:01 +02:00
JeromSar 80287433eb Properly fixed commandblocker
Rest in peace, terrible, terrible mistake
2015-05-12 20:34:04 +02:00
JeromSar b18aeb2d38 Work around setFlying() throwing exceptions 2015-05-12 20:17:38 +02:00
JeromSar 68f972c562 Allow players to fly. Fixes #608 2015-05-12 17:18:12 +02:00
JeromSar 17f3a4ca3d Remove blocked commands from the CommandMap. Resolves #622
Temporarily workaround: Remove blocked command from the CommandMap
In Spigot 1.8.3, cancelling PlayerCommandPreprocessEvent will have no effect
This results in TFM failing to block player commands: The player will get a message,
but the command will still execute. Removing the command from the CommandMap is a
temporary workaround untill the related Spigot issue has been fixed.

https://hub.spigotmc.org/jira/browse/SPIGOT-879
2015-05-12 16:54:51 +02:00
JeromSar e2d0e9e754 Fixed error when blocking player commands 2015-05-12 16:45:10 +02:00
JeromSar b167540ad7 Properly cancel blocked commands 2015-05-11 23:05:21 +02:00
JeromSar 0d1ce072dc Reorder prefix assignments, fixes admin prefixes 2015-05-11 22:37:38 +02:00
JeromSar 887a5c6b16 Fixed all admins showing up as Superadmins 2015-05-11 22:21:59 +02:00
JeromSar ea6bfa8387 Fix commandblocker not blocking properly. Resolves #586 2015-05-10 23:28:13 +02:00
JeromSar 42266c37ea Fixed false positive plugin specific command block. Resolves #575 2015-05-10 23:19:23 +02:00
Jerom van der Sar 2dd8e00201 Lowercase commands before mute-block checking. Resolves #312 2015-04-27 00:58:27 +02:00
Jerom van der Sar 46cd88a18a Add protected spawnpoints after all worlds have been loaded. Resolves #438 2015-04-27 00:53:07 +02:00
Jerom van der Sar 2ff0f6f5d6 Fix Forge clients being unable to log in. Resolves #493 2015-04-27 00:48:33 +02:00
Jerom van der Sar 9ff6325469 Add owner to standard prefixes. Resolves #504 2015-04-27 00:45:47 +02:00
Jerom van der Sar ea404985fd Ban IPs in /tban. Resolves #499 2015-04-27 00:39:36 +02:00
Jerom van der Sar 8fc25111e2 Synchronize calls in AsyncPlayerChatEvent listener. Resolves #524 2015-04-27 00:31:54 +02:00
Jerom van der Sar aa35aae58f Merge branch 'master' into pr/574 2015-04-26 23:51:18 +02:00
Drew 6849fb2784 Display proper URL when banning with /glist ban
When you glist ban an online player, it says totalfreedom.boards.net regardless of the config entry. I modified it so it is the config.yml's ban appeal URL.
2015-04-26 23:50:40 +02:00
Jerom van der Sar edaaeef65f Merge branch 'master' into pr/571 2015-04-26 23:25:32 +02:00
Obi2 d6eb5bdcda Fix getIpBanList() returning UUID bans. Fixes #570 2015-04-26 23:23:46 +02:00
Jerom van der Sar 7d675923db Replaced last instances of DarthSalamon with Prozza 2015-04-26 22:40:38 +02:00
Jerom van der Sar 1205252450 Correct compile NMS version 2015-04-26 22:21:26 +02:00
Jerom van der Sar 822f55d9f2 Merge with master 2015-04-26 20:44:28 +02:00
Jerom van der Sar aacf37aa56 Update to Spigot 1.8.3-R2 2015-04-26 20:43:37 +02:00
JeromSar f4aa0c324c Updated to new WorldEdit API
TF-WorldEdit doesn't depend on TFM anymore. It's event-based now.
Moved TFM_TelnetListener to the Bridge subpackage
2015-03-07 17:32:27 +01:00
JeromSar 73ee1f3624 Implement SuperAdmin service 2015-02-18 19:24:04 +01:00
JeromSar af52dec24a Store UUIDs in a SQLite database. Resolves #373 and resolves #406 2015-02-16 17:00:38 +01:00
JeromSar 34ebb3586c Resolve PlayerRank entries by IP. Resolves #415 2015-02-16 15:49:10 +01:00
JeromSar af1dd2e9ff Added support for blocking subcommands. Resolves #357, Resolves #365 and Resolves #334 2015-02-15 19:27:35 +01:00
ItzLevvie e699ad1663 Cleanup: Mass reformat and organize imports 2015-01-15 15:47:10 +01:00
Ryan d14a595ac4 Update to Spigot's CraftBukkit 1.8
Corrected the version check number

Moved Apache Commons reference to imports section
2014-11-30 13:54:29 +01:00
ItzLevvie a11b87ec83 Fixed spelling mistake in TFM_PlayerData.java 2014-11-25 19:29:58 +00:00
JeromSar c7a0604afc Move unfreeze and unmute tasks to TFM_PlayerData. Resolves #352
Mass format & cleanup
2014-11-20 23:20:31 +01:00
JeromSar 9970277134 Fixed last bugs with ForceIP. Closes #354 2014-11-13 21:14:21 +01:00
JeromSar 49f6879ccb Merged with master 2014-11-13 19:22:18 +01:00
JeromSar 794b76321a Avoid adding blocked IPs to the superadmin list 2014-11-13 18:37:49 +01:00
Jerom van der Sar e5b4ae0e3e Merge with master 2014-11-02 14:22:53 +01:00
WickedGamingUK 310ce4f75a Ported all useful features from MobArena over to TFM 2014-11-02 14:20:10 +01:00
Ryan 7fe0b562ee Cleaned it up a bit as suggested by @jeromsar 2014-11-01 19:55:45 +00:00
Ryan 6f6fdb28bf Minor tweaks to default port, Heartbeat and blocked cmd's 2014-11-01 19:51:43 +00:00
Ryan 524d4da9d8 Bug Crunching on the ForceIP - Should work a lot better now. 2014-11-01 19:46:00 +00:00
Ryan 8a92ff132b Changed the default config entry for the server address & added a little tweak. 2014-11-01 15:36:24 +00:00
Ryan 99043a7c49 Removed Hostname and Port from the config - Now using the server address. 2014-11-01 12:10:08 +00:00
Ryan b43ef812a2 Fixed another slight formatting issue. 2014-10-31 18:05:25 +00:00
Ryan 7981adaf85 Fixed Formatting Issues - Forgot it was allman style there. 2014-10-31 17:57:44 +00:00