Commit Graph

410 Commits

Author SHA1 Message Date
Steven Lawson
8ac91f7097 Reworked all Scheduler usage - now using BukkitRunnables.
Added /logs command.
A few other fixes...
2013-07-27 17:49:25 -04:00
Steven Lawson
c482349f47 TFM_CommandBlockerNew cleanup. 2013-07-26 19:48:18 -04:00
unknown
b24f1d9247 Moved the ServerListPingEvent from TFM_PlayerListener to TFM_ServerListener. 2013-07-24 11:01:43 -04:00
Steven Lawson
2079e0ea66 Added event handling for command block changes.
Recoded TFM_CommandBlocker as TFM_CommandBlockerNew, will replace after evaulation.
2013-07-21 22:48:34 -04:00
Steven Lawson
c3fc085adc Fix for Bukkit NPE in /enchant. 2013-07-20 19:38:27 -04:00
Steven Lawson
aad8f17455 Give TFM commands priority over other plugins. 2013-07-20 16:06:46 -04:00
Jerome van der Sar
fdfa30b349 How do I allman? 2013-07-14 14:10:29 +02:00
Jerome van der Sar
e56c273457 Moved TotalFreedomMod-related information to /tfm 2013-07-13 22:11:13 +02:00
Jerom van der Sar
53614d174e Dry - Fixed all commands having a default '/' alias. 2013-07-13 12:49:53 +02:00
Jerom van der Sar
37e78dceec Merge branch origin/master 2013-07-12 21:54:43 +02:00
Jerom van der Sar
8f6d71fffb Bleeding - Fixed empty commands
Empty commands would always run the first alphabetically sorted TFM command.
2013-07-12 21:51:03 +02:00
Steven Lawson
b9bd046105 Changed WorldEdit API access method. 2013-07-11 20:35:09 -04:00
Steven Lawson
1fcda4a8fc Merge remote-tracking branch 'origin/untested' 2013-07-11 18:40:42 -04:00
Steven Lawson
f8e62a9893 Merge branch 'master' of https://github.com/TotalFreedom/TotalFreedomMod 2013-07-11 18:22:12 -04:00
Steven Lawson
aaf96d00a9 Revert to old login logic. Ban messages weren't working right. 2013-07-11 18:21:23 -04:00
unknown
4903f009b3 Add Pet Protection.
Cleaned up config file a bit.
2013-07-11 14:51:08 -04:00
Steven Lawson
279f69e3de Merge pull request #52 from Wild1145/patch-1
Fine by me.
2013-07-11 04:36:13 -07:00
Steven Lawson
22bf0c2f62 Removed Command_minecraft and TFM_ServiceChecker.
Restored old Mojang status checker in /status.
Owner of xpaw.ru requested that 3rd party applications not use his API.
Batch formatting fix.
2013-07-10 21:46:29 -04:00
Jerom van der Sar
f21e50e002 Fixed bug in /halt 2013-07-10 23:47:21 +02:00
Jerom van der Sar
6d9e9406ec Moved to more specific User-Agent in the service Checker 2013-07-10 23:32:31 +02:00
Steven Lawson
cd16c7fb10 Mark wanted /list -a to show how awesome he was.
Or something like that. Don't do this for other people, please.
2013-07-08 20:51:23 -04:00
Steven Lawson
11c945c504 Update to 1.6.2 API. 2013-07-08 20:37:02 -04:00
Steven Lawson
c70e3ad8fd Added DisguiseCraft API functionality. 2013-07-07 21:42:03 -04:00
Ryan
f63805cca2 Removed some ziptool stuff
Well as it was removed from here, it may aswell just be removed from this file too :)
2013-07-07 23:39:02 +01:00
Jerom van der Sar
5868540cbb Optionally ends with 'y', who knew? 2013-07-06 19:09:32 +02:00
Jerom van der Sar
8ca518528f Whoops, fixed the description of /whohas 2013-07-05 14:02:43 +02:00
Jerom van der Sar
4cbbf10871 Blocked command aliases from being executed when that command is blocked, removed debug message 2013-07-05 13:50:10 +02:00
Jerom van der Sar
93914370a1 Added /whohas 2013-07-04 23:32:11 +02:00
Jerom van der Sar
ee87d1147d Merge branch 'master' of https://github.com/TotalFreedom/TotalFreedomMod
Conflicts:
	appinfo.properties
	buildnumber.properties
	src/me/StevenLawson/TotalFreedomMod/Listener/TFM_PlayerListener.java
