Teleport players back when under specific y level softdepend: ["Vault", "PlaceholderAPI"]
Features: Sound:
Configurable sound on fall (sound, volume, pitch)
Economy: (Requires vault.)
Take money from your players on fall
Take money based on a javascript formula (Default: deaths * 100)
Punishments:
Execute commands on fall
Execute commands when hit minimum balance
Send player to specific bungeecord server when hit minimum balance (Requires BungeeCord)
Placeholders: (Requires PlaceholderAPI)
Provide 2 placeholderAPI placeholders: %VoidPlugin_falls%, %VoidPlugin_moneylost%
Default config.yml:
Code (YAML):
# When p.getLocation().getBlockY() hits this level the player gets teleported back y-level-to-tp: 9
# < Bungeecord related settings > bungeecord: # If the module is enabled enabled: true
send: # Send players to server on fall on-fall:
enabled: false
server: "lobby" # Send players to server when they hit minimum balance limit on-limit:
enabled: false
server: "lobby" # < / Bungeecord related settings > # < Messages > messages: # When the player falls down and loses money money-taken: "&8&l[&7&l◆&8&l] &6&lLeestél &7➠ &fEz a &c%falls&f. leesésed! Egyenlegedről levonva &c%tookmoney&f coin. &8&o(&7&oössz: %klostmoneyk&8&o)" # When the player falls down and does not lose money not-taken: "&8&l[&7&l◆&8&l] &6&lLeestél &7➠ &fEz a &c%falls&f. leesésed!" # When the player hits balance limit balance-limit: "&8&l[&7&l◆&8&l] &6&lLeestél &7➠ &fElérted a minimum balance lehetőséget. Büntit kapsz (:" # < / Messages > # < Teleport > teleport:
on-fall:
enabled: true
# IF empty Gets auto filled on command (/voidplugin:voidtp setspawn fall) coordinates:
==: org.bukkit.Location
world: world
x: 0.5
y: 100.0
z: 0.5
pitch: 0.0
yaw: -90.0
on-limit:
enabled: true
# IF empty Gets auto filled on command (/voidplugin:voidtp setspawn limit) coordinates:
==: org.bukkit.Location
world: world
x: 0.5
y: 100.0
z: 0.5
pitch: 0.0
yaw: -90.0
# < / Teleport > #https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html # < Sound > sound:
on-fall:
enabled: true
sound: "entity.ocelot.death" pitch: 1
volume: 1
on-limit:
enabled: true
sound: "entity.cat.death" pitch: 1
volume: 1
# < / Sound > # < Economy: Requires Vault > economy:
take-money: true
ammount: 500
# Apply the formula and take that ammount instead of always 500 incremental:
enabled: true
formula: "100 * %d"# usable placeholders = %d = deaths, %tl = totalmoneylost minimum-balance: -20000
# Dont touch it if you dont know how DecimalFormat works klostmoney-format: "#.0" # < / Economy > # < Keepinv > keep-inv:
on-fall: true
on-limit: true
# < / Keepinv > # < Commands > commands: # Run commands when the player falls in the void on-fall: -
"say e" # Run commands when the player hits balance limit on-limit: -
"say e" # < / Commands > # < Perms > perms:
bypass: "vp.bypass" # Only when keepinv is off keepinv-fall: "vp.keepinv.fall" keepinv-limit: "vp.keepinv.limit" # Take the incremental ammount of money only from specific people incremental-use: "vp.incremental.use" # < / Perms >