MonitoringMinecraft MonitoringMinecraft

SpawnerChance

Плагин PaperPurpur

Плагин для Майнкрафт — даёт игрокам шанс получить спавнер в качестве дропа через систему прав.

116 скачиваний 1 подписчик
Оцените первым

SpawnerChance

A plugin for managing spawners with three main features:

  1. Chance of a spawner dropping when broken (via permissions)
  2. Granting a temporary drop chance to a player (via command)
  3. Restricting which mobs can be placed in spawners (via config)

Optional Dependencies:

Features

🎯 Spawner Drop Chance

  • Configurable chance for a spawner to drop when broken
  • Preserves mob type and all spawner settings
  • Permissions system for different drop chances: spawner.dropchance.
  • Informative messages for players

🎯 Temporary Spawner Drop Chance

  • Requires LuckPerms for this feature
  • Command /spawnerchance tempchance <player> <chance> grants a player a temporary drop chance when breaking a spawner
  • Duration (in minutes) for the temporary drop chance is set in temp-chance-duration in the config
  • Cleanup interval (in seconds) for expired temporary permissions is set in cleanup-interval

🚫 Mob Restrictions for Spawners (via spawn eggs)

  • Whitelist of allowed mobs is set in the config: allowed-spawner-mobs: []
  • Prevents placing forbidden mobs in spawners
  • Admins can bypass restrictions
  • Mob names in messages can be localized

Configuration

# format: language_COUNTRY
# changing this will load default material names for the server
language: en_US

# Duration (in minutes) for temporary drop chance
temp-chance-duration: 15
# Interval (in seconds) to clean up expired temporary permissions
cleanup-interval: 10

# Main plugin messages
messages:
  # Spawner drop messages
  empty-spawner-name: "<gray>Empty"
  drop-success: "<green>Luck! {spawner} dropped ({chance}%)"
  drop-failure: "<red>Spawner did not drop ({chance}%)"
...

# List of allowed mobs for spawners (add only mobs that can be placed in spawners)
# Leave empty to allow all mobs
allowed-spawner-mobs: []
#  - BLAZE
#  - PIGLIN
#  - COW

Placeholders

'%spawnerchance_chance%' - shows the current chance of spawner failure.

Permissions

Spawner Drop Chances:

  • spawner.dropchance.<number> - drop chance in percent
    • Example: spawner.dropchance.50 - 50% chance
    • The highest available chance for the player is used

Bypass Restrictions:

  • spawner.bypass - allows placing any mobs in spawners

Command Access:

  • spawner.command.use - allows using plugin commands

Usage Examples

Spawner Drop:

⚔️ Player breaks a Zombie Spawner
🎯 Check drop chance (e.g., 30%)
✅ On success: "Luck! Zombie Spawner dropped (30%)"
❌ On failure: "Spawner did not drop (30%)"

Mob Restrictions:

🔧 Player tries to use a Villager egg on a spawner
🚫 If mob is not whitelisted: "Error: Villager Egg cannot be placed in a spawner!"
✅ If mob is allowed: "You placed a spawner for: Zombie"

Features

  • Data Preservation: Dropped spawners retain all original settings
  • Localization Friendly: All messages and mob names support any language
  • Flexible Configuration: Easily add or remove mobs from the whitelist

Installation

  1. Download the latest release
  2. Place it in the /plugins folder
  3. Restart the server
  4. Configure config.yml if needed and run /spawnerchance reload
Смотри также

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

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

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

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