Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrquackduck/deathdroppercent
Minecraft Spigot plugin (1.16.5 - 1.20.1) that enables a player to lose only a certain percentage of his inventory items on death.
https://github.com/mrquackduck/deathdroppercent
entertainment java minecraft-plugin spigot
Last synced: about 2 months ago
JSON representation
Minecraft Spigot plugin (1.16.5 - 1.20.1) that enables a player to lose only a certain percentage of his inventory items on death.
- Host: GitHub
- URL: https://github.com/mrquackduck/deathdroppercent
- Owner: MrQuackDuck
- Created: 2024-01-27T16:01:50.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-09T15:20:45.000Z (11 months ago)
- Last Synced: 2024-11-05T20:17:17.263Z (3 months ago)
- Topics: entertainment, java, minecraft-plugin, spigot
- Language: Java
- Homepage: https://www.spigotmc.org/resources/deathdroppercent.114763/
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
DeathDropPercent
DeathDropPercent is a Spigot 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 **supposted** to drop items on death? (**true** by default)## 📄 Default config
```yml
# 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 Spigot page.
1. Put downloaded `.jar` into `/plugins` folder of your server.
1. Restart your server or enter `reload` command.