Defense Towers icon

Defense Towers -----

Defense Towers!



DefenseTower Plugin
Automated Player-Built Defense Towers for Your Server
Create, upgrade, and defend your world with configurable magic, arrow, and fire towers!



[​IMG]


⚙️ Features

  • Tower Types: Arrow, Magic, and Fire — each with unique attack styles.
  • Configurable Stats: Set base range, damage, and fire rates for every tower type.
  • Upgradeable Towers: Players can spend money to improve damage, range, and speed.
  • Automatic Leveling: Towers gain XP and level up automatically after killing mobs (10 → 100 → 1000...).
  • Visual Display: Towers appear as glowing orbs above Sculk Sensors.
  • Economy Integration: Uses Vault for creation and upgrade costs.
  • Persistent Data: Towers are saved automatically in towers.yml.
  • Block Protection: Prevents players from breaking tower bases directly.
  • Configurable Tick Rate: Adjust how often towers scan and fire.
  • Owner System: Only the creator can open or upgrade their tower.
  • In-Game GUI: Right-click your tower to manage and upgrade stats.

[hr][/hr]
Commands

Command Description
Code (Text):
/tower create [type]
Create a new tower at your location. (Default: ARROW)
Code (Text):
/tower list
List all towers you own, including coordinates and level.
Code (Text):
/tower remove
Remove the nearest tower you own within 10 blocks.



Permissions

Permission Default Description
Code (Text):
defensetower.use
true Allows players to use basic tower commands.
Code (Text):
defensetower.create
true Allows players to create towers with
Code (Text):
/tower create
.
Code (Text):
defensetower.remove
true Allows players to remove their own towers.
Code (Text):
defensetower.admin
op Allows managing or removing all towers.



Configuration

Code (YAML):

# =========================================================
#  Defense Tower Plugin Configuration
# =========================================================

towers
:
  arrow
:
    range
: 15.0
    fire_rate
: 1.5
    arrow_speed
: 1.6
    arrow_spread
: 12.0
    damage
: 3.0
    cost
: 200.0

  magic
:
    range
: 18.0
    fire_rate
: 2.0
    damage
: 4.0
    cost
: 400.0

  fire
:
    range
: 20.0
    fire_rate
: 2.5
    damage
: 5.0
    cost
: 600.0

levels
:
  1
:
    range_multiplier
: 1.0
    damage_multiplier
: 1.0
    fire_rate_multiplier
: 1.0
  2
:
    range_multiplier
: 1.1
    damage_multiplier
: 1.25
    fire_rate_multiplier
: 1.15
  3
:
    range_multiplier
: 1.25
    damage_multiplier
: 1.5
    fire_rate_multiplier
: 1.3

upgrade_costs
:
  speed
: 250.0
  range
: 250.0
  damage
: 400.0

effects
:
  particles
: true
  particle_type
: ENCHANT
  shoot_particle
: CRIT
  summon_particle
: END_ROD
  hit_particle
: LARGE_SMOKE
  shoot_sound
: ENTITY_BLAZE_SHOOT
  summon_sound
: BLOCK_BEACON_ACTIVATE
  remove_sound
: ENTITY_GENERIC_EXPLODE

tick_interval
: 20
 


How It Works

  1. Players create towers with
    Code (Text):
    /tower create
    .
  2. A Sculk Sensor appears as the tower base, with a floating orb on top.
  3. The tower scans for nearby mobs and fires automatically.
  4. Each kill contributes toward leveling up — exponentially increasing power.
  5. Players can right-click their tower to open the upgrade GUI and spend money to enhance it further.

[hr][/hr]
Data Storage

  • All towers are stored in plugins/DefenseTower/towers.yml.
  • Each entry includes:
    - Owner UUID
    - Tower type
    - Location
    - Level
    - Kill count
    - Upgrade multipliers
  • Data auto-saves and reloads on restart.


Developer Notes

  • Fully compatible with Paper/Spigot 1.20+

➡️ Build, Upgrade, and Defend — With DefenseTower!
Resource Information
Author:
----------
Total Downloads: 3
First Release: Nov 13, 2025
Last Update: Nov 13, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings