Commit Graph

852 Commits

Author SHA1 Message Date
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
StevenLawson
01edfed307 Tweak /whohas. Note the change from bitwise & to logical && resolving possible bug. 2014-07-26 11:48:17 -04:00
StevenLawson
5e4d1d0d6d Limit duration and amplifier for /potion command. Resolves #243 2014-07-26 11:47:23 -04:00
StevenLawson
86f61f1487 Restructure gadmin. Resolves #245 2014-07-25 23:11:44 -04:00
StevenLawson
461cfa7bdc Switched from Essentials' StringUtil to Apache Commons StringUtils. 2014-07-20 17:40:06 -04:00
StevenLawson
75b296496e Removed DisguiseCraft support. 2014-07-20 17:25:45 -04:00
StevenLawson
183277db21 Clean up sources of compile warnings.
Move anything that causes deprecation warnings into TFM_DepreciationAggregator if no alternative implementation possible.
2014-07-19 21:02:00 -04:00
StevenLawson
2b597867f0 Eliminate usage of deprecated org.bukkit.Server.matchPlayer
Suppress unchecked cast warnings in Module_players.
2014-07-19 17:39:42 -04:00
StevenLawson
7f7312c0a2 Fix landmine. 2014-07-19 17:34:12 -04:00
StevenLawson
73214165a5 Fix glitch in clownfish smacker. 2014-07-19 15:29:07 -04:00
StevenLawson
54be4f7e88 Added clownfish smacker. 2014-07-19 14:59:02 -04:00
StevenLawson
3ccab5f534 Fixed exploit that allows command blocker to be bypassed. 2014-07-17 17:28:32 -04:00
StevenLawson
f635af5f95 Fix error when using /ops purge. 2014-07-16 20:41:14 -04:00
StevenLawson
cc3a183cac Fixed toggle message for /toggle fluidspread. 2014-07-13 22:43:27 -04:00
StevenLawson
173b686658 Add HTTPD Module_logs, resolves #238 2014-07-13 18:04:08 -04:00
unknown
a0d5743232 Ensure UUID is never null at login. Amends #214 and fixes #229 2014-06-30 19:09:26 +02:00
unknown
7598d211cd Correctly display permban URL. Fixes #228 2014-06-30 17:51:13 +02:00
unknown
6b064d0e68 Correctly reference static members in TFM_Jumppads. Fixes #225 2014-06-30 17:35:58 +02:00
unknown
8fc0673bb2 /tfm: Return true when the player doesn't have permission. Fixes #227 2014-06-30 17:30:16 +02:00
unknown
aa062a9d11 Ensure UUID is never null for non-existing players
Currently, the player's name is SHA-1'ed and the first 32 hexadecimal
characters are formed into a 'spoofed UUID'. I think this is the best solution
2014-06-29 16:40:53 +02:00
unknown
8b4b2f97e0 Finished TFM_UuidResolver and /uuid. Resolves #214 2014-06-29 12:09:03 +02:00
unknown
c4f1d0c06f Merge from master 2014-06-29 10:53:39 +02:00
unknown
20d4e886fc Merge from bleeding 2014-06-28 22:31:33 +02:00
unknown
e36ace1671 [Bleeding] Started work on TFM_UuidFetcher 2014-06-28 22:24:36 +02:00
unknown
2f055fbecb /gadmin: return false if required args are not present. Resolves #220 2014-06-28 12:00:16 +02:00
unknown
d193686c79 Block //snow. Resolves #217 2014-06-28 11:50:15 +02:00
unknown
ba2ada569f [Bleeding] Fixed permissions through console. Resolves #195 2014-06-28 11:43:05 +02:00
unknown
850fd9aa4a [Bleeding] Save when purging (ip)ban list. Resolves #219
Small changes
2014-06-28 00:22:55 +02:00
unknown
1fb14ca1dd Added /list -a. Resolves #194 2014-06-22 18:07:02 +02:00
unknown
499472a126 Remove adminworld guests properly. Fixes #202 2014-06-22 17:53:50 +02:00
unknown
cdf03b4353 Perform suggested changes. Fixes #184 2014-06-22 17:12:30 +02:00
unknown
5ec66e8c7e Merge branch 'patch-3' of https://github.com/Wilee999/TotalFreedomMod into Wilee999-patch-3 2014-06-22 17:06:54 +02:00
unknown
adb3834836 Don't double toggle in /toggle. Fixes #193 2014-06-22 16:56:02 +02:00
unknown
d82d6fd704 Updated latest WorldEdit methods 2014-06-22 16:50:57 +02:00
unknown
2d118a44a9 Removed xXWilee99Xx from the developer list 2014-06-16 15:50:16 +02:00
Jerom van der Sar
64cd7f7393 Merge pull request #204 from LevnettUKRonit/patch-4
Added aliases /gmc to /creative
2014-06-10 16:42:13 +02:00
Ronit Sajeey (LevnettUK_Ronit)
75247af337 Added aliases /gms 2014-06-09 17:48:57 +01:00
Ronit Sajeey (LevnettUK_Ronit)
d20b062b70 Added aliases /gmc 2014-06-09 17:25:31 +01:00
Ronit Sajeey (LevnettUK_Ronit)
bba42797d8 Changed /tag remove to /tag off to match usage. 2014-05-29 17:22:28 +01:00
Ronit Sajeey (LevnettUK_Ronit)
5a3106ace8 Fixed TFM_PlayerListener.java
Fixed where it said Telnet Admin was light green its now ChatColor.DARK_GREEN
2014-05-28 09:53:23 +01:00
unknown
8cb4ef111c Rename /saconfig clear to /saconfig clearme. Closes #189 2014-05-19 19:46:40 +02:00
unknown
50d6cf471c Incremented version number for development towards next release 2014-05-19 19:33:18 +02:00
unknown
e942f0bf75 Removed most singleton patterns. Resolves #181 2014-05-19 19:32:25 +02:00
unknown
f8231aeb3f Stable release v4.2 2014-05-19 14:25:04 +02:00
unknown
eddbcf515c Allow customization of Owners. Appends to #178 and commit 67c86aea 2014-05-19 14:21:37 +02:00
unknown
00ac914066 Unban fuzzy IPs for admins. Fixes #187 2014-05-16 15:39:40 +02:00
unknown
179fe9d665 Organise TFM_ConfigEntry values by type 2014-05-16 15:30:02 +02:00
unknown
67c86aea24 Added config values for MOTD, server name and address. Resolves #178 2014-05-16 15:18:24 +02:00
Wilee999
e4bb1ef6aa Auto-freeze on imposter login; adds: http://www.totalfreedom.boards.net/thread/12123 2014-05-15 18:57:34 -07:00
unknown
16b02e3dec Changed /saconfig remove to /saconfig delete to match usage. Fixes #183 2014-05-14 16:22:56 +02:00
unknown
70e248202b Increment version number to 4.2 2014-05-13 17:56:21 +02:00
unknown
51ef752259 Don't warn when finding unknown services in ServiceChecker 2014-05-13 17:18:08 +02:00
unknown
b3e40462e2 Preload player when logging in. Fixes #182 2014-05-13 17:11:32 +02:00
unknown
73a91c02c6 Re-implement unbannable usernames. Resolves #180 2014-05-13 17:01:55 +02:00
unknown
7b8ba0bdf5 Revamp /plugincontrol. Fixes #159 2014-05-13 16:32:01 +02:00
unknown
bd9d6114ba Add /wipeuserdata. Resolves #177 2014-05-11 19:04:01 +02:00
unknown
0435174342 Perform daily and weekly backups. Resolves #163 2014-05-11 18:41:58 +02:00
unknown
796ef3d359 Refractored .createBackup() to TFM_Util.createBackup(String) 2014-05-11 18:15:04 +02:00
unknown
a3f3903760 Increase default nuking block place threshold. Resolves #169 2014-05-11 18:05:51 +02:00
Ryan
8292eb20ae Removed Legacy Login
Due to HeartBleed Mojang had to disable the legacy login servers. They will always show as "Offline" so may as well just remove them.
2014-05-11 12:56:01 +02:00
Ryan
dbfec1e86d Added Color Tabs and Auto Prefixes. Resolves #173 2014-05-10 22:42:37 +01:00
Ryan
31e03d6348 Added a telnet checker. 2014-05-10 22:40:32 +01:00
Ryan
46494a2c87 Reset 2014-05-10 22:40:19 +01:00
Ryan
b11eb0f762 Added in both player tab colours, Auto Prefixes and a telnet checker 2014-05-10 22:35:45 +01:00
unknown
730b0e2c83 Merge with master 2014-05-07 12:53:05 +02:00
unknown
60a9de7e7c [Bleeding] Allow spaces in tags. Resolves #160 2014-05-05 16:25:57 +02:00
unknown
8a4fa946fd Make /doom ban all IPs
Before, /doom would only ban the current IP
2014-05-05 16:10:14 +02:00
unknown
9bc0859fdf Added /tagnyan. Resolves #170 2014-05-05 16:03:30 +02:00
unknown
742450d016 Convert stop/remove to string literals. Resolves #168
Removed TFM_Util.isStopCommand(String) and TFM_Util.isRemoveCommand(String)
2014-05-05 15:31:12 +02:00
unknown
ad06bea3ae Fixed bugs with /saconfig clear. Resolves #167
Admins can now use /saconfig clear [ip] to remove the designated IP (only their own IPs can be removed. They can also simply use /saconfig clear to remove all IPs but the current one. /saconfig clear is safe, meaning you can't remove your current IP or an IP that doesn't belong to you.
2014-05-05 14:27:33 +02:00
unknown
68d83fa397 Allow admins to remove their own IPs 2014-05-05 14:10:32 +02:00
unknown
fe84c3a2a0 Removed Command_listsync. Resolves #166
@markbyrn wants it removed. It also didn't have much of a use, associated servers wouldn't use it since it overwrites the current superadmin and permban config.
2014-05-05 13:35:47 +02:00
unknown
6e5e70ac90 [Bleeding] A little more config tweaking 2014-05-05 13:30:17 +02:00
unknown
489549a0ea Warn when NMS versions don't match. Resolves #165 2014-05-05 00:01:57 +02:00
unknown
56b55eb3e2 [Bleeding] Fixed last errors due to misconfigured config 2014-05-04 23:07:26 +02:00
unknown
4ef5f59fb9 [Bleeding] Fixed startup error due to misconfigured config 2014-05-04 23:03:34 +02:00
Jerom van der Sar
d31ad2e9fc [Bleeding] Remove player online check through PlayerNotFoundException
getPlayer(String) now returns null when the player could not be found
2014-04-26 13:55:24 +02:00
Jerom van der Sar
8a9dfca6d3 [Bleeding] Config refractoring 2014-04-26 13:21:36 +02:00
unknown
55ddf5a30a Merge branch 'master' into bleeding 2014-04-25 17:36:08 +02:00
unknown
59e890c654 Added more startup statistics 2014-04-25 17:26:10 +02:00
unknown
b0e62add9f Reupdate index lists when adding an admin. Fixes #156 2014-04-25 17:10:43 +02:00
unknown
7cdf1abcf2 [Bleeding] Fix invalid characters in usernames 2014-04-23 19:30:11 +02:00
unknown
ee0ebd85fc Increment to version 4.1 to reflect latest changes 2014-04-23 17:03:33 +02:00
unknown
518537413b Allow use of multiple blocks in /ro. Closes #87 2014-04-23 17:00:44 +02:00
unknown
802d02d653 Shoot players in the sky when using /doom. Closes #142 2014-04-23 16:43:12 +02:00
unknown
f3cb57c9cd Extend command rollback time. Closes #136
Addresses http://www.totalfreedom.boards.net/thread/9531/problem-suggestion
2014-04-23 16:38:47 +02:00
unknown
c7c2795f41 Tweaked /ops and /qop 2014-04-23 16:36:11 +02:00
unknown
20b117a703 Moved toggle commands (/firespread, /lavadmg, etc) to /toggle 2014-04-23 16:23:50 +02:00
unknown
08e4a4a171 Moved permban list to a seperate class
Refractoring
Code cleanup
2014-04-21 23:09:10 +02:00
unknown
a0affddeed Refractored command handling to seperate class: TFM_CommandHandler
Cleanup, refractoring
2014-04-21 19:00:39 +02:00
unknown
c82113dc22 Fixed duplicate entries when adding/removing players
Some refractoring
2014-04-21 17:45:32 +02:00
unknown
9315227906 Actually make the default console senior permissions configurable 2014-04-21 15:08:52 +02:00
unknown
00e9b4ea1f [Bleeding] Cleaned up TFM_Command.senderHasPermission() 2014-04-21 14:56:24 +02:00
unknown
22b0781020 Allow the default CONSOLE to have senior permissions 2014-04-21 14:52:23 +02:00
unknown
7df24c6b86 Added more detailed build information to /tfm through appinfo.properties 2014-04-21 14:37:53 +02:00
unknown
0e9044ffc3 Allow compiling for Spigot 1.7.8 2014-04-17 18:29:08 +02:00
unknown
3371f54c06 Merged from master 2014-04-15 16:43:38 +02:00
unknown
5e4649a4d0 Incremented version to 4.0
List of changes:
- Switched over to UUID-based configs
- Revamped TFM_AdminList
- New banning system: TFM_BanList
- Refractoring
- Updated to CraftBukkit-1.7.8-R0.1
- Added BukkitTelnet, WorldEdit and Essentials as soft dependencies
2014-04-15 16:35:41 +02:00
unknown
d8560ebc1f [Dry] (Hopefully) fixed the latest bugs
Added superadmin.yml conversion
2014-04-15 16:25:48 +02:00
unknown
7f2e72ee51 [Bleeding] Fixed bugs with TFM_PlayerList and TFM_BanManager 2014-04-15 15:43:07 +02:00
unknown
c98909df12 [Bleeding] Added BukkitTelnet as a soft dependency 2014-04-14 21:17:49 +02:00
unknown
d613e0266b [Bleeding] First compile of new banning system
Updated to CraftBukkit 1.7.8-R0.1
2014-04-14 21:11:41 +02:00
Wilee999
478244773b Fix /invis smite bug where it spammed the smite message each player. 2014-04-11 17:57:11 -07:00
unknown
5237fa0ca2 [Bleeding] Major refractoring
Added TFM_Config as a base config class for TFM_AdminList and TFM_PlayerList
Finished up UUID based Superadmins
2014-04-11 17:24:44 +02:00