Commit Graph

501 Commits

Author SHA1 Message Date
Tim Düsterhus
49376848ff Closing gh-272 Implemented a way to specify how to return a flag 2011-08-21 22:34:17 +02:00
Tim Düsterhus
174126209b Forcing the code style we agreed on
- Trimming whitespace
- Using qualifier whenever possible
- Space between if/for/while/switch and (
2011-08-14 13:19:22 +02:00
Tim Düsterhus
e9f56967cb A switch is more nice here 2011-08-14 13:07:25 +02:00
Tim Düsterhus
5f0bc9f2b8 Merge branch 'javaDoc' 2011-08-14 12:57:58 +02:00
Tim Düsterhus
0019e7e107 JavaDoc for commands and War 2011-08-14 12:57:16 +02:00
Tim Düsterhus
e1b895a966 We don't have to invent the wheel twice 2011-08-13 19:58:54 +02:00
Tim Düsterhus
ae13d93da1 Removed unused import 2011-08-13 19:30:24 +02:00
Tim Düsterhus
f013c209a8 Removed some pieces left from refactor 2011-08-13 19:29:42 +02:00
Tim Düsterhus
44df6a3f62 Adding Renamezone command
Closes gh-43
2011-08-13 18:56:41 +02:00
Tim Düsterhus
7e6a2988a6 Removed unused var, "corrected" if 2011-08-13 18:12:48 +02:00
taoneill
7fef7c9649 Removed spammy forgotten logging code when pvpinzonesonly:off. War v1.6 PREVIEW 5. 2011-08-08 23:00:18 -04:00
taoneill
66b4af4d1a Fixed broken setteamflag. PREVIEW 4. 2011-08-07 21:49:34 -04:00
taoneill
8fcd24da2c Fixed load/unload re-registering listeners. This is War v1.6 PREVIEW 3. 2011-08-07 17:37:55 -04:00
taoneill
f56c5571dd Added '/war leave' to zone join message so that even people with HeroChat get some guidance on how to leave. 2011-08-07 16:28:46 -04:00
taoneill
27584c51bb Fixed pvp being broken. Tim's refactor prevented attackers from being registered, messing up all of the damage checks. 2011-08-07 16:20:38 -04:00
taoneill
5dcaac9351 Added -p or print option to zonecfg and warcfg. Ex: /zonecfg test -p autoassign:true, /warcfg print autoassign:false, /zonecfg -p. Trying to nail down pvp issue and I was dying for this. 2011-08-07 13:27:50 -04:00
taoneill
ec35b6088a Added /savezone and /zonecfg commands that work from outside the zone. Better matching to support exact matches when looking for a warzone by name. Invisible spawn setting can be set as default spawn style now. Rallypoint stays with /warcfg. Whew. 2011-08-06 19:04:18 -04:00
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