Commit Graph

202 Commits

Author SHA1 Message Date
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
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
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
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
0a2956fb81 Fix MagicSpells config loading issue. 2013-08-23 16:22:42 +02:00
garbagemule
f1afdd282a Get rid of obsolete arena settings. 2013-08-21 12:16:52 +02:00
garbagemule
b11b9d3eb1 Add a setting command. 2013-08-20 17:32:53 +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
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
8793bd6cef Backwards compatibility for leaderboard coords. 2013-08-16 03:27:54 +02:00
garbagemule
ef9fd267c1 Revamp the announcements system.
This commit transforms the announcements system in the following way:
- announcements.yml makes it easier to add missing nodes and remove
  obsolete ones. This way, users don't have to delete their previous
  announcements-file to get the new keys.
- Color codes are supported in the fact that when an announcement
  message is "set()", the string value has all of its &-symbols
  translated.
- No need for a defaults-file, because the enum is very easy to
  compile into a YAML file.
2013-08-15 17:55:21 +02:00
garbagemule
22723d883a Bye bye, Spout. 2013-08-15 15:12:37 +02:00
garbagemule
a3ab2203be Get rid of config adapter.
This change involves many classes because the adapter was relied upon
heavily throughout the project. The change is motivated by the fact
that the wrapper created more problems than it solved. Those problems
(listed here) are solved by this commit. Some classes have undergone
notable changes (e.g. ArenaRegion).

- The config-file will no longer overwrite and regenerate itself
  seemingly randomly.
- The config-file will now save correctly when setting points and
  expanding regions.
- The "no class items in lobby" problem has been fixed.
- The "must be inside region" problem has been fixed.
2013-08-15 14:37:10 +02:00
garbagemule
03c0ecc651 Up. 2013-08-15 03:46:02 +02:00
garbagemule
d73a0ed707 Fix "no class items on class selected".
The fix is simply a reload of the config-file after initially loading
the config-file. For some reason it works. No clue why >_>
2013-08-15 03:44:47 +02:00
garbagemule
0fa22589e3 Make sure we load AFTER Multiverse, just in case. 2013-08-14 22:22:45 +02:00
garbagemule
1673078df5 Add classchest command.
The classchest command can be used to link a chest to a class directly
(although still in the same world) without having to position them in
a specific pillar under the signs.
2013-08-13 14:54:34 +02:00
garbagemule
c282fe7000 Add baby zombie villagers 2013-08-10 16:38:44 +02:00
garbagemule
76330f06d3 Add unbreakable-weapons and unbreakable-armor. 2013-08-08 18:23:33 +02:00
garbagemule
345efc9136 ArenaCompleteEvent: s/winners/survivors 2013-08-08 17:58:19 +02:00
garbagemule
544fd91de9 Introduce "last player standing" to death event.
It is now possible to check if an arena player who died was the last
player alive in the arena. Useful for special rewards and stuff.
2013-08-08 06:09:07 +02:00
garbagemule
2b5291b593 Fix multi-arena join/spec interleaving issues.
- When a player attempts to join or spec an arena while they are
in an arena (arena or lobby), they will be denied access.
- When a player attempts to join or spec an arena while they are
spectating an arena, they will be force-left first.
2013-08-06 12:21:06 +02:00
garbagemule
48686aafcb Add support for minor economy values. 2013-08-03 04:16:31 +02:00
garbagemule
e6a0f30993 Add per-class lobby-permissions node. 2013-08-03 01:13:18 +02:00
garbagemule
dbe5f4d20f Add optional per-arena exit warp. 2013-08-01 16:13:24 +02:00
garbagemule
f43293a376 Attempt to fix multiworld inventory issues. 2013-07-30 23:37:03 +02:00
garbagemule
13948e7554 Add global first-join announce feature. 2013-07-30 23:04:49 +02:00
garbagemule
ea4031b0ed Add isolated chat option. 2013-07-30 22:07:57 +02:00
garbagemule
859baf7b71 Add global end announcement feature. 2013-07-28 14:21:40 +02:00
garbagemule
77899a4e7f Update plugin.yml towards next release. 2013-07-24 14:50:51 +02:00
garbagemule
9d4d704626 Version 0.95.5
- Add missing monster type: baby pigmen
- Fix class chest bones not spawning pets
- Make auto-start kick message customizable
2013-07-24 14:36:13 +02:00
garbagemule
5a3ff900fc Update plugin.yml towards next release. 2013-07-17 15:21:42 +02:00
garbagemule
053c686ec4 Version 0.95.4
- Fix auto-ready not working with class chests
- Fix custom boss abilities not loading
2013-07-17 15:20:34 +02:00
garbagemule
805096c777 Update plugin.yml towards next release. 2013-07-09 04:56:26 +02:00
garbagemule
6a246a9a77 Version 0.95.3
- Make the region setup more intuitive
- Fix the lobby region issue
- (Hopfully) fix the setup process
2013-07-09 04:53:51 +02:00
garbagemule
bd095dafd5 Change the way region setting works.
The region now contains two location references per region point for
the bounding boxes where p1, p2, l1 and l2 remain the same (min/max),
but also additional locations for the player's actual location, such
that e.g. moving back and re-setting a point has the more intuitive
behavior of expanding regardless of the optimized points.