2013-07-04 22:51:31 +02:00
Jerom van der Sar
44f72815e1 Added configurable blocked commands 2013-07-04 22:46:51 +02:00
Steven Lawson
391e417882 Move server interface where it belongs. 2013-07-04 12:22:02 -04:00
Steven Lawson
0dca359e4c A few little fixes.
Make /cake give the cake achievement.
Fix /lockup.
Colorful MOTD, more MOTD options.
2013-07-04 12:10:08 -04:00
Steven Lawson
15fbd0e1f3 Got rid of dispatchCommand usage (where possible).
Added TFM_WorldEditBridge.
2013-07-03 16:11:57 -04:00
Steven Lawson
1d9e6ae931 Merge pull request #50 from Wilee999/master
Blocked /butcher and //butcher on mark's request
2013-07-02 19:41:16 -07:00
Wilee999
a0cf0e9352 oops 2013-07-02 19:40:18 -07:00
Wilee999
797de66e10 removed 2013-07-02 19:36:59 -07:00
Steven Lawson
d40d5b461d Cleaned up Command_setl. Don't use server.dispatchCommand for things that can be done with the existing API!
Fixed depreciation warnings on compile.
2013-07-02 19:08:31 -04:00
Jerom van der Sar
8751e0454c Cleaned up /purgeall and /halt 2013-07-02 22:31:05 +02:00
Wilee999
3f29f788d5 Bye bye /butcher! 2013-07-02 12:50:59 -07:00
Wilee999
61db5de20d Reverted last commit. 2013-07-02 12:42:06 -07:00
Wilee999
ed9204c735 might as well add this 2013-07-02 11:59:15 -07:00
Wilee999
9fc237390e grr 2013-07-02 11:58:41 -07:00
Steven Lawson
ba22aedc58 Batch formatting fix. 2013-07-02 14:31:22 -04:00
Jerom van der Sar
44fb26b27f Updated to Bukkit 1.6 2013-07-02 14:05:29 +02:00
Jerom van der Sar
fab341608b Improved mojang service checker, now using xpaw.ru, migrated to /minecraft 2013-07-01 10:04:43 +02:00
Jerome van der Sar
4f6a0ca5d3 Blocked TNT Minecarts from being placed 2013-06-23 15:17:12 +02:00
Jerom van der Sar
c308c9a268 Oopsies. 2013-06-18 19:52:41 +03:00
Jerom van der Sar
be1acb4e03 Disaster839 is without a capital, who knew? 2013-06-11 22:48:38 +03:00
Dan Jones
1f87c05547 Changed madgeek1540 to madgeek1450
Just noticed a little typing error in the developer's StringList, so I decided to fix it :)
2013-06-10 11:51:55 +02:00
Jerom van der Sar
a2a6e39db9 Minor changes, added /creative -a, formatting fixes, updated version number 2013-06-10 08:24:53 +02:00
Dan Jones
c96bdea066 Fixed survival -a
I was a numpty and forgot to change the gamemode it changed people to.
2013-06-09 22:26:06 +02:00
Dan Jones
201d27e070 Added survival -a (Allman Style) 2013-06-09 21:52:13 +02:00
Jerom van der Sar
36ceb7007a Added Disaster839 as a developer. 2013-06-09 14:11:22 +03:00
Jerom van der Sar
6519ead121 Added Acidic, Wild and Hex to the developer list 2013-06-03 23:08:31 +02:00
Ryan
6768854eda Added new blocked wildcards
This is to stop people from being able to abuse admin or going rogue as easily
2013-06-02 18:17:33 +02:00
Jerom van der Sar
83176ba0b9 Merge pull request #26 from Wilee999/pull2
Added /rb (/rollback alias)
2013-06-01 14:39:30 -07:00
Wilee999
79fc01eae7 /nuke will now tempban you. 2013-05-31 19:54:36 -06:00
Wilee999
d1d220f618 Added /rb (/rollback alias) 2013-05-30 16:38:27 -06:00
Wilee999
f6943b9754 This /stop message works better. 2013-05-29 20:57:01 -06:00
Wilee999
ad9e901aa0 Fixed /blockcmd in /purgeall 2013-05-27 19:57:53 -07:00
Ryan
d8ae364300 Patched exploit found in commands
This will fix the issue with world edit history erasing, please push and compile ASAP as Mark would like this patched :)
2013-05-26 14:18:16 +02:00
Jerom van der Sar
7f9661ec11 Merge pull request #14 from Wild1145/patch-1
Blocked /rl
2013-05-22 07:40:51 -07:00
Jerome van der Sar
8d59ba59f4 Prepend Rollback entries, this ensures the last entries get restored first, instead of last 2013-05-20 15:40:04 +02:00
Ryan
63508addf4 /Gtfo bug fix 2013-05-19 23:28:57 +02:00
Jerom van der Sar
4853cc439b Added /rollback 2013-05-17 22:58:03 +02:00
Jerom van der Sar
d016e1ff08 Fixed stuff with Wilee's and Wild's changes 2013-05-17 20:03:16 +02:00
Jerom van der Sar
ab9650dc54 Merge pull request #13 from Wilee999/master
xxWileexx: Add /purgeall, minor changes.
2013-05-16 11:54:12 -07:00
Wilee999
d3139dd39f hopefully this works 2013-05-16 11:49:41 -07:00
Wilee999
ba834b6b92 g 2013-05-16 11:45:21 -07:00
Jerom van der Sar
ccd4237491 Merge pull request #15 from Wild1145/patch-3
Added /setl to set the amount of world edit blocks that can be used
2013-05-16 11:35:43 -07:00
Wilee999
d2457adf68 Create Command_cmdlist.java 2013-05-16 12:31:22 -06:00
Wilee999
aea65815a8 removed /denick from /purgeall 2013-05-16 12:29:06 -06:00
Wilee999
6abd2491f1 Removed /denick from /spurgeall 2013-05-16 12:28:28 -06:00
Wilee999
31b5c99007 Added broadcast to /spurgeall 2013-05-16 12:19:47 -06:00
Wilee999
4aebf33006 Added a broadcast to /purgeall 2013-05-16 12:18:39 -06:00
Wilee999
e29a820398 Added /spurgeall 2013-05-16 00:57:26 -07:00
Wilee999
fabbc78d22 Replaced /clearall with /purgeall, this cleans more! 2013-05-15 23:59:08 -07:00
Wilee999
a8b4f1d950 Removed /cmdlist (useless) 2013-05-15 20:56:18 -07:00
Ryan
b7c9f4e02d Added warning in MOTD if in adminmode=true
I think this would save people connecting and spamming logs if in adminmode!
2013-05-15 23:12:46 +02:00
Ryan
ba9289e1a3 Added /setl to set the amount of world edit blocks that can be used 2013-05-15 23:05:20 +02:00
Ryan
47dec49381 added /rl as a blocked command
Just because it buggs me ALOT!
2013-05-15 21:13:36 +02:00
Wilee999
b1202c7871 hopefully this fixed /invis 2013-05-15 12:03:45 -06:00
Jerom van der Sar
e82e88f48f Added /invis, incremented version number to reflect latest changes 2013-05-15 15:23:35 +02:00
Jerom van der Sar
36747cb986 Added /tban, colors for /rawsay, minor changes 2013-05-15 14:56:23 +02:00
Jerome van der Sar
8b601f1e70 Removed need to have a modified CraftBukkit 2013-05-09 15:45:14 +02:00
Jerome van der Sar
039de8ba88 Update to Minecraft 1.5.2
Added dev prefixes, Fixed Twitterbot bug
2013-05-06 22:04:10 +02:00
Steven Lawson
e433d9605f Merge branch 'master' of https://github.com/StevenLawson/TotalFreedomMod 2013-04-14 16:37:33 -04:00
Steven Lawson
e665d5fcbf Add in standard usage message for commands that have improper syntax. 2013-04-09 22:32:04 -04:00
Steven Lawson
3c9ca8c08a Don't need getCommandMap() here. 2013-04-09 22:13:31 -04:00
Steven Lawson
14442d66ee Eliminated the need to add commands to the plugin.yml file.
Now all command configuration is handled by annotations in the
command classes themselves.
2013-04-09 22:05:24 -04:00
Wild1145
6484eab27e /gtfo will work from all connections
Thanks Darth :)
2013-04-09 22:35:12 +02:00
Steven Lawson
3333c826a5 Some changes to command class loader and structure. 2013-04-08 17:59:04 -04:00
Steven Lawson
156cf7efd3 Added "/list -a". 2013-04-02 19:09:39 -04:00
Steven Lawson
f3b04ee828 Added Command_plugincontrol. 2013-03-24 15:55:34 -04:00
Steven Lawson
b135aa8b58 Update for server compatibility with CraftBukkit v1_5_R2.
Increment to TFM v2.12
2013-03-23 15:18:37 -04:00
Wild1145
af1254584c Added rollback
Attempt 2
2013-03-21 21:28:14 +00:00
Dan Jones
d752de1cd2 Update Command_glist.java 2013-03-21 07:27:58 +00:00
Steven Lawson
7b0977d58f Fixing some things that weren't thread safe.
More import / formatting cleanup.
2013-03-20 20:19:07 -04:00
Steven Lawson
71ec3d3a4d Remove ignore_permissions.
Mass formatting autofix.
2013-03-19 18:05:20 -04:00
Jerom van der Sar
a7755117e4 Added TwitterBot remove in /saconfig delete 2013-03-19 11:50:57 +01:00
Jerom van der Sar
53ff2faa2f Final merge, everything *should* be working now 2013-03-19 11:24:50 +01:00
Jerom van der Sar
d020293a26 Added /twitter (twitterbot) 2013-03-19 11:06:31 +01:00
Jerom van der Sar
8939b7e728 Some changes, I hope we can settle with this
first init of /twitter command
2013-03-18 17:08:51 +01:00
Jerom van der Sar
512f40d0f9 Merge branch 'official_mg' of https://github.com/StevenLawson/TotalFreedomMod 2013-03-18 16:37:04 +01:00
Steven Lawson
256e29fcc6 Change to 1.5 log handle.
Increment version for 1.5 development.
2013-03-16 15:59:52 -04:00
Steven Lawson
0401fd7a7e Update for CraftBukkit v1_5_R1 compatibility. 2013-03-16 13:34:44 -04:00
Steven Lawson
d4824c8caf Update for net.minecraft.server.v1_4_R1.
Will merge in main branch changes over the next few days to official.
2013-02-26 19:44:53 -05:00
Jerom van der Sar
2adb11dae2 Added commandspy 2013-01-21 19:58:42 +01:00
Jerom van der Sar
5afc550144 Moved SOURCE_TYPE_ALLOWED and ADMIN_LEVEL inside CommandPermissions 2013-01-21 17:57:09 +01:00
Jerom van der Sar
bd0d437eae Added Freeze and Mute purger 2013-01-16 15:48:56 +01:00
Jerom van der Sar
3399207fd7 added /potion clearall 2013-01-07 16:33:54 +01:00
Jerom van der Sar
ac0dc43cd7 Moved all player messages to playerMsg()
Changes to /blockcmd
2013-01-07 16:24:54 +01:00
Jerom van der Sar
f0ca909069 Added /health (try 2) 2012-12-28 00:49:30 +01:00
Jerom van der Sar
7c360baa3c Added /health 2012-12-28 00:27:54 +01:00
Steven Lawson
bfa0324af9 Removing tests. Since we don't do those.
Added /lastcmd.
Added /tfupdate, mainly for my own use.
2012-12-21 22:22:08 -05:00
Steven Lawson
ca4e64cc0e Updates for CraftBukkit v1.4.6 2012-12-20 21:33:22 -05:00
Steven Lawson
b8b755c0c7 Adding additional login checks.
Added /saconfig info
2012-12-19 20:25:29 -05:00
Steven Lawson
d066c1b754 Cleanup 2012-12-10 22:05:08 -05:00
Steven Lawson
972e81276d Lol, deathray. 2012-12-10 17:15:33 -05:00
Jerom van der Sar
b2ad8eb7a0 permission fixes 2012-12-10 21:25:48 +01:00
Steven Lawson
9ae4677307 Consolidate any calls to net.minecraft.server classes to new TFM_ServerInterface class.
Fix use of deprecated async calls.
2012-12-08 22:42:29 -05:00
Steven Lawson
c3b03f8e7c Removed cake foolishness. 2012-12-08 13:28:40 -05:00
Steven Lawson
417dbc9589 Update to latest versions of MCStats' Metrics class.
Next time you add something like this, let me know first so I can handle the administrative bits of taking ownership of the plugin and such...
Cleanup.
2012-12-07 20:01:52 -05:00
Steven Lawson
bb1fd44a2b Merge branch 'master' of https://github.com/StevenLawson/TotalFreedomMod 2012-12-07 19:37:44 -05:00
Steven Lawson
0589ebcf48 Added /deafen 2012-12-07 19:37:27 -05:00
Jerom van der Sar
2f044a07f2 Added Metrics: mcstats.org 2012-12-06 12:01:51 +01:00
Jerom van der Sar
2c0dc8c845 Added /blockcommand 2012-12-06 10:32:08 +01:00
Steven Lawson
88000cd504 I see your cookie, and raise you cake v2.0. 2012-12-05 20:54:38 -05:00
Jerom van der Sar
ef01bead21 I think this'll work better :) 2012-12-04 08:46:24 +01:00
Jerom van der Sar
cd6251d07d Added /cookie 2012-12-04 08:36:56 +01:00
Steven Lawson
63b80d0d69 Changes to AdminChat. 2012-12-02 12:27:10 -05:00
Jerom van der Sar
11347c2327 Added Adminchat
Conflicts:
	src/me/StevenLawson/TotalFreedomMod/TFM_Util.java
