-
-
Notifications
You must be signed in to change notification settings - Fork 4
Configuration
Moros edited this page Mar 24, 2024
·
3 revisions
Bending can be configured in bending.conf
.
It consists of 4 main sections:
Most changes are automatically refreshed ingame after you save the file. You only need to restart the game/server if you are changing disabled-worlds
, protection
or storage
options.
Note: Time/duration/cooldowns are measured in milliseconds.
In this section you can configure ability attributes such as damage, range, cooldown etc.
abilities {
air {
...
}
earth {
...
}
fire {
...
}
water {
...
}
}
This section holds global bending properties.
properties {
# Worlds are specified by their key, e.g. minecraft:overworld
disabled-worlds=[
disabledbendingworld
]
earth-revert-time=300000
explosion-knockback=0.8
explosion-revert-time=20000
fire-revert-time=10000
generate-light=true
ice-revert-time=10000
lazy-load=false
magma-modifier=1.4
max-presets=0
metal-modifier=1.25
moon-modifier=1.25
sun-modifier=1.25
}
In this section you can configure which protection plugins bending should respect.
protection {
GriefPrevention=true
LWC=true
Towny=true
WorldGuard=true
}
This section holds the connection info for the storage backend.
storage {
database=bending
# Available options:
# - Remote:
# > POSTGRESQL (preferred)
# > MARIADB
# > MYSQL
# - Local:
# > H2 (preferred)
# > HSQL
# > JSON
engine=H2
host=localhost
password=password
pool-settings {
connection-timeout=5000
keep-alive-time=0
max-lifetime=1800000
maximum-pool-size=6
minimum-idle=6
}
port=5432
username=bending
}