This also (hopefully) finally fixes the previous issues with the setup
process *knock on wood*.
2013-07-09 04:37:19 +02:00
garbagemule
8027fa3d5f Update plugin.yml towards next release. 2013-07-05 15:08:40 +02:00
garbagemule
b650a0316d Version 0.95.2
Hotfixing region issues.
2013-07-05 15:07:22 +02:00
garbagemule
ed69606388 Fix the region setup bug.
Previously, the set() method would overwrite coordinates completely
without min/max'ing the values to preserve the invariant that p1 is
the lowest point and p2 the highest.
2013-07-05 14:59:09 +02:00
garbagemule
075531517e Update plugin.yml towards next release. 2013-07-03 14:19:15 +02:00
garbagemule
821f3d776c Update plugin.yml towards next release. 2013-06-27 01:08:40 +02:00
garbagemule
4af4c67baf Version 0.95 2013-06-27 01:07:48 +02:00
garbagemule
65c5ea05b3 Add per-arena setting to enable/disable scoreboards. 2013-06-27 00:05:14 +02:00
garbagemule
5e42887049 Remember permissions in the plugin.yml file. 2013-06-24 22:53:32 +02:00
garbagemule
069394c9f5 Add per-arena setting: display-timer-as-level 2013-06-22 13:06:44 +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
Sahir
73e6b269c4 Fixed grammar error. 2013-05-24 19:10:10 -03: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
914c26a02a Version 0.94.4.97 2013-05-02 16:00:47 +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
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
9cca20aa92 Add clear-wave-before-boss option. 2013-02-16 15:05:21 +01:00
Andreas Troelsen
523c345102 No more logging. 2013-02-03 19:09:47 +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
Andreas Troelsen
cf5149c3b9 Finally fix the flight issue.
Update to v0.94.4.95 for next build.
2013-01-19 02:06:43 +01:00
Andreas Troelsen
a710ff7c6c Update plugin.yml 2013-01-17 18:08:55 +01:00
Brian
27e1eae504 braaaaaaains... just kidding, but here are some more zombies 2013-01-09 22:11:47 -05:00
Brian
b012d9c0c0 Wolves are wolves, not players 2013-01-03 21:53:00 -05:00
Brian
1f03436f40 update boss health using new Entity Max Health API/fix health-multiplier values > 1 on default style waves 2013-01-03 21:32:21 -05:00
garbagemule
807e30be49 Add auto-start-timer feature. Minor cleanup. 2012-12-26 12:55:46 +01:00
garbagemule
5ed81f0a2a Add a couple of new tiny features.
- With pvp-enabled: true, PvP is activated at the first wave,
  giving players a period of time to spread out.
- The per-class config option, unbreakable-weapons: true-false, can
  be used to set whether weapons for a class should have infinite
  durability or not.
2012-12-22 13:36:49 +01:00
Brian
64c0b993aa update plugin.yml 2012-12-18 22:54:49 -05:00
garbagemule
80018504bc Fix dangling else in the listener, and no more NPEs for setclass command. 2012-09-14 20:16:37 +02:00
garbagemule
a94370deec Fixed the config-file reset bug. 2012-08-22 06:05:45 +02:00
garbagemule
6ade558eeb Fixed ClassLimitManager and split ArenaClass.getName() into
getConfigName() and getLowercaseName()
2012-07-30 18:00:37 +02:00
Brian
a93749225e v0.94.4.78 - listen for sign breaks, if it is a leaderboard sign, remove it from the config 2012-07-29 22:30:16 -04:00
Brian
4c4e06d3a8 v0.94.4.77 - More CLM stuff, Updated Deprecated spawnCreature [requires 1.2.5-R4.1] 2012-07-27 10:29:38 -04:00
Brian
1e42350aaf v0.94.4.75 - prep for deprecated spawnCreature method, more Class Limit work 2012-07-02 20:36:58 -04:00
Brian
33199aa05e v0.94.4.74 - more ClassLimitManager stuff, needs more work 2012-06-29 21:36:41 -04:00
Brian
cb06e2cb1e v0.94.4.73 - more Class Limit Manager work; testing begins 2012-06-07 21:13:15 -04:00
Brian
c6fada2bfd v0.94.4.72 - picking "random" class doesnt assign until the arena begins now 2012-06-07 19:39:08 -04:00
Brian
795edcb9ff v0.94.4.71 - allow joining arenas from spectator areas 2012-06-06 20:32:01 -04:00
Brian
b783f8ecbb v0.94.4.70 - Fix "random" class sign not working 2012-06-06 20:27:23 -04:00
Brian
906fe93d6a v0.94.4.69 - beginning of Class Limits feature [not working] 2012-06-06 20:20:11 -04:00
Brian
9f77f2f3de v0.94.4.68 - fixed not giving rewards to spectators when they leave 2012-05-24 00:33:10 -04:00
Brian
9de289333f fix plugin.yml 2012-05-23 21:38:16 -04:00
Brian
d856f32103 removeleaderboard command fixes, new Msg enum, plugin.yml 2012-05-13 13:58:59 -04:00
garbagemule
41258a1b02 Built against CB 1.2.4-R1.0 2012-03-30 02:50:19 +02:00
garbagemule
a058bce396 Boss abilities should no longer continue when bosses die due to untracked damage. Still waiting for Bukkit to add the missing damage handling. 2012-03-11 16:14:45 +01:00
garbagemule
da0f028106 Fixed serious spawn prevention issue. 2012-03-11 15:54:34 +01:00
garbagemule
f0e0419ebd Added null check for reward logging. 2012-03-11 13:41:30 +01:00
garbagemule
7ecc2c7a0d Fixed silly logging bug when leaving from the lobby. 2012-03-08 09:05:37 +01:00
garbagemule
61a2e3b319 Colorful sheep! 2012-03-08 03:00:31 +01:00