Commit Graph
356 Commits
Author SHA1 Message Date
garbagemule fe8a8ffa80 Fix the all-node for upgrade waves. 2013-06-22 12:06:13 +02:00
garbagemule 52599319c1 Attempt at fixing reload issues. 2013-06-22 12:02:45 +02:00
garbagemule 8294a4db95 Bye bye, jar! 2013-06-22 11:41:34 +02:00
Andreas Troelsen db953285c5 Add per-arena setting 'auto-ready'. 2013-06-10 10:43:03 +02:00
Andreas Troelsen ffe270511c Let Bukkit serialize (some) inventories...
Since ConfigurationSerializable, there's no need to manually serialize
items anymore, and thus we let Bukkit serialize player inventories for
when players join arenas.

However, the "repairables" in the soft-restore mechanism still use the
now obsolete SerializableItem and SerializableInventory classes, and
should perhaps be rewritten.

Note that for 1.0, it may still be necessary to write a custom means
of serializing items, since we don't know if a given implementation
supports native serialization (however it should be possible to rely
on Bukkit's in the Bukkit-specific classes).
2013-06-10 00:44:56 +02:00
Andreas Troelsen c23e01e1dd Update plugin.yml 2013-06-10 00:26:52 +02:00
Andreas Troelsen bd025ff7a6 Add reward-node to boss waves. 2013-06-10 00:25:53 +02:00
Andreas Troelsen 4bcb5c04ac Update ItemParser to (hopefully) support more items. 2013-06-10 00:22:21 +02:00
Andreas Troelsen 7ef98d4538 Remove unused getWave() method from Arena 2013-06-10 00:19:42 +02:00
Andreas Troelsen 0be1a7e4c9 TNT no longer hurts other players with PvP disabled. 2013-06-06 09:38:24 +02:00
garbagemule 1c45d45e91 Merge pull request #183 from afistofirony/patch-1
Fixed grammar error in announcements.properties
2013-05-24 15:12:54 -07:00
Sahir 73e6b269c4 Fixed grammar error. 2013-05-24 19:10:10 -03:00
Andreas Troelsen e8fbc6d2f7 Add locations to spawnpoint coverage warning. 2013-05-09 00:52:05 +02:00
Andreas Troelsen 0282655fbf Update plugin.yml towards next release. 2013-05-06 23:45:20 +02:00
Andreas Troelsen 4ee7ff938f Version 0.94.4.98 2013-05-06 23:44:37 +02:00
Andreas Troelsen 6fc59c9321 Fix CME when players 'cheat' 2013-05-06 23:40:41 +02:00
Andreas Troelsen 5104c975fd Fix player health conflicts. 2013-05-03 22:30:59 +02:00
Andreas Troelsen 914c26a02a Version 0.94.4.97 2013-05-02 16:00:47 +02:00
Andreas Troelsen 3fa63a1146 Only weapons should auto-repair. 2013-05-02 15:55:53 +02:00
Andreas Troelsen 1497a46a77 Make the scoreboard header a little smaller. 2013-05-02 15:41:46 +02:00
Andreas Troelsen 5757723028 Implement basic scoreboard support. 2013-04-09 19:39:48 +02:00
Andreas Troelsen 6d8ab98323 Scheduler stuff. 2013-04-09 14:07:54 +02:00
Andreas Troelsen 76633aeffe Fix potion bug with setclass command. 2013-04-08 02:03:41 +02:00
Andreas Troelsen b99097f625 Last spot in class chests is now reserved for helmets. 2013-04-04 18:08:46 +02:00
Andreas Troelsen 092a986887 Class chests can now be trapped chests. 2013-04-04 17:36:42 +02:00
Andreas Troelsen 0ea5c7a313 Make non-sign leaderboard-nodes non-fatal. 2013-04-04 05:04:25 +02:00
Andreas Troelsen 6663235a83 Fix enchanted apples getting 'repaired'. 2013-04-03 21:20:12 +02:00
Andreas Troelsen 51778587dc Update plugin.yml towards next release. 2013-04-03 21:19:29 +02:00
Andreas Troelsen 3224d749c7 Version 0.94.4.96 2013-03-27 14:11:14 +01:00
Andreas Troelsen 45f2605794 Don't repair potions and wool. 2013-03-27 14:09:10 +01:00
Andreas Troelsen 7977915aa1 Add boss name tags. 2013-03-22 22:22:52 +01:00
Andreas Troelsen fd8bfbf1f0 Fix NPE caused by weaponless damage. 2013-03-21 23:51:06 +01:00
Andreas Troelsen 4b970c6fce Use non-deprecated ItemStack constructor.
The SerializableItem class was previously using a constructor that
included a raw byte for data values. The current constructor takes
no byte argument and the data value must be set explicitly.

This fixes e.g. splash potions not restoring properly from arena
containers.
2013-03-21 23:47:48 +01:00
Andreas Troelsen f9a1e6e123 Remove unused boss damage method. 2013-03-21 23:33:26 +01:00
Andreas Troelsen 09d9605bb2 Make all MA weapons unbreakable (temporary). 2013-03-21 23:32:35 +01:00
Andreas Troelsen dd5924adc1 Remove wtf import o.O 2013-02-26 21:12:27 +01:00
Andreas Troelsen 024644ad8a Notify non-ready players on force start. 2013-02-26 21:09:47 +01:00
Andreas Troelsen ef3b1b42cc Add per-arena option: display-waves-as-level
If true, this option will cause wave numbers to be displayed as the
players' level to aid in wave tracking. It does NOT replace the
announcements, which can still be disabled by putting blank values
in the announcements-file.
2013-02-26 20:12:58 +01:00
Andreas Troelsen 68d0c51492 Update plugin.yml towards next release. 2013-02-26 20:12:00 +01:00
Andreas Troelsen f9da8872dd Add more auto-start timer announcements. 2013-02-17 04:19:22 +01:00
Andreas Troelsen 9cca20aa92 Add clear-wave-before-boss option. 2013-02-16 15:05:21 +01:00
Andreas Troelsen 7e1b2c2b9f (Possibly) fix invisible bosses.
Unsurprisingly, MobArena's monster handling is sub-optimal, possibly
due to premature optimization. Before, when e.g. a Creeper boss would
explode, it would not be removed from the bosses collection, and thus
the ability thread would continue on running.

This patch adds a tiny bit of overhead w.r.t. removing dead monsters,
but it fixes the issue with Creeper bosses, and with a bit of luck,
mcMMO will not cause issues anymore (yet to be tested).
2013-02-16 14:51:02 +01:00
Andreas Troelsen cc1187b7f6 Rewrite version checker. 2013-02-15 22:41:59 +01:00
Andreas Troelsen 523c345102 No more logging. 2013-02-03 19:09:47 +01:00
Andreas Troelsen a4e39562f6 Add support for enchanted books.
Thanks, slipcor!
2013-02-03 16:47:40 +01:00
Andreas Troelsen 97ecc97fd4 Fix possible NPEs. 2013-01-28 22:51:52 +01:00
Andreas Troelsen ad8a99acda Swap order for vertical layouts. 2013-01-26 04:11:52 +01:00
Andreas Troelsen 646a31da73 Fix possible NPE. 2013-01-26 03:47:07 +01:00
Andreas Troelsen fa28964d51 Make the chest search happen per-pillar.
This allows for a sneaky little trick, where two lines class signs
becomes possible, if one chest is offset backwards, and the other
chest is positioned at the very bottom block.
2013-01-26 03:37:49 +01:00
Andreas Troelsen 2de480709d Add support for class item chests.
This is an extremely ugly, hacky way to do it, but the feature
should definitely make it into 1.0 - it requires no commands or
any other complex setting up besides flipping one option in the
config-file.

Upon clicking a class sign in the lobby, MobArena will (if the
config-setting is true) search for chests below the sign, and
below (and including) the block behind the sign, i.e. the block
that a wall sign would be attached to. If a chest is found, the
contents will become the class inventory.

The search can be optimized to be a one-off thing unless the
block changes from being a chest. A todo for 1.0, perhaps.
2013-01-25 23:27:32 +01:00