[1.7 - 1.21.*] EzShops 2.1.0 - Command executions on buy/sell and translation placeholders
- Added pagination in shop category detail GUI
- Added custom {translation:TRANSLATION_KEY} placeholders to use translated values from the messages/ system.
Code (YAML):
{translate:hooks.player-lacking-permission-message
}
- Moved player shop class SignFormat in new class for reusability purposes
- Updated all configuration files through AI to implement translation placeholders in the language files.
- Added command execution on shop buy or selling
Code (YAML):
categories:
enchantments:
name
:
"{translate:shop.categories.enchantments.name}"
...
display-name
:
"{translate:shop.common.menu.fill-display-name}"
items:
sharpness_v
:
...
on-buy:
execute-as
: console
commands
:
-
"broadcast test 1 2 3"
enchantments:
sharpness
: 5