- Permissions Rework; All aspects of the plugin will now require a permission to use.
Old, unused permissions removed. The following permissions were added:
xhomes.gui Needed to open the GUI with /homes
xhomes.admin Needed to use admin commands, such as /xhomes reload
xhomes.individual Needed to individually teleport to your homes VIA COMMANDS (not the gui). For example, this permission will be needed to do /home individual1
xhomes.cooldown-bypass Needed to bypass the countdown (Idk why I called it "cooldown" bypass, I'll change it later) when you teleport to a home via commands or the GUI
- Page Tracking;You can now display the current page of the GUI the player is on with {page}. For now, this works only for the GUI title (in the config.yml)
E.g:
title: "&8Homes &8(Page &f{page}&8)"
Side note, updates & versions will now be 1.0.2, 1.0.3, 1.0.4, etc. instead of 1.1, 1.2, 1.3 etc. Makes it easier to keep track, and useful in the long term so the plugin version doesn't get ridiculously high like 7.9
-
World Replacement Feature;
Instead of the {world} placeholder translating to 'world_the_end' or 'world_nether', it now translates to a different string, which can be set in config.yml.
So in the code above, if the home is in the nether, instead of saying World: world_nether, it'll say World: &c&lNETHER
Fixes
- Previously, setting the material to AIR for the filler or the info item would result in an error, instead of actually setting it to air. [FIXED]