Added split accuracy option.
Added health system for towers along with more configuration options.
Added permission 'defencetowers.seeblockedhealth'. When looking at a tower, the player is sent an action bar message containing the towers health.
Added messages.yml, containing most messages sent to users, more may be added. Auto-Updating...
Altered towers aiming at a distance.
Fixed tail always showing.
Fixed towers hitbox.
Added 2 more target types, STRONGEST, WEAKEST
STRONGEST will attack the entity that does the most damage,
WEAKEST will attack the entity that does the least damage.
Added new tower config options, Splits, Split amount, Bounce Boost, Hit Types.
Added HitTypes - These will affect what happens when a projectile hits something.
BREAK - projectiles will be removed.
SPLIT - projectiles will split into multiple projectiles before being removed.
BOUNCE - projectiles will bounce multiple times before being removed.
Changes:
Tower Configuration overhaul. Unfortunatly this means previous version towers will no longer work and have to be remade.
Tower configuration now auto-updates, missing options will be set to default values.
Towers can have different items as ammunition.
NOTE: New config options have been added to tower files. This means older towers will not work, unless you must add the missing options. Generate a new Example Tower.yml and make sure your old towers have the same options.
CHANGES
- Players cannot open a tower if the tower does not contain their UUID in its blacklist, unless the player has the 'defencetowers.bypassblacklist' permission
- Controllable Towers added. Opening a towers inventory will display a saddle (if the player has the permission 'defencetowers.ride') that once clicked, will put the player on top and in control of the tower. Punch to shoot
- Clicking on a tower with arrows in your hand will add them to the tower.
- Towers now only shoot at players in survival mode
- Towers aim higher the further their target is (experimental)
- Added bouncy bullets
- Bullet speed was not set correctly
- and other bug fixes I forgot about
Permissions:
Added:
defencetowers.bypassblacklist - if a player is not blacklisted in a tower, but has this permission, they can still open the tower GUI
defencetowers.ride - Players with this permission will be able to ride and control towers
defencetowers.addblockedarrows - Players with this permission will be able to add arrows to any tower via clicking with arrows in hand