Closed GeertBraakman closed 5 years ago
Of course, that's a great suggestion. This will be added shortly. Thanks
The method is now public and documented here: https://github.com/JEFF-Media-GbR/Spigot-ChestSort/blob/master/HOW_TO_USE_API.md
I hope this change suits your needs. I have never used PlaceholderAPI so if you could create a pull request for adding placeholders, that would be awesome.
Issue
Hello, I would like to request a feature for your plugin, I'm creating a settings menu for my server and I would like to add an option in there to toggle chestsorting, but I can't check if the player has ChestSorting enabled or not, I can do that by a placeholder with the PlaceholderAPI, but your plugin doesn't support it. So i tried to make my own placeholder but i got the problem that the methode i need to use is package private in your plugin.
Solution
So my question was, can you add support for the PlaceholderAPI or just make the methode
sortingEnabled(Player p)
public so I can acces it with the API for your plugin.thank you in advance, Geert Braakman Administator/Developer on LuminexMC