Hey.
I'm staff on a server that gives players the ability to create their own "player server," and they don't have access to the console/config files. I was wondering if it would be possible to create a function to delete kits in-game.
For example:
This feature would be a great help so we don't have people complaining about deleting their "test kits."
_(If it is already a feature please ignore this as I can't find a way to remove kits.)_
no because then we'll get complains about people using it and having it delete all the comments in their config. I know it wouldn't matter in your case, but that's what would happen if added. It wouldn't be difficult for you to add this yourself in your own fork :)
Also, I'm curious which server this is? I'm only aware of https://minehut.com/ that allows something like this :)
@drtshock If I may ask, why does it delete all the comments in your config when you run /createkit ?
@drtshock, that's the one. :+1: I saw you tweet @ us on twitter :)
@NurdTurd because that's what the YAML API does when adding new keys/values programmatically.
This can be fixed but not easily and is not worth the hassle.
@NurdTurd We're currently working on a fix for this problem as we speak.
@SupaHam the new way will actually break their current setup. RIP
RIP. Time to fork it up I guess. Unbelievable that we aren't prioritized over the other 15k servers that use Essentials /s
ikr rip
But there's a new config option for you guys <3
This was implemented in b97eb12, and then improved on in #2908. The /delkit command and improvements are present in EssentialsX versions 2.17.1.47 and above.
Most helpful comment
This was implemented in b97eb12, and then improved on in #2908. The
/delkitcommand and improvements are present in EssentialsX versions2.17.1.47and above.