DefensiveTurrets | Defend Yourself using Turrets! [1.8-1.16]
3.14.6Mechanic in which users can place and upgrade Turrets to defend themselves against enemies
3.14.6latestFeb 10, 2021 -Added siege_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.3.14.5Dec 19, 2020 -Fixed compatibility issues with Towny allies. -Fixed compatibility with Citizens NPCs.3.14.4Nov 7, 2020 -Added compatibility for 1.16.4.3.14.3Sep 21, 2020 -Fixed console error in latest update.3.14.2Sep 20, 2020 -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.3.14.1Aug 25, 2020 -Added compatibility for 1.16.2. -Fixed API bug in TurretPlaceEvent event.3.13.2Jul 26, 2020 -Added Better Teams plugin compatibility. -Fixed some NullPointerExceptions on CMI Holograms.3.13.1Jun 28, 2020 -Added compatibility for 1.16. -Added compatibility for CMI Holograms. -Fixed Lands plugin integration. -Fixed death message by turrets.3.12.2Jun 24, 2020 -Fixed bug with Lands integration.3.12.1Jun 20, 2020 -Added defensiveturrets.infiniteammo permission to allow players having infinite ammo on turrets. -Added extra messages for the inventory of the Healing Turret. -Added whitelist_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.3.11.3May 22, 2020 -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.3.11.2Apr 30, 2020 -Added custom death message from turrets. -Fixed: Players in vanish will not receive damage from turrets anymore.3.11.1Apr 13, 2020 -Added: Turret blocks now will remain upgrades.3.10.2Mar 20, 2020 -Added default_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.3.10.1Mar 8, 2020 -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.3.9.3Mar 1, 2020 -Fixed spam log in console.3.9.2Mar 1, 2020 -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.3.9.1Feb 15, 2020 -Added compatibility for Clans plugin: https://www.spigotmc.org/resources/clans-clan-system-1-7-… -Added alias for command: /defensiveturrets3.8.1Jan 28, 2020 -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.3.7.1Jan 22, 2020 -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 enabled3.6.1Jan 13, 2020 -Added drop_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.3.5.1Dec 16, 2019 -Added new Turret: Healing Description: Slow speed turret that heals multiple allies. Format: - "Price;min_damage;max_damage;cooldown(in seconds);range(in blocks);max_targets" upgrades: - "0;2-4;6;5;2" - "800;3-5;5.5;6;3" - "2500;4-6;5;7;4" -Modified informationHologram message to: Code (Text): informationHologram: - "&8[&6%turret_name%&8]" - "&7Owner: &a%owner%" - "&7Level: &a%level%" - "%damage_type%: &a%min%&8-&a%max%" - "%error%"3.4.1Dec 12, 2019 -Added compatibility with 1.15.3.3.1Dec 3, 2019 -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.3.2.1Nov 28, 2019 -Added blacklisted_worlds option. -Fixed bug making items unbreakable when clicking on ammo inventory.3.1.1Nov 22, 2019 -Added turrets_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. -Added ignore_damage_to_invisible_players option. -Fixed: Players in creative and spectator mode will not be shot by turrets anymore.3.0.1Nov 3, 2019 -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.) Code (Text): informationHologram: - "&8[&6%turret_name%&8]" - "&7Owner: &a%owner%" - "&7Level: &a%level%" - "&7Damage: &a%min%&8-&a%max%" - "%error%" -Fixed bug in 1.13+ when turrets try to shoot in underground caves.2.3.3Oct 31, 2019 -Added defensiveturrets.admin.open permission to open other people's turrets. -Fixed error in 1.13+ versions when trying to add whitelisted players to a turret.2.3.2Oct 5, 2019 -Added walls_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.2.3.1Sep 15, 2019 -Added towny_ally_compatibility option. When enabled, towny allies will not be attacked by your turrets.2.2.1Aug 9, 2019 -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.2.1.2Jul 23, 2019 -Fixed bug when detecting targets in 1.8 versions. -Fixed error when not using Factions.2.1.1Jul 18, 2019 -Added support for SavageFactions -Fixed hologram y location in 1.14 versions. -Fixed bug when OP players remove turrets -Fixed target: Shulkers2.0.2Jul 4, 2019 -Fixed: Op players now can modify/destroy any turrets. -Fixed bug that was allowing turrets to shoot through Grass blocks. -Fixed hologram visibility bug.2.0.1Jun 21, 2019 -Added factions_ally_compatibility option. When enabled, faction allies will not be attacked by your turrets.1.4.2Jun 1, 2019 -Added permissions to enable/disable turret attack options. (defensiveturrets.options.attackmonsters, defensiveturrets.options.attackplayers, defensiveturrets.options.attackanimals) -Fixed holograms for 1.14+.1.4.1May 29, 2019 -Added defensiveturrets.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- versions1.3.1May 26, 2019 -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, Ghasts1.2.2May 22, 2019 -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 installed1.2.1May 21, 2019 -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.1.1.4May 12, 2019 -Added small API with 2 events. .SpoilerTarget">Spoiler: API 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 public void 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 public void turretKill (TurretKillEvent event ) { String owner = event. getOwnerName ( ) ; String turretName = event. getTurretName ( ) ; Entity killedEntity = event. getEntity ( ) ; }1.1.3May 12, 2019 -Fixed Siege Turret Projectile trajectory and hit. -Fixed impact sound of Siege Turret.1.1.2May 11, 2019 -Fixed bug in 1.13 when placing turrets. -Fixed bug in 1.13 with Laser Turret particle.1.1.1May 9, 2019 -Added Update System (Check when new version of the plugin is available) -Added per_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>)1.0.1May 8, 2019
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
26.2MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.9MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
4.7MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta