▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Плагины/Orderium [Order System]
Orderium [Order System]

Orderium [Order System]

Add an order system and let players to create and deliver orders from each others! Inspired by DonutSMP.

Оцените первым
4.9K
23

2.2.0

Beta31.07.2026

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

Optimizations

This version mainly improves the performance impact of the plugin to servers.

The issue

  1. A bottleneck in Orderium was that strings are constantly getting deserialized to MiniMessage text components. At first, this does not sound very resource-intensive, just deserializing a string. However, it starts to create a performance impact when this happens more often. Every page, every item, every lore lines, custom name, all of them are deserialized when you execute /order command.
  2. The plugin makes Bukkit.getOfflinePlayer(UUID) calls for all active orders whenever a player uses search. This method tends to be resource-intensive.

The solution

For the first problem, I used 2 methods to solve it:

  1. Lazy loading: whenever a player executes /order, it generates all the pages, even if the player only accesses the first or second page. This version no longer generates all the pages, it only does when the player moves to the next page, minimizing the amount of inventories need to be created as well as ItemStacks.
  2. Caching: The orders used to create a new ItemStack then deserialize the lore lines with placeholders. Now, it only creates the ItemStack every time the placeholder values change or the config reloads.

For the second problem, I also simply cache OfflinePlayer and only call Bukkit.getOfflinePlayer(UUID) once when the server starts for each order.


You can see that a lot of changes have been made. Therefore, bugs might appear in this version, because optimizing is always scary. If you found any, feel free to report an issue on the Github repository :)

Файлы

Orderium-2.2.0.jar(648.24 KiB)
Основной
Скачать

Метаданные

Канал релиза

Beta

Номер версии

2.2.0

Загрузчики

Folia
Paper
Purpur

Версии игры

1.21.7–26.2

Загрузок

351

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

31.07.2026

Загрузил

ID версии

Главная