▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/LPChestShop
LPChestShop

LPChestShop

LPChestShop is a lightweight chest shop plugin for Paper 1.20+ with a clean GUI flow and Vault economy support.

141
0
Все версииLPChestShop 1.0.3

LPChestShop 1.0.3

Release2 мес. назад

Список изменений

Plugin Old Identity Cleanup (EzChestShop)

  • Updated remaining legacy references to ensure consistent use of the LPChestShop name.
  • Updated the shop sign header in the configuration:
    • "&a[EzShop]" → "&a[LPShop]"

Improved Command Experience

  • Enhanced tab completion for the shop creation command.

Command format: /lpcs create

Tab completion behavior:

  • Second argument (amount): 1, 16, 64,
  • Third argument (price): 10, 100, 1000,

This makes it immediately clear to players which arguments are required.


Command Logic Refactor

  • Refactored subcommand handling in LPChestShopCommand from chained if statements to a switch statement for better structure and clarity.
  • Removed unreachable code paths to ensure clean control flow.
  • Ensured all execution paths return correctly.

Code Quality Improvements

  • Removed unused imports.
  • Added null-safety annotations (@NotNull) to command method parameters.
  • Simplified chest validation logic by relying on existing internal safeguards.
  • Prevent resource files from being re-saved when they already exist (prevents console warnings).

Файлы

LPChestShop-1.0.3.jar(54.69 KiB)
Основной
Скачать

Метаданные

Канал релиза

Release

Номер версии

1.0.3

Загрузчики

Bukkit
Paper
Purpur
Spigot

Версии игры

1.20–1.21.11

Загрузок

15

Дата публикации

2 мес. назад

Загрузил

ID версии

Главная