Commit Graph

284 Commits

Author SHA1 Message Date
taoneill
6dfb485ec2 Fixed setzonelobby not working for detaching lobbies: copy-pasta = bad. Hooked up warhub command. 2011-08-06 17:00:51 -04:00
taoneill
05b827d265 Changed command handling so that we print the command usage string ourselves. Cleaned up plugin.yml so usage help doesn't look awful. Brought back 'bad' messages formatted in red which where torn out by Tim. Added warning when console tries to use player-only command. Now matching the start of the name of a warzone instead of the exact name, because that's how it worked and how it should continue to work. 2011-08-06 16:14:21 -04:00
Tim Düsterhus
8891b97a9d Documentation 2011-07-28 18:54:53 +02:00
Tim Düsterhus
9dae88a5fc Updated plugin.yml 2011-07-28 16:43:02 +02:00
Tim Düsterhus
5d19aec2b3 Bugfix 2011-07-28 16:38:34 +02:00
Tim Düsterhus
22e79c51f4 Removed the dropLootonDeath member 2011-07-28 14:26:37 +02:00
Tim Düsterhus
b303e8e540 Moved getters / setters to the end of class 2011-07-28 14:22:49 +02:00
Tim Düsterhus
00e8349b40 Adding SetZoneLobbyCommand 2011-07-28 14:11:06 +02:00
Tim Düsterhus
ef75e5a323 Adding ZoneMakerCommand
Everything else needed refactoring because of this
2011-07-28 13:56:34 +02:00
Tim Düsterhus
a0c8e1eb7e Adding SetZoneCommand 2011-07-28 13:28:24 +02:00
Tim Düsterhus
d59dfd09e1 Code-Cleanup 2011-07-28 13:18:09 +02:00
Tim Düsterhus
8f6c895d05 Merge branch 'master' into commandHandler 2011-07-28 13:08:35 +02:00
Tim Düsterhus
14050f11d9 Using proper camelcase now :) 2011-07-28 13:05:37 +02:00
taoneill
af381857b7 Fixed zonemakers string being saved as command whitelist string. 2011-07-27 21:17:05 -04:00
Tim Düsterhus
be469fc663 Adding SetwarconfigCommand 2011-07-27 22:55:13 +02:00
Tim Düsterhus
65aff76af1 Added Setteam, setteamflag and setmonument command 2011-07-27 22:43:33 +02:00
Tim Düsterhus
15c3fadbb3 Validate argument-count 2011-07-27 22:43:22 +02:00
Tim Düsterhus
bc77ce5892 Bugfixes 2011-07-27 22:23:10 +02:00
Tim Düsterhus
84d4f35c2f DeleteteamCommand 2011-07-27 22:21:58 +02:00
Tim Düsterhus
2c8498fec4 Adding DeletemonumentCommand 2011-07-27 22:19:05 +02:00
Tim Düsterhus
4a26f437ba Adding Setwarhub command 2011-07-27 22:13:37 +02:00
Tim Düsterhus
bb300cf372 Adding Nextbattle command 2011-07-27 22:06:27 +02:00
Tim Düsterhus
45716af6b8 More commands :) 2011-07-27 22:01:27 +02:00
Tim Düsterhus
736f270a4a Use this.msg 2011-07-27 21:14:26 +02:00
Tim Düsterhus
50ebc9ad0c Why was bin in repo?!
General reorganizin
2011-07-27 21:10:05 +02:00
Tim Düsterhus
f743ddeb15 Updated plugin.yml 2011-07-27 20:11:46 +02:00
Tim Düsterhus
38bcafae01 Removed AbstractWarzoneCommand and moved methods into War 2011-07-27 17:34:56 +02:00
Tim Düsterhus
92bd84da75 Some bugfixes 2011-07-27 17:34:56 +02:00
Tim Düsterhus
b1724b3fe3 Added Warhub Command 2011-07-27 17:34:56 +02:00
Tim Düsterhus
7b838272ae Added TeamCommand 2011-07-27 17:34:56 +02:00
Tim Düsterhus
135d1856cc Added Leave-Command 2011-07-27 17:34:56 +02:00
Tim Düsterhus
42d4491b2e Some changes to join-command 2011-07-27 17:34:56 +02:00
Tim Düsterhus
6206df0c41 Implemented JoinCommand 2011-07-27 17:34:55 +02:00
Tim Düsterhus
554335b6bd Half implementation of /teams 2011-07-27 17:34:55 +02:00
Tim Düsterhus
1bf770d340 Added Warzone-Command 2011-07-27 17:34:55 +02:00
Tim Düsterhus
a1f1b65d6e First implemented command 2011-07-27 17:34:55 +02:00
Tim Düsterhus
5565024a7c Some more change 2011-07-27 17:34:55 +02:00
Tim Düsterhus
d0c2cc6078 First pieces of CommandHandler 2011-07-27 17:34:55 +02:00
Tim Düsterhus
e7d8a33d3b Found the issue of the NPEs, so reverting Tommys revert, sorry, i hope you won't kill me for that :)
This one was seriously tested before, every function of War
2011-07-27 15:06:51 +02:00
Tim Düsterhus
af3e0f08b3 Revert "Reverting e9193565f3 (the War singleton) because it caused unpredictable behavior. For example, doubly nested scheduler calls would cause NPEs when accessing the somehow null singleton. Sorry Tim."
This reverts commit 797ca9246b.
2011-07-27 15:04:16 +02:00
taoneill
797ca9246b Reverting e9193565f3 (the War singleton) because it caused unpredictable behavior. For example, doubly nested scheduler calls would cause NPEs when accessing the somehow null singleton. Sorry Tim. 2011-07-17 20:36:44 -04:00
taoneill
354955c04e Fix for uninitialized War singleton when using reload when switching over to new War version. 2011-07-17 19:42:20 -04:00
taoneill
b1c09b564e No more portal blocks set in warhub. Crazy, this has been in forever and I never saw the portal blocks come up on my server. But on some servers they did and caused problems. Weird. 2011-07-17 19:26:43 -04:00
taoneill
b205feb937 Damn, I thought I'd pulled from origin. Oh well, fixing pull merge. 2011-07-17 19:23:03 -04:00
taoneill
423304bb9d Closes gh-198. Auto-assign gates now have the proper colors. Fixed warhub orientation not being applied to player warp location. Using the autoassign setting with lots of team now makes sure the lobby won't be wider than for one team. 2011-07-17 19:16:28 -04:00
Tim Düsterhus
e9193565f3 Moved War out of Parameter but into a kind of Singleton 2011-07-17 11:06:38 +02:00
Tim Düsterhus
57f81479fe Cleanup of War class 2011-07-17 10:59:31 +02:00
Tim Düsterhus
38b93ce16d Removing unused wars 2011-07-17 10:59:31 +02:00
Tim Düsterhus
ba1a0fef3a Some javaDoc 2011-07-17 10:59:31 +02:00
taoneill
0e48e6539f Closes gh-250. Death by TNT and by dispenser now properly registered. 2011-07-16 19:30:07 -04:00