Commit Graph
100 Commits
Author SHA1 Message Date
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 7d27e52d7c Allow flint and steel fire in edit mode. 2013-07-30 13:48:04 +02:00
garbagemule a5fb96a880 Prevent task scheduling on disable. 2013-07-30 13:31:11 +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 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 d6fe6ade4c Add monster type: baby pigmen 2013-07-22 18:26:41 +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 de5f21ca1d Fix custom boss abilities not loading. 2013-07-17 15:19:17 +02:00
garbagemule b6b2ecc168 Fix auto-ready not working for class chests. 2013-07-17 15:15:48 +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 55bbd4ff85 Leave out 1.6 stuff until a stable release. 2013-07-03 14:00:03 +02:00
garbagemule 4a267f5ab5 Use item number for hay bales until 1.6 2013-07-03 13:57:28 +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
garbagemule 97e9bbc923 Fix default fixed waves. 2013-07-03 13:35:27 +02:00
garbagemule 0fdffedf85 Merge pull request #194 from acstache/bleeding
Keep track of which players picked which class

- Change MutableInt counters to String sets of player names
- Add getPlayersWithClass() method
2013-07-02 16:29:29 -07:00
garbagemule 22762bf521 Fix setup issue and remove region expansion
This commit consists of two components:
- Restarts are no longer required after setting up the first arena
- Regions no longer auto-expand

The restart requirement is fixed by preventing the ArenaMaster from
actually creating an Arena object and assigning it to the selected
arena upon generating the default arena node in the config-file. The
problem was that the selected arena was set to this initial Arena
object, but another Arena object was created afterwards, which due
to the equals() method of ArenaImpl overwrote the previously created
Arena object in the arenas-list, but didn't change the reference in
the selected arena. In other words; two identical Arena objects were
created, but used in different places (arena list vs. selected arena).

The auto-expansion is removed by simply never auto-expanding regions
upon setting the arena warp or spawnpoints. Instead, setting these
warps throws an error, if p1 and p2 have not yet been set, or if the
location is outside the region.
2013-07-01 19:29:38 +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 e8837edd2e Get rid of that echo. 2013-06-27 00:55:06 +02:00
garbagemule 62eebaa134 Cleanup. 2013-06-27 00:41:54 +02:00
garbagemule 243d0b00fb Add fixed setting for default waves. 2013-06-27 00:29:23 +02: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 e2bae68db1 Ability cleanup.
- All the core abilities have been moved into the project folders
  such that they no longer require any extraction. As such, all
  servers should have the abilities already installed and ready
  to use, regardless of setup-retardation.
- An attempt at fixing the "invisible bosses" issue; a call to
  removeBoss was replaced with getBoss - hopefully this fixes
  all the issues.
2013-06-25 01:53:45 +02:00
garbagemule 255908a7aa Update .gitignore 2013-06-25 00:38:06 +02:00
garbagemule 534ddbb6e9 Clean up build file. 2013-06-25 00:37:43 +02:00
garbagemule 5e42887049 Remember permissions in the plugin.yml file. 2013-06-24 22:53:32 +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 adb8ee1668 Add checkspawns command. 2013-06-24 22:10:07 +02:00
garbagemule 325b252696 Add showspawns command. 2013-06-24 21:44:18 +02:00
garbagemule 4d95b67cb1 Fix reload issues! Woooo! 2013-06-24 14:48:33 +02:00
garbagemule 3386ba3794 Use ChatColor in ScoreboardManager. 2013-06-24 11:15:52 +02:00
garbagemule 069394c9f5 Add per-arena setting: display-timer-as-level 2013-06-22 13:06:44 +02:00
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
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
Andreas Troelsen 3f3518ab5b Try to restore inventories on server join.
This should have absolutely no effect due to the implementation
of the restore method. If no file exists, nothing happens, but if
for some reason the inventory was never restored, it will be.
2013-01-25 23:12:50 +01:00
Andreas Troelsen 9d7fbf7247 Allow flat health values for bosses. 2013-01-21 03:56:47 +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 6833966c9a Break or die! 2013-01-18 02:12:01 +01:00