Commit Graph
593 Commits
Author SHA1 Message Date
garbagemule 7d01d613be Fix entry fee issue. 2013-11-28 02:10:57 +01:00
garbagemule 93798a3e51 Remove health strategies. 2013-10-19 16:40:29 +02:00
garbagemule 41e910ad69 More help on arena-not-found with setup command. 2013-10-18 21:16:42 +02:00
garbagemule 3763b877aa Clear spectator drops on death. Fixes #210 2013-10-16 11:37:12 +02:00
garbagemule bf30185534 Add horse variants as monster types. 2013-10-07 11:55:50 +02:00
garbagemule 56a616ee76 Implement mounts. 2013-10-07 02:05:59 +02:00
garbagemule 24caeab24f Health updates for 1.6 2013-10-07 00:35:47 +02:00
garbagemule 5b2b64d8de Revert "Rip in peace, Metrics, you magnificent bastard."
This reverts commit 096c4d4367.
2013-09-26 13:29:33 +02:00
garbagemule 451e39e3b7 Make spec warp mandatory.
This is necessary to ensure a robust /ma spec command. If no spectator
warp is set, the command will throw an NPE - it is much more safe and
sane to require the warp.
2013-09-21 15:27:41 +02:00
garbagemule 096c4d4367 Rip in peace, Metrics, you magnificent bastard. 2013-09-20 23:27:46 +02:00
garbagemule 42d656863f Attempt to fix auto-start-timer issues. 2013-09-20 23:25:38 +02:00
garbagemule 349172b3b6 Make showBlock(s) thread-safe. 2013-09-09 09:05:54 +02:00
garbagemule acd441dd2e Try to fix flight exception with Setup Mode. 2013-09-09 09:04:52 +02:00
garbagemule 8a1e74a1a4 LinkedList -> ArrayList 2013-09-08 00:00:17 +02:00
garbagemule 80abcf5f24 Allow the items-node to have a list-value.
The items-node in the classes section now supports list values instead
of strictly string-values. This should make it easier to see exactly
which items a class has, and it should alleviate some of the problems
associated with apostrophes and such. The string-valued setup is still
supported to preserve some backwards compatibility.

The armor-node remains untouched, but it will probably be updated to
the same system later.
2013-09-07 23:56:43 +02:00
garbagemule 70060e7dc8 Fix spacing. 2013-09-02 21:22:24 +02:00
garbagemule 354784269e Fix NPE in setclass command. 2013-08-31 05:58:55 +02:00
garbagemule 8ea4799b42 Permissions cleanup. 2013-08-29 02:29:24 +02:00
garbagemule cc1dcff09a Dramatic updates warrant version change. 2013-08-29 02:20:43 +02:00
garbagemule cd62f040c0 Remove obsolete commands, remove "selected arena"
The notion of a "selected arena" disappears with this commit. All
commands that previously did not require an arena name in the case
of multiple arenas now do, i.e. it is no longer possible to "set"
an arena to be the target of commands. This should not be an issue,
however, since Setup Mode replaces all the commands that previously
were the main reason for the notion of a selected arena.
2013-08-29 02:01:36 +02:00
garbagemule 95fc5eeb6e Create setup command.
The /ma setup <arena> command is the first step in the process of
making the setup procedure more intuitive. The command consists of
the actual command handling, as well as a multi-role inner class,
and together they constitute Setup Mode.

- Toolbox; a set of tools are provided to the user, and a handler
  for the interact event will react to the usage of these tools,
  providing the primary, interactive element of Setup Mode. The
  tools are used to set regions, warps and points.
- Text input; by typing 'exp', the user can expand a given region
  in the typical directions (up, down, out), and by typing 'show',
  the user can request red wool blocks to be displayed in place of
  region frames, warps and points.

Whilst in Setup Mode, the user cannot type any commands, because
the input is intercepted due to the Conversations API - this is
by design, and may prevent some inconsistencies.

