Configuration
The configuration file for Nexal Towers. Located at plugins/Nexal Towers/config.yml.
# Configuration for Nexal Towers
# Most of these can be changed in game with /towers admin > Configuration.
# ──────────────────────────────────────────────────────────
# STORAGE
# ──────────────────────────────────────────────────────────
# json: towers are kept in plugins/NexalTowers/data.json
# sql: towers are kept in a MySQL/MariaDB table (towers_placed)
# To move to SQL: /towers admin export, set type to sql, restart, /towers admin import.
storage:
type: json
sql:
host: localhost
port: 3306
database: minecraft
username: root
password: ""
# ──────────────────────────────────────────────────────────
# TOWER SETTINGS
# ──────────────────────────────────────────────────────────
towers:
# Maximum number of towers per player (0 = unlimited).
# Players with nexaltowers.bypass.limit are not limited.
max_per_player: 0
# Minutes between saves of ammo use and statistics. Purchases, deposits,
# withdrawals, placing and breaking are saved at once.
auto_save_interval: 5
# Whether offensive towers (Arrow, Tesla, Laser, Slow) also attack their owner
damage_owner: false
# Whether towers keep working while their owner is offline
work_while_owner_offline: true
# ──────────────────────────────────────────────────────────
# AMMO
# ──────────────────────────────────────────────────────────
# When requires_ammo is true, the tower uses up its ammo to work.
# When false, it works without any.
ammo:
arrow:
requires_ammo: true
tesla:
requires_ammo: true
laser:
requires_ammo: true
slow:
requires_ammo: true
regen:
requires_ammo: true
food:
requires_ammo: true
crop:
requires_ammo: false
# ─────────────────────────────────────────── ───────────────
# RANGES
# ──────────────────────────────────────────────────────────
# How far each tower reaches, in blocks.
ranges:
arrow: 20
tesla: 20
laser: 25
slow: 15
regen: 15
food: 15
alert: 25
crop: 10
collector: 10
xp: 15
# ──────────────────────────────────────────────────────────
# UPGRADE PRICES
# ──────────────────────────────────────────────────────────
# Paid with Vault money. 0 makes an upgrade free.
upgrades:
arrow:
fire_rate: 1000
flaming_arrows: 2000
homing_arrows: 3000
tesla:
chain_count: 1500
damage_boost: 2500
laser:
target_count: 2000
piercing: 3000
slow:
effect_duration: 1000
weakness: 2000
regen:
heal_boost: 1500
cleanse: 2500
food:
feed_boost: 1000
saturation_boost: 2000
alert:
health_scanner: 1500
gear_scanner: 2500
visual_tracker: 3500
crop:
harvest_speed: 1000
auto_bone_meal: 2000
collector:
pickup_speed: 1500
auto_sort: 3000
xp:
xp_multiplier: 2000
mending_aura: 4000
# ──────────────────────────────────────────────────────────
# ECONOMY
# ──────────────────────────────────────── ──────────────────
# How prices are shown. %amount% is the number formatted with number-format.
economy:
price-format: "$%amount%"
number-format: "#,##0.00"
# Show 1,000 instead of 1,000.00 for whole amounts
hide-zero-decimals: true
Configuration Options
Below is a reference of the main configuration sections:
storage
Configuration for Nexal Towers Most of these can be changed in game with /towers admin > Configuration.
────────────────────────────────────────────────────────── STORAGE ────────────────────────────────────────────────────────── json: towers are kept in plugins/NexalTowers/data.json sql: towers are kept in a MySQL/MariaDB table (towers_placed) To move to SQL: /towers admin export, set type to sql, restart, /towers admin import.
towers
────────────────────────────────────────────────────────── TOWER SETTINGS ──────────────────────────────────────────────────────────
ammo
────────────────────────────────────────────────────────── AMMO ────────────────────────────────────────────────────────── When requires_ammo is true, the tower uses up its ammo to work. When false, it works without any.
ranges
────────────────────────────────────────────────────────── RANGES ────────────────────────────────────────────────────────── How far each tower reaches, in blocks.
upgrades
────────────────────────────────────────────────────────── UPGRADE PRICES ────────────────────────────────────────────────────────── Paid with Vault money. 0 makes an upgrade free.
economy
───────────────────────────────────── ───────────────────── ECONOMY ────────────────────────────────────────────────────────── How prices are shown. %amount% is the number formatted with number-format.