This is a small update it adds:
- /serveritem take <id> [player] [amount] [silent]
which is reverse of /serveritem give
remove up to [amount] items of selected <id> from [player]
configs and permission have been updated to add this new element
- PlaceHolders on Item name and lore are now replaced with a value
if you put %player_name% on a lore of an item and use /serveritem give, the player that obtains the object would see his name instead of %player_name%
placeholders supported are %player_name% and %player_uuid%, if you have PlaceHolderAPI on your server you may use his placeholders too
Note: if you get an item with a replaced placeholders, the plugin may not be able to recognize the item with sell/sellmax/take commands later
inconsistency examples:
- player A buy an item with %player_name% holder, player B take A item, B try to sell the item but he can't because %player_name% for B it's not the same of A
- player A buy an item with %player_name% holder, player A change name to B, try to sell the item but he can't because %player_name% now it's B and do not match old name A
When use placeholders is a good idea? Basically for any item you don't plan to take back with the plugin using serveritem buy/buymax/take
Can i disable this feature? Yes config.yml
Code (YAML):
serveritem:
replace-holders
: false
Can i get the item with placeholders not replaced? Yes but only using /serveritem show, and clicking it, i may add more ways to do that in the future