The next step in the process will be to fully remove the commands
that Setup Mode renders obsolete. The commands include, but are
not limited to:
- set(lobby)region
- expand(lobby)region
- setwarp
- addspawn
- delspawn
- addchest
- delchest
2013-08-29 01:09:19 +02:00
garbagemule 9f7c009d85 Add more show methods to ArenaRegion. 2013-08-29 00:41:04 +02:00
garbagemule a4218ae18c Remove debug printouts. 2013-08-29 00:40:23 +02:00
garbagemule aae6593323 Fix desc of delspawn command. 2013-08-28 08:53:41 +02:00
garbagemule 17d9068aa0 Stop the blaze fires. 2013-08-26 00:22:16 +02:00
garbagemule 470291c626 No more breaking item frames and paintings. 2013-08-23 16:37:19 +02:00
garbagemule 0a2956fb81 Fix MagicSpells config loading issue. 2013-08-23 16:22:42 +02:00
garbagemule 402e6d4de9 Fix lobby potion stuff. 2013-08-22 15:00:50 +02:00
garbagemule f1afdd282a Get rid of obsolete arena settings. 2013-08-21 12:16:52 +02:00
garbagemule 09b1eb9599 Tidy up the set lobby region command. 2013-08-20 18:16:13 +02:00
garbagemule b11b9d3eb1 Add a setting command. 2013-08-20 17:32:53 +02:00
garbagemule 709480a80f Expose a reloadArena() command in the ArenaMaster. 2013-08-20 17:31:37 +02:00
garbagemule eb04693c3f Tidy up commands.
- The execute() method has had its docs redefined to reflect how the
  CommandHandler now handles the return value of the method. That is,
  if the method returns false, the CommandHandler prints the usage
  message and description of the command to the command sender.
- Commands now only return false when they should, according to the
  updated docs of the execute() method.
- Most commands have been tidied up a bit, i.e. they've had some
  unnecessary code removed in the advent of the new usage printing
  of the CommandHandler.
- Some commands have had their patterns altered slightly.
- The order of command registration now matters. That is, the order
  commands are registered in will be the order in which the help
  screen will display the command usages and descriptions.
- The help screen now shows ordered commands, and separates the
  types into user, admin and setup sections for a better overview.
2013-08-20 16:36:28 +02:00
garbagemule e7d3da4db3 Omit [MobArena] on usage messages. 2013-08-20 15:46:52 +02:00
garbagemule 4ce8dcfad3 Simplify first-join => join 2013-08-20 14:40:12 +02:00
garbagemule 6ef8bf23da Fix item glitching.
Let's see you glitch items out now, suckers!
2013-08-19 06:22:31 +02:00
garbagemule 69741a3bdc Add showlobbyregion command. 2013-08-19 04:57:51 +02:00
garbagemule 957545dfe1 Fix all issues related to the lobby region. 2013-08-19 04:56:38 +02:00
garbagemule d3187fd2de Fix all damage bugs with lobby/spec area.
This simple little do'h has caused many issues, but no more, I say!
NO MORE!
2013-08-19 04:54:43 +02:00
garbagemule 701177a9e2 Fix last standing API. 2013-08-19 02:23:33 +02:00
garbagemule 809ee2facb Expose min- and max-player methods on Arena. 2013-08-19 02:22:44 +02:00
garbagemule 3b47ca407e Fix upgrade waves. 2013-08-18 00:28:00 +02:00
garbagemule 9c411a21ad replaceAll => replace for dollar sign compatibility. 2013-08-16 17:52:32 +02:00
garbagemule 22a8f43fce Add missing wrapper for classchest location setter. 2013-08-16 05:48:18 +02:00
garbagemule a2328c7271 Avoid NPE with Locations in config files. 2013-08-16 05:31:32 +02:00
garbagemule 8793bd6cef Backwards compatibility for leaderboard coords. 2013-08-16 03:27:54 +02:00
garbagemule 186fc498cf Make root-target a littler rootier. 2013-08-16 01:18:00 +02:00
garbagemule b0c630df36 Fix color code gibberishing for announcements. 2013-08-16 01:09:39 +02:00
garbagemule e1feb5172c Fix config reloading. 2013-08-16 01:09:23 +02:00
garbagemule b9e3a5df0b Fix typo in error message. 2013-08-15 18:11:41 +02:00