Compatibility
Minecraft: Java Edition
Platforms
Tags
Creators
Details
What it does
A donor item with charges that works like a tiny roulette wheel. Right click spends a charge and fires one of ten effect sets. Which one is up to chance: the player doesn't choose anything, just clicks and sees what comes out.
10 sets out of the box
What can roll
- Blindness for 30 seconds on every living thing within 100 blocks
- Heavy hunger on the nearest player for 60 seconds
- Levitation for 30 seconds on everyone within 100 blocks
- The nearest player gets launched 100 blocks up
- Resistance plus a charged TNT under the nearest player (looks scary, almost harmless)
- The nearest player gets teleported
- A zombie next to every player within 1000 blocks
- A Wither next to a random player, gone after 60 seconds
- Level IV buffs together with Weakness on the nearest player
- Strength, Poison and Blindness on the nearest player, Slowness on everyone within 20 blocks
Sets 4, 6, 7 and 8 can kill, the rest just make life harder. Every set, its weight (chance), its chat line and its command list are editable, so you can build your own.
How it works
- Commands run from console but in the player's context: "nearest", "everyone" and relative coordinates are counted around the player
- Weighted random pick: each set has its own weight, out of the box they're equal (1 in 10)
- Owner protection: a 2-block minimum distance is added to player selectors automatically, so the staff doesn't hit its owner unless a set is meant to
- Charges show in the item lore and on the action bar. A charge isn't spent if the set failed to run
- World blacklist
- The staff is recognised by a hidden tag, so changing its material in the config doesn't break staffs already handed out
- Out of charges: only one staff breaks, the rest of the stack keeps its own counter
Commands and permissions
/cstaff give <player> [charges]: give the staff (alias /commandstaff)/cstaff reload: reload the configcommandstaff.admin: access to the commands (op)
Installation
- Drop CloudCommandStaff-1.0.0.jar into plugins and restart the server
- Look through the sets in plugins/CloudCommandStaff/config.yml and remove the ones that don't suit your game mode
- Hand the staff out with /cstaff give
Good to know
- Paper, Spigot or Purpur 1.16.5 and newer
- No required dependencies. Optional: WorldGuard
- Default in-game messages are in Russian. Every line is in config.yml and can be translated
На русском
Что это
Донат-предмет с зарядами, устроенный как маленькая рулетка. Правый клик тратит заряд и запускает один из десяти наборов команд-эффектов. Какой именно, решает случай. Игрок ничего не выбирает, только жмёт и смотрит, что выпало.
10 наборов из коробки
Что может выпасть
- Слепота на 30 секунд у всего живого в радиусе 100 блоков
- Сильный голод у ближайшего игрока на 60 секунд
- Левитация на 30 секунд у всех в радиусе 100 блоков
- Ближайшего игрока подкидывает на 100 блоков вверх
- Резист и заряженный тротил под ноги ближайшему (эффектно, но почти безопасно)
- Телепорт ближайшего игрока
- Зомби у каждого игрока в радиусе 1000 блоков
- Иссушитель рядом со случайным игроком, через 60 секунд он исчезает
- Ближайшему разом бафы IV уровня и слабость
- Сила, отравление и слепота ближайшему, медлительность всем в радиусе 20 блоков
Наборы 4, 6, 7 и 8 могут убить, остальные просто портят жизнь. Каждый набор, его вес (шанс), реплика в чат и список команд правятся в конфиге, можно собрать свои.
Questions and ideas are welcome in the comments.


