MonitoringMinecraft MonitoringMinecraft

RandomSlotDrop

Плагин BukkitFoliaPaper

Плагин для Майнкрафт: при смерти игрок теряет настраиваемый процент слотов инвентаря. Есть опция полного дропа в режиме наблюдателя.

71 скачивание 0 подписчиков
Оцените первым

RandomSlotDrop

RandomSlotDrop is a Minecraft plugin that allows players to keep a portion of their inventory upon death. It introduces a configurable chance for dropping only a certain percent of random inventory slots, giving players a better experience by reducing frustration from losing everything after death.

Plugin showcase

Functional overview

  • Configurable slot drops
    Only a specific percentage of inventory slots are randomly selected to drop upon player death. For example, suppose the dropSlotsPercent is set to 10%. Since players have a total of 41 inventory slots (36 general slots + 4 armor slots + off-hand slot), the plugin calculates 10% of 41, resulting in approximately 4 random slots chosen to drop items. If a player has items in only 10 of slots, then up to 4 slots might drop items or none at all if the randomly selected slots are empty.

  • Partial stack drops
    For each selected slot containing more than one item, the plugin will randomly choose a partial stack size to drop, within a configured range (from stackDropPercentMin% to stackDropPercentMax% of the stack). If you set both the min and max to 100, the entire stack will always drop.

  • Drop full inventory on spectator gamemode
    Optionally, if a player dies and is switched to spectator mode shortly afterward, their entire inventory will automatically drop (configured via spectatorFullDrop).


Plugin commands

Command Description
/rsd enable/disable Enable or disable the RandomSlotDrop plugin.
/rsd reload Reload config.yml to apply configuration changes.
/rsd status Show current plugin status (enabled/disabled).
/rsd set slots <0-100> Set percentage of inventory slots to drop.
/rsd set min <0-100> Set minimum stack drop percentage.
/rsd set max <0-100> Set maximum stack drop percentage.
/rsd set spectatorDrop <true/false> Enable/disable full inventory drop on spectator gamemode.

Configuration (plugins/RandomSlotDrop/config.yml)

# Enable or disable the plugin
enabled: true

# If set to true, the player's full inventory will drop when they die and their gamemode is Spectator.
spectatorFullDrop: true

# Percentage of inventory slots to randomly select for partial drop on death.
dropSlotsPercent: 25.0

# Minimum percentage of items in a selected slot to drop when its stack size > 1.
stackDropPercentMin: 20.0

# Maximum percentage of items in a selected slot to drop when its stack size > 1.
stackDropPercentMax: 80.0
Смотри также

Похожие подборки плагины — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
135 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
EVY-MC ЖДЕМ ИМЕННО ТЕБЯ
3 онлайн
1.21.1 — 1.21.11 версия
Уютное выживание с живой экономикой, голосовым чатом и 50 достижениями
BerryCraft
BerryCraft Java + BE
1 онлайн
1.21.8 — 26.2 версия
Пройди путь от хаоса анархии до работы на складе с заказами и карьерным ростом
Battle Mine
1 онлайн
1.21.4 — 26.2 версия
ОТКРЫТИЕ! 20 + различных ивентов, 10+ различных боссов, много интересных механник
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.21.8. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат