Commit Graph

274 Commits

Author SHA1 Message Date
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
Steven Lawson
f5891ae23b Added /dispfill. 2012-11-24 14:57:18 -05:00
Steven Lawson
794e6286ce Fixed clanforge trigger. 2012-11-23 22:21:02 -05:00
Steven Lawson
9c05e8e2fb Finished implementation of CommandPermissions and conversion of all commands. 2012-11-23 20:22:52 -05:00
Steven Lawson
13af6cb6a3 Implemented support for annotation based command permission setting.
Example usages in adminmode, cage, and fuckoff.
This feature can be "ignored" for commands that want to check perms for themselves.
This means that we can gradually implement this, and not all commands have to be on the new system.
2012-11-22 22:48:28 -05:00
Steven Lawson
502b055265 Added standard method for matching partial and *'d IPs (fuzzy ip matching). 2012-11-22 21:32:55 -05:00
Steven Lawson
ed82272f5c A few of Darth's recent dev branch changes.
-Made it so only superadmins can use qop and qdeop
-Reformat of mute/stfu, now blocks essentials based communication commands as well as /say when someone is muted.
-Blocked socialspy.
2012-11-21 22:42:05 -05:00
Jerom van der Sar
ea151d63e4 Fix for ops using /packet for spamming
Need appinfo,properties, Eclipse doesnt generate it
Fixed SerialVersion UID
Made SuperAdmin Stand out in /list
2012-11-21 19:27:54 +01:00
Jerom van der Sar
477c8ffdd0 minor changes 2012-11-21 17:36:48 +01:00
Jerom van der Sar
a696a8b23b Make commands guess players by nickname 2012-11-21 16:49:47 +01:00
Jerom van der Sar
a1047b1811 Prevent Muted players from using certain commands
Prevent non-superadmins from using /socialspy
2012-11-21 16:40:17 +01:00
Jerom van der Sar
68a225ed7e hehe 2012-11-21 16:25:34 +01:00
Jerom van der Sar
09c0208de5 Fixed players being able to use /qdeop 2012-11-21 16:20:54 +01:00
Jerom van der Sar
488d721a93 Fixed Auto-Decaps not working
Added Removal of excessive exclamation marks
2012-11-21 16:16:09 +01:00
Jerom van der Sar
fbc8d20fda Minimal Stuff 2012-11-21 15:57:39 +01:00
Steven Lawson
892682e969 Filter duplicate IPs and shit in superadmin list. 2012-11-20 20:29:57 -05:00
Steven Lawson
8076ee822e Make lockup scheduler stop when someone logs off. 2012-11-20 20:09:24 -05:00
Steven Lawson
f2f59d2a0d Made it so relogging wont reset someone's TFM_UserInfo instance. 2012-11-20 19:57:53 -05:00
Steven Lawson
d988a699ec Also update the last "login" date. 2012-11-20 18:27:19 -05:00
Steven Lawson
846b79d4fa Make /saconfig add <name> add new IP for existing admin. 2012-11-20 18:14:37 -05:00
Steven Lawson
5845283bad More superadmin list updates. 2012-11-19 21:50:33 -05:00
Steven Lawson
6e266fcff2 Made superadmin entries permanent, can only be removed manually.
/saconfig del will only deactivate the entry, not remove it.
Renamed SuperAwesomeAdmin to Senior Admin.
2012-11-18 20:25:47 -05:00
Steven Lawson
59e6588779 Various cleanup and bugfixes. 2012-11-17 22:57:24 -05:00
Steven Lawson
a543c87ea0 Superadmin list overhaul! 2012-11-12 20:42:30 -05:00
Steven Lawson
774ca0cf0a Increment to v2.9
Add "Login Title Message Customization"
2012-11-11 13:11:06 -05:00
Steven Lawson
40bfd059f1 Kluged /wipeflatlands with some horrible thing that requires the server to restart, but it works now :) 2012-11-04 22:44:24 -05:00
Steven Lawson
a1c8427850 Added Protected Areas!
Switched distance -> distanceSquared to eliminate square root computation, where possible.
2012-11-03 15:03:38 -04:00
Steven Lawson
b46bbd3eba Stuff for new the new Command Block, mostly.
Added /cartsit, mainly for command blocks.
Added -s (silent) switch to qop and qdeop, for command blocks.
Removed TFM_Messages class, since it was just clutter.
Added proprietary handler for CommandBlockChangeEvent, you'll need to implement this yourself in CraftBukkit or remove the event if you want to compile.
2012-11-02 21:03:12 -04:00
Steven Lawson
94003f789d EXTRA PARENTHESES ZOMG. 2012-10-22 17:03:43 -04:00
Steven Lawson
1f6524ff25 Merge branch 'master' of https://github.com/StevenLawson/TotalFreedomMod 2012-10-22 16:57:34 -04:00
Steven Lawson
042fc3102e New netbeans version.
Fix chat length truncation amount.
2012-10-22 16:47:29 -04:00
Jerom van der Sar
8d6436d7aa Fixed bug with /onlinemode not showing correct mode when switching 2012-10-17 13:38:30 +02:00
Steven Lawson
2a396ca904 SuperAwesomeAdmins. Because who are we kidding anyway. 2012-10-03 18:50:16 -04:00
Jerom van der Sar
e7f2ad893c on request: added feature to define telnet users who may use certain high-profile commands 2012-09-30 15:51:07 +02:00
Steven Lawson
d0569c0243 Made it so console can use /potion when a target is specified. 2012-09-23 19:00:45 -04:00
Steven Lawson
054ce678f4 Added some startup crash prevention. 2012-09-20 16:35:00 -04:00
Steven Lawson
5785cc2164 Misc 2012-09-19 23:17:10 -04:00