Fixed an issue involving shop deletion, sometimes packets were not destroyed until after a short duration.
• Additions •
Implemented the all-new short number formatting feature. The option in the configuration now converts numbers like 1,200 to 1.2k and similar ratios.
Implemented the new "/displayshops delete" command allowing normal and admin players to delete shops they have been granted access to by simply just looking at them.
Added three new permissions as shown below:
Code (YAML):
displayshops.delete - Allows the player to delete a shop they have access to.
displayshops.adminhelp - The admin help menu will be shown instead of the basic user menu.
displayshops.admindelete - Allows the player to delete a shop even if they do not own it or it is an admin shop.
• Changes •
The help menu message has been split into two different messages. Inside the configuration, there is now an admin help message and a user help message. The message sent to the player is determined by the "displayshops.adminhelp" permission.
The number formatting methods no longer utilize try-catch statements increasing speeds of the method by up to 5ms depending on the size of the value.