-Addedsiege_turret_destroy_blocks option. If enabled, siege turrets will destroy ALL blocks with the explosion.
-Fixed issue with some chat formatting plugins when adding users to turret whitelist.
-Fixed some warning errors on console.
-Fixed: Tamed animals will be not targeted anymore by the owner's turret.
-Fixed issue with disabled turrets becoming enabled again when starting the server.
-Fixed: Turrets inventory will be closed now when turret is destroyed.
-Addeddefensiveturrets.infiniteammo permission to allow players having infinite ammo on turrets.
-Added extra messages for the inventory of the Healing Turret.
-Addedwhitelist_ignore_case option when adding players to the turret whitelist.
-Fixed duplication bug when placing turrets with left hand.
-Fixed bug regarding water destroying turrets.
-Fixed Lands plugin integration issue.
-Fixed possible bug with FactionsUUID.
-Fixed targeting of Villagers.
-Added Lands plugin compatibility.
-Modified: All compatibility options (Regarding factions,towny,clans) were changed to
ally_protection option.
-Fixed piston exploit to destroy turrets.
-Fixed death message when player is damaged by other reason.
-Fixed turret DamageCause bug.
-Addeddefault_turret_options option.
-Added: Blocks of turrets could now be a head with texture. More info on the post.
-Fixed interaction with turrets and anvils.
-Added Infinite Ammo option for OP players in the Ammunition Inventory of the Turret.
-Fixed possible bug with protection plugins when placing a Turret.
-Fixed errors in console when turrets are placed on a deleted world.
-Fixed incompatibility issues because of Vault not being sofdepend.
-Added shoot_through_liquids option. If enabled, turrets will be able to shoot through water and lava.
-Fixed turret heads being destroyed by water.
-Fixed bats targeting.
-Added: Turret Design is now configurable. You can modify the 2 blocks and the head of the turret.
-Added material auto check for 1.13- versions.
-Fixed performance issue when checking for turrets to destroy.
-Added/dt removeturrets <world/player/all> <value> command, to remove placed turrets.
-Fixed: Turrets will now drop ammo when destroyed.
-Fixed: When removing a turret manually, ammo will be received too if
receive_turret_on_destroy option is enabled
-Addeddrop_turret_on_destroy option. When this is enabled, turrets will drop a turret block when being destroyed (like from explosions, or worldedit)
-Fixed bug when placing turret beneath blocks (or chests).
-Fixed console error when clicking on ammunition inventory.
-Added receive_turret_on_destroy option. If this option is enabled, players will receive the Turret block when destroying it. Doesn't keep the upgrades. -Added compatibility for FactionsUUID.
-Addedturrets_global_check_time option to fix and remove turrets which were destroyed by external sources, like WorldEdit. You can define the time of this periodical check in the config.
-Addedignore_damage_to_invisible_players option.
-Fixed: Players in creative and spectator mode will not be shot by turrets anymore.
-Added Ammunition for Turrets option.
-Added/dt giveammo <turret> <jugador> <amount> command to give Ammunition to players.
-Added activation button for Turrets. You can enable or disable one of your turrets whenever you want. This will be needed to add ammo to your turret.
-Modified the informationHologram message (Added %error% variable. This line will appear in the hologram when some error is detected in your turret.)
-Addeddefensiveturrets.admin.open permission to open other people's turrets.
-Fixed error in 1.13+ versions when trying to add whitelisted players to a turret.
-Addedwalls_better_check option. When enabled, more blocks will be checked to determine if there are obstacles between an entity and the turret. The performance could decrease a little bit.
-Fixed holograms in 1.14.X.
-Fixed Laser Turret when power is set to 0.
-Added Player Inventory for each Turret: Here you can define a list of whitelisted players which the turret should not attack.
-Fixed compatibility bug with different Factions versions.
-Fixed factions check with Siege Turret.
-Fixed: Op players now can modify/destroy any turrets.
-Fixed bug that was allowing turrets to shoot through Grass blocks.
-Fixed hologram visibility bug.
-Addeddefensiveturrets.limit.X permission and
turret_limit_permissions option in the config.
When enabled, you can limit the amount of turret that players can place. For example, groups with the permission
defensiveturrets.limit.5 will be able to place a maximum of 5 turrets. If a group doesn't have a limit permission the default limit will be used.
-Fixed ID errors with 1.12- versions
-Added option
protect_turrets_from_explosions in the config. If is set to false, turrets will be destroyed and removed from the config when exploding.
-Fixed placement of turrets in protected areas.
-Fixed some targets: Slimes, Magma Cubes, Phantoms, Ghasts
-Added multiple warning messages to check if an item ID/name is wrong or not.
-Fixed bug when looking at Turrets in 1.14
-Fixed some minor bugs related to HolographicDisplays when not having it installed
-Added:Turrets can now attack players and animals. -Added new inventory menu where players can change target options for each of their turrets. -Fixed some inventory interaction issues.
For this to work you need to add my plugin to your plugin external jars dependencies and to set softdepends:
DefensiveTurrets on your plugin.yml file
Code (Java):
//Event called when player places a Turret Block @EventHandler
publicvoid placeTurret
(TurretPlaceEvent event
){ Player player
= event.
getPlayer(); String turretName
= event.
getTurretName(); Location turretLocation
= event.
getLocation(); }
Code (Java):
//Event called when a Turret kills an entity @EventHandler
publicvoid turretKill
(TurretKillEvent event
){ String owner
= event.
getOwnerName(); String turretName
= event.
getTurretName(); Entity killedEntity
= event.
getEntity(); }
-Added Update System (Check when new version of the plugin is available)
-Addedper_turret_permission option in the config. If this option is enabled, you have to add the corresponding permission of turrets to players. (defensiveturrets.use.<turret_name>)