DeathDropPercent
SpigotMCdrops only a certain percentage of inventory after death
907 завантажень 5.0 рейтинг
остання v1.4.1 SpigotMC
Minecraft
plugin that enables a player
to lose only a
certain percentage of his inventory items
after death (including armor and the second-hand slot). The items are chosen randomly.
Commands:
- /ddc info — shows the
current state of the plugin and the current
percentage of items to drop after death.
- /ddc enable — enables the plugin.
- /ddc disable — disables the plugin.
- /ddc reload — reloads the config.
Permissions
- /ddc enable — enables the plugin.
- /ddc disable — disables the plugin.
- /ddc reload — reloads the config.
- deathdroppercent.admin - Allows to use /ddc command
- deathdroppercent.drop - Is the player supposted to drop items on death? ( true by default)
Default config:
- deathdroppercent.drop - Is the player supposted to drop items on death? ( true by default)
Code (YAML):
# When set to false, server will have default death behaviour
isEnabled : true
# Default percentage of inventory to drop on death (from 0.0 to 1.0)
# Inventory has 41 slots in total, including armor and second hand
percentToDrop : 0.5
# Overridden percentages for certain permissions
# IMPORTANT: If you want to enable custom percents for certain permissions,
# don't also forget to add these permissions to groups/players
# like that: deathdroppercent.custom.vip (and don't forget to uncomment the code below)
customPercents :
# 'vip': 0.4
# 'mvp': 0.2
isEnabled : true
# Default percentage of inventory to drop on death (from 0.0 to 1.0)
# Inventory has 41 slots in total, including armor and second hand
percentToDrop : 0.5
# Overridden percentages for certain permissions
# IMPORTANT: If you want to enable custom percents for certain permissions,
# don't also forget to add these permissions to groups/players
# like that: deathdroppercent.custom.vip (and don't forget to uncomment the code below)
customPercents :
# 'vip': 0.4
# 'mvp': 0.2
percentToDrop can be set in a range from 0.0 to 1.0, where 0.0 is 0% and 1.0 is 100%. By default, its value is set to 0.5 (50%).
Коментарі 0
Поки немає коментарів. Будь першим, хто поділиться думкою.