JeromSar
7328d20c84
Rename some commands to more fitting alternatives
...
Preserve old command names as aliases
2016-02-29 22:27:11 +01:00
JeromSar
4586b7519f
[Bleeding] Revamped rank system yet again
...
Refractoring
Bug fixes
Mass format
2016-02-29 21:48:17 +01:00
JeromSar
a0058869c9
Added checkstyle plugin
...
Moved resources to correct folder
Fixed and improved build information, no longer tracking build.properties
2015-11-22 19:28:32 +01:00
JeromSar
89a317b7df
Mavenized project
2015-11-18 21:41:51 +01:00
JeromSar
0c3bc40b03
Completely switched over to service-based events
2015-11-16 00:32:04 +01:00
JeromSar
848f103afa
[Bleeding] TotalFreedomMod 5.0
...
Mass Refractoring, now uses me.totalfreedom.totalfreedommod as package
Uses Aero https://github.com/Pravian/Aero
Revamped command system
Remove all TFM_ prefixes
Revamp rank system
Use new service based system
Cleanup
2015-10-19 19:43:46 +02:00
JeromSar
a7a2db15d6
Track build information in a better way
...
build.properties replaces buildcreator.properties, buildcreator.default.properties annd buildnumber.properties, but is untracked.
'git describe --tags --always HEAD' is now used to identify the build version, and its result is stored in the build properties file, included with the build. appinfo.properties is removed in favour of build.properties in the compiled jar.
The build number is still tracked, but offline, allowing TFM commits to more easily be merged
2015-09-06 23:05:36 +02:00
Jerom van der Sar
6aeb56de07
Block commands right when the TFM is enabled. Fixes #735
2015-09-06 17:05:03 +02:00
Jerom van der Sar
400038265b
Prevent command arguments from using long number strings. Resolves #782
...
Mass format
2015-09-06 17:02:06 +02:00
Jerom van der Sar
3b87323c41
Remove /permban list. Resolves #805
2015-09-06 16:46:20 +02:00
Jerom van der Sar
cdf2dc6760
Limit host console commands even more. Resolves #811
2015-09-06 16:42:02 +02:00
JeromSar
bf1d779b95
Merge with upstream
2015-06-11 22:29:39 +02:00
JeromSar
27004da544
Compile for Spigot-1.8.7-R0.1. Resolves #644
2015-06-11 22:28:55 +02:00
Jerom van der Sar
c0c4c25875
Merge branch 'tfm44' into pr/584
2015-06-07 17:39:01 +02:00
Revalation
adbaf9341d
Grammar fix in Command_invis.java
2015-06-07 17:38:30 +02:00
Jerom van der Sar
b5c5e60c12
Merge branch 'pr/687' into tfm44
2015-06-07 17:36:25 +02:00
ChargedCreeper
1ed1b352f3
Properly allow Forge clients to log in. Fixes #493
2015-06-07 17:35:56 +02:00
Jerom van der Sar
53c898fd76
Merge branch pr/580
2015-06-07 17:30:12 +02:00
Revalation
acc8f3e2b8
Changed /kicknoob message to be more user-friendly
2015-06-07 17:28:58 +02:00
Jerom van der Sar
157eeef867
Merge branch 'tfm43' into tfm44
2015-06-07 17:22:21 +02:00
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
a4d8f4646e
Properly block /jail and /unjail
...
They're both aliases, /togglejail is the actual command
2015-05-30 20:13:11 +02:00
JeromSar
f2dc46d4ef
Work around /saconfig clearme bug. Fixes #629
2015-05-30 20:01:10 +02:00
JeromSar
901a327b1e
Block/unblock pending commands for non-superadmins
...
Blocked /jail, /unjail and /blockdata for non-superadmins
Moved /clearhistory, /save-all, /save-on and /save-off to non-autoeject section
Resolves #671 , Resolves #670 , Resolves #656
2015-05-30 19:58:15 +02:00
ChargedCreeper
580ba0a357
Prevent players moving to illegal positions. Fixes #651
2015-05-30 19:45:22 +02:00
JeromSar
abf52870dd
Block /green for non-superadmins. Resolves #594
...
Moved /restart to the correct section
2015-05-14 15:27:15 +02:00
JeromSar
d48bfde128
Merge branch 'pr/625' into tfm44
2015-05-14 15:19:15 +02:00
ChargedCreeper
7ac7b75ae6
Allow admins to use lava/water buckets
2015-05-14 14:38:15 +02:00
Drew
b66614cad9
Block /execute for non-superadmins. Resolves #630
2015-05-14 14:30:51 +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
632f3647a8
Blocked /tpall for non-superadmins
2015-05-12 20:43:35 +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
994056047a
Block /weather for non-superadmins. Resolves #617
2015-05-12 17:13:28 +02:00
JeromSar
f115315341
Block /worldborder for non-superadmins. Resolves #615
2015-05-12 17:08:44 +02:00
JeromSar
57e5395143
Block /title for non-superadmins. Resolves #621
2015-05-12 17:07:41 +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
4fce1109a1
Merge branch 'master' into pr/553
2015-04-27 00:08:13 +02:00
Drew
916fd75003
Added Mumble announcement
2015-04-27 00:07:50 +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
313577d083
Merge from master
2015-04-26 23:30:54 +02:00
Robinson Gallego
53efcfd06b
Don't autoeject players using /reload. Resolves #525
2015-04-26 23:28:29 +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
87fd8a165c
Added MCConnect IP to nosuper IPs
2015-04-26 22:29:31 +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
John J. Miller
a15e39d7dd
Added more announcements. Resolves #516
2015-03-29 12:10:55 +02:00
Drew
72fa8532d3
Blocked pending commands in CommandBlocker. Resolves #492
2015-03-15 13:19:20 +01: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
4ca3593653
Release v4.3
2015-02-16 17:13:21 +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
Jerom van der Sar
e2308ee904
Block /spreadplayers in config. Closes #382
2014-12-06 15:02:51 +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
fcf52ba02a
Managed to tweak the port requirement, isnt actually needed like I thought.
2014-11-01 17:44:07 +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
2a71be4050
Tweaked the config notes for Hostname & Port to make it a bit more descriptive
2014-10-31 18:10:06 +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
Ryan
1bc22a817a
Removed the whitespace.
2014-10-31 17:52:57 +00:00
Ryan
57a6b35457
Added the ForceIP feature - Resolves #224
2014-10-31 17:47:05 +00:00
JeromSar
8b45482d0a
[Bleeding] Block listed IPs from being supered. Resolves #201
2014-10-30 19:44:05 +01:00
ItzLevvie
3c329667a4
Fixed spelling mistake in Command_rd.java
2014-10-25 19:08:44 +01:00
StevenLawson
84ef49bf65
Tweak whitespace, change description.
2014-10-01 13:21:52 -04:00
StevenLawson
878075c898
Merge branch 'master' of https://github.com/Obi2kanobi/TotalFreedomMod into Obi2kanobi-master
2014-10-01 13:18:09 -04:00
StevenLawson
c74763c96a
Adjust filename filter for schematic manager.
2014-09-28 18:24:48 -04:00
Obi2kanobi
d01f9d0b2f
Smite players with /stfu -s. Fixes #325 .
2014-09-28 22:14:52 +01:00
StevenLawson
e780c4ffec
Change to v1_7_R4 for Spigot's pseudo-1.8 support.
2014-09-24 18:37:12 -04:00
Jerom van der Sar
3968dbe0a2
Merge pull request #316 from KingDragonRider/master
...
Blocked /size and //mask. Resolves #316
2014-09-23 21:23:49 +02:00
StevenLawson
ff9164714c
Restructured /saconfig. Resolves #322 . Resolves #303 .
2014-09-19 19:59:29 -04:00
KingDragonRider
72e105eb34
Added extra blocked commands used to bypass //brush
...
I've added commands which enable //brush even though it is blocked (/size and //mask) to the blocked commands list (for superadmins only).
2014-09-13 17:16:55 +01:00
ItzLevvie
587b84a489
Blocked "/setidletimeout" in Config
...
Closes https://github.com/TotalFreedom/TotalFreedomMod/issues/307
2014-09-03 17:15:38 +01:00
Steven Lawson
107952f0ba
Modified /ro to not affect adminworld.
2014-08-30 15:18:45 -04:00
Jerom van der Sar
8cae042857
Don't write spoofed UUIDs to cache
2014-08-30 16:24:35 +02:00
StevenLawson
d1b73592af
Compatibility with old builds of WorldEdit.
2014-08-27 20:53:43 -04:00
JeromSar
b7175d73ab
Fixed AIOOBE in /rollback
2014-08-27 13:30:46 +02:00
JeromSar
9c976b381b
Added TFM_UuidManager to cache UUIDs. Resolves #255
...
All methods related to UUIDs in TFM_Util have been moved to TFM_UuidManager
2014-08-27 11:42:49 +02:00
JeromSar
0c99862793
Perform backups in a seperate folder
...
Perform weekly backups on config.yml
Minor refractoring
2014-08-27 10:58:26 +02:00
unknown
0240b65fad
Save and remove player entries on leave
...
Removed timer for player loading, applied to plugin instead
2014-08-27 00:28:44 +02:00
unknown
b6d3e5baca
Merged with master
2014-08-26 18:25:27 +02:00
unknown
15650b84cf
Fixed duplicate ban entries
...
Bans are equal when:
a) The ban-type matches
b) The ban-subject matches
Small changes
2014-08-26 18:23:48 +02:00
unknown
9233bcfedc
Added some getters for TFM_Announcer
2014-08-25 20:05:10 +02:00
unknown
b0aa4a850d
Added Announcer. Resolves #226
...
Organised onEnable()
Formatting
2014-08-25 20:01:54 +02:00
unknown
af97481d11
Return false on incorrect args in Command_rollback. Fixes #296
2014-08-25 18:47:29 +02:00
unknown
3c6e706c98
Merged with master
2014-08-25 14:07:47 +02:00
unknown
aca62caec1
Revamped TFM_BanManager, TFM_Ban and TFM_ServerInterface
...
Better ban type checking
Moved ban reason compilation to TFM_Ban
TFM_ServerInterface: Less expensive operations first
Command_rollback now polls TFM_RollbackManager for available players
2014-08-25 13:57:13 +02:00
Jerom van der Sar
eaa23985bd
Merge pull request #294 from Obi2kanobi/contributing
...
Format GTFO reason broadcast. Fixes #293
2014-08-24 11:21:24 +01:00
StevenLawson
e3f9452b9f
Fix GTFO broadcast formatting. Fixes #293
2014-08-24 00:30:56 +01:00
StevenLawson
755080d0a4
Code refactoring and cleanup.
2014-08-23 14:19:25 -04:00
StevenLawson
0f764b976b
Tweak /cake. Fixes #295 .
2014-08-23 13:52:26 -04:00
StevenLawson
d0a435a5d6
Added preliminary TFM support for TelnetRequestDataTagsEvent.
2014-08-20 21:23:22 -04:00
StevenLawson
b02764ddca
lang.StringUtils -> lang3.StringUtils
...
Remove bold from /nickclean.
2014-08-18 16:48:52 -04:00
StevenLawson
b3c28d33f2
Fixed broken format for /gadmin ipban.
2014-08-15 22:53:57 -04:00
StevenLawson
6ad1187eef
Merge branch 'patch-2'
2014-08-15 16:29:53 -04:00
StevenLawson
1bf1267b49
Remove extra lines.
2014-08-15 16:29:40 -04:00
StevenLawson
d2f6f7f51a
Make '/tfm reload' update blocked commands. Resolves #265 .
...
Config must be reloaded in order to pull in any changes to blocked commands list.
2014-08-15 16:16:45 -04:00
StevenLawson
dc2c996516
Block tags containing "console", fixes #260 .
2014-08-15 15:59:43 -04:00
StevenLawson
f502e44764
Added /nickclean - mass remove distracting things from player nicknames.
2014-08-14 19:07:52 -04:00
Ryan
c490a3d62e
Now made qdeop require you to be op else it wont try to deop the player.
2014-08-14 22:37:20 +01:00
Ryan
9a2dc52e87
Using qop should now only op those who are not op.
...
This will further reduce the amount of spam and doesn't spam everyone with "you are now op".
2014-08-14 22:32:45 +01:00
StevenLawson
a1c11f4e0f
Using playerMsg(final String message) instead of playerMsg(final CommandSender sender, final String message) when possible.
2014-08-14 15:49:48 -04:00
StevenLawson
48fd4c590d
Use TFM_Command.playerMsg instead of TFM_Util.playerMsg for commands.
2014-08-13 20:56:04 -04:00
StevenLawson
97cde0cfd4
Modified /qop and /qdeop to be a bit less spammy when multiple matches are found.
2014-08-13 20:11:12 -04:00
StevenLawson
429269d8d2
Partial fix for #267 .
...
Still need to implement method to kick people off telnet if they are deactivated while connected.
Also - 800th commit! Woohoo!
2014-08-12 19:38:32 -04:00
StevenLawson
1a50c16d9a
Rework tags (now they won't duplicate when Essentials changes display name).
2014-08-12 18:25:57 -04:00
StevenLawson
891d8d178f
Use commons' substring function to avoid IndexOutOfBoundsExceptions.
2014-08-12 15:32:56 -04:00
Jerom van der Sar
fc1c487dce
Woops
2014-08-09 18:53:54 +02:00
Jerom van der Sar
e2cc14370a
Added /forestgen to blocked commands
2014-08-09 18:13:15 +02:00
StevenLawson
d5d6f18fb4
Truncate string argument on calls calls to setPlayerListName. Resolves #262 .
2014-08-07 20:47:15 -04:00
StevenLawson
ecbd70493b
Merge branch 'master' of https://github.com/TotalFreedom/TotalFreedomMod
2014-08-02 11:14:55 -04:00
StevenLawson
4988140268
Fixed mixed string concatenation / String.format usage.
...
Doesn't make much sense to use string concatenation and a String.format to generate the same output. I believe this method is much more readable.
2014-08-02 11:14:37 -04:00
Jerom van der Sar
57b0aadb9b
Added some comments regarding the license
2014-08-02 17:10:54 +02:00
Jerom van der Sar
ef9ce2a9a7
[Bleeding] First compile of new playerdata system. Resolves #223
...
The new TFM_PlayerList stores player under /players/[uuid].yml and only caches online players. When players log in, their playerdata will be loaded.
2014-08-02 16:27:43 +02:00
PacksGamingHD
927560ad75
TotalFreedomMod won't compile like that.
2014-08-01 23:01:04 -07:00
Ronit Sajeey (LevnettUK_Ronit)
11eef83a65
Fixed the ban reason on the same line as the actual ban
...
Resolves https://github.com/TotalFreedom/TotalFreedomMod/pull/250
2014-08-01 15:39:07 +01:00
Ronit Sajeey (LevnettUK_Ronit)
d8697590a7
Update config.yml
...
Closes https://github.com/TotalFreedom/TotalFreedomMod/issues/233
2014-07-30 14:07:31 +01:00
Ronit Sajeey (LevnettUK_Ronit)
6d98604cf0
Update config.yml
2014-07-30 09:27:21 +01:00
StevenLawson
3d6be1cd51
Significantly speed up player list loading.
2014-07-29 22:38:08 -04:00