DeathDropPercent 图标

DeathDropPercent

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.4.1
本资源为搬运资源,原资源地址: https://modrinth.com/mod/death-drop-percent
资源信息

Minecraft 版本: 1.16.5 1.17 1.17.1 1.18 1.18.1 1.18.2 1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 1.20.5 1.20.6 1.21 1.21.1 1.21.2 1.21.3 1.21.4 1.21.5 1.21.6 1.21.7 1.21.8 1.21.9 1.21.10 1.21.11 26.1 26.1.1 26.1.2

平台: paper purpur spigot

标签: game-mechanics

资源介绍

DeathDropPercent is a plugin that changes the behavior of a player's death.
After death, a player drops only a certain percentage of his inventory slots. Slots are chosen randomly.

Example: if percentToDrop is set to 0.5 (which means 50%), the player will lose half of his inventory slots.

[NOTE] The percentToDrop can be edited in the config.yml file.

[CAUTION] If the keepInventory rule in the world is set to true, the plugin won't affect the player's inventory behavior after death.

? 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

  • deathdroppercent.admin - Allows to use /ddc command
  • deathdroppercent.drop - Is the player supposed to drop items on death? (true by default)

? Default config

# 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

☂ Getting started

[IMPORTANT] Before getting started, make sure that the plugin's version is compatible with your server version.

  1. Download the plugin from Releases tab or from Modrinth page.
  2. Put the downloaded .jar into /plugins folder of your server.
  3. Restart your server or enter reload command.
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
Sheol's Refinement

价格:0 墨喵币
下载量:0

查看详情
Default Hardcore Hearts

价格:0 墨喵币
下载量:0

查看详情
OverallsOC

价格:0 墨喵币
下载量:0

查看详情
ExoScanner

价格:0 墨喵币
下载量:0

查看详情