2012-12-02 12:13:36 -05:00
Steven Lawson
f7393a85c4 plugin.yml cleanup, going to do a better job of this later on (have it auto-generate the description, usage, and alias from the @CommandPermissions).
Cleanup TFM main class.
Added /listsync for associate servers.
Added config.yml based host_sender_names list.
2012-12-02 12:05:54 -05:00
Steven Lawson
4de09696b9 Yeah, that wasn't going to work... 2012-12-01 20:33:36 -05:00
Steven Lawson
9501c07301 Make /list send clanforge the exact list that vanilla Bukkit prints out for compatibility. 2012-12-01 18:07:27 -05:00
Steven Lawson
b2ae63dc53 I removed /clear and /socialspy from essentials, so we don't really need these.
Not that it helped anyway, essentials had like 10 aliases for the /clear command that this woudn't have blocked.
2012-12-01 17:01:41 -05:00
Steven Lawson
7a7bd72127 Added affected count to /ro. 2012-12-01 15:50:33 -05:00
Steven Lawson
0ec8c5bc32 Add adminAction messages to /ro. 2012-12-01 15:45:50 -05:00
Steven Lawson
93d390c96a Move repeat message detection so spam filter can still catch it.
Who cares if someone uses too many !!'s.
Removed extra check for /socialspy, /packet has been hard-coded out already.
Added back in check for is muted.
General cleanup.
2012-12-01 15:31:25 -05:00
Steven Lawson
ff7a77cbfd Changes to /rd and /ro.
Eliminated use of WorldEdit and op, deop kludge :P
2012-12-01 15:11:00 -05:00
Steven Lawson
dbed25d79f I think that having this broadcast may lead to spam. 2012-12-01 14:43:03 -05:00
Steven Lawson
4f3972c406 TFM_Util.implodeStringList is deprecated. 2012-12-01 14:39:37 -05:00
Steven Lawson
2e899bd4fe Converted gadmin messages to adminAction. 2012-12-01 14:33:06 -05:00
Steven Lawson
e0c2869da8 Reverted changes to /cage. What was broken here? 2012-12-01 14:26:08 -05:00
Steven Lawson
079fe2cb4e Merge branch 'master' of https://github.com/StevenLawson/TotalFreedomMod 2012-12-01 14:11:47 -05:00
Steven Lawson
abf78c49bb Fix expel.
Fix regex.
2012-12-01 14:11:10 -05:00
Jerom van der Sar
e0cf28a055 Added /ro 2012-11-28 17:35:31 +01:00
Jerom van der Sar
2d9fafc05e Merge branch master into dev 2012-11-27 21:12:50 +01:00
Jerom van der Sar
92a6bbce94 Added message repeat prevention 2012-11-27 20:03:42 +01:00
Jerom van der Sar
feaac20a5a Minor Changes 2012-11-27 17:00:18 +01:00