Can somebody bump the API to the latest one for this plugin PlayerSelectors https://poggit.pmmp.io/p/PlayerSelectors/ - Tried to contact the developer as I have used it in the passed however seems that he is inactive https://github.com/Ad5001/PlayerSelectors - I'm not sure if it will involve rewriting the whole plugin however having this plugin would be extremely useful. Cheers, tdubz
Dont know of its allowed or not but download it go into the plugin.yml and change the api to the latest
You can do that, but it is not advised. Simply changing the API version will not guarantee it to instantly work; you will need to update some bits of the code. If you feel comfortable updating the code, take a look at the changelog here to see what you need to update.
Hmmm... I know a bit of PHP however looking at that now I don’t really think I’m comfortable with updating the code. Can anybody tell me what code I need to update to lead me in the right direction?
You can just do it via trial and error: - run the plugin with API updated to 3.6.0 - fix the errors that popup - restart the server and continue to do it until it is fixed. You should note that sometimes the errors wont automatically show up upon restart, so you'll need to trigger the plugin to run stuff manually. In this plugin, it seems like you can just run all the player selectors (@a, @e, whatever). If you get stuck on any of the errors, you can ask here