Перейти к содержимому
Mineforgian

BlockSwapper

Serverside plugin that automatically refills a survival players hotbar as they are building!

Загрузки
295
Подписчики
7
Обновлён
5 апреля 2025 г.
Лицензия
MIT

Опубликован 26 ноября 2024 г.

Исходный код

Supports Spigot, Paper and Folia servers!

Visualisation of the plugins functionality

BlockSwapper is a simple, lightweight plugin that automatically refills a players hotbar when they are building, if they have additional blocks of the same type in their inventory. It does this by detecting when a survival mode player places the last block in a stack and automatically searches their inventory for stacks of the same material. It then moves the first stack it finds into their hotbar.

Installation

Simply drop the .jar file into your servers plugins folder. This plugin requires Java 17 or newer to be installed.

Permissions

There is only one permission: blockswapper.use - this allows a player to benefit from this plugin. This permission defaults to true.

Config

There is no configuration for this plugin.

Support and Suggestions

If you have a suggestion for how to improve this plugin, or an issue while using it, please join the support discord https://discord.gg/yJthQdW5Ja

Ченджлог

1.3.0Релиз1.21.3, 1.21.4, 1.21.5 · 5 апреля 2025 г.

Block swapping now compares the full item stack rather than just the material type. This should fix cases like the below:

  • When a player places a player head item, the slot would be refilled with any other player head they are holding
  • When using third party furniture plugins, placing a furniture item would refill the slot with any furniture item using the same material type from the players inventory
1.2.0Релиз1.21.1, 1.21.2, 1.21.3 · 26 ноября 2024 г.

Folia support added

Комментарии

Загружаем…