Commit Graph
75 Commits
Author SHA1 Message Date
garbagemule 066341ba30 Replace the old AutoStartTimer with the new one. 2014-02-25 03:41:32 +01:00
garbagemule 619f07f11b Add per-class option 'price'. 2014-01-25 15:42:38 +01:00
garbagemule 6d93dfa660 Fix entry-fee issue. 2014-01-20 02:59:03 +01:00
garbagemule 5ff41d20fe Use Material instead of item ID. 2013-11-28 02:12:51 +01:00
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 56a616ee76 Implement mounts. 2013-10-07 02:05:59 +02:00
garbagemule 42d656863f Attempt to fix auto-start-timer issues. 2013-09-20 23:25:38 +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 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 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 a87831a12f Set world-node when world changes. 2013-08-15 03:40:58 +02:00
garbagemule a5fea824b7 Tossing IntelliJ a bone. 2013-08-10 16:57:24 +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 e3381e895d Some null checks for pet spawner. 2013-08-07 02:00:17 +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 9230f823fb More task scheduling. Fixes #199 2013-07-30 21:57:36 +02:00
garbagemule 859baf7b71 Add global end announcement feature. 2013-07-28 14:21:40 +02:00
garbagemule d926d99298 Make auto-start kick message customizable. 2013-07-24 14:29:31 +02:00
garbagemule b643cce511 Fix class chest bones not giving pets. 2013-07-22 19:10:11 +02:00
garbagemule b6b2ecc168 Fix auto-ready not working for class chests. 2013-07-17 15:15:48 +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 55bbd4ff85 Leave out 1.6 stuff until a stable release. 2013-07-03 14:00:03 +02:00
garbagemule 9b236587da Merge branch 'bleeding' of github.com:garbagemule/MobArena into bleeding 2013-07-03 13:36:48 +02:00
garbagemule 0a6a49410d Some 1.6 updates... 2013-07-03 13:36:41 +02:00
acstache 07637d087a update ClassLimitManager to provide a set of names of Players who have picked the provided ArenaClass. This will allow manipulating players of just a certain class more easily than before. One possibility is (mind you this is NOT implemented) adding potion effects to a class 2013-07-01 23:51:26 -04:00
garbagemule 65c5ea05b3 Add per-arena setting to enable/disable scoreboards. 2013-06-27 00:05:14 +02:00
garbagemule 97c54855d4 Attempt to fix some XP issues. 2013-06-25 01:58:28 +02:00
garbagemule 1320c34f67 Major revamp of Upgrade Waves.
Using a node setup similar to that of the classes-section, it is
now possible to make complex Upgrade Waves that update weapons
and armor on-the-fly. This also means 'permissions' upgrades.
2013-06-24 22:24:01 +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 7ef98d4538 Remove unused getWave() method from Arena 2013-06-10 00:19:42 +02:00
Andreas Troelsen 5104c975fd Fix player health conflicts. 2013-05-03 22:30:59 +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 b99097f625 Last spot in class chests is now reserved for helmets. 2013-04-04 18:08:46 +02: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 523c345102 No more logging. 2013-02-03 19:09:47 +01:00
Andreas Troelsen 646a31da73 Fix possible NPE. 2013-01-26 03:47:07 +01:00