Kr4ken-9 / NewEssentials

The Essential plugin for Unturned, built on OpenMod
GNU General Public License v3.0
13 stars 13 forks source link

"/clear vehicle" quality of life improvements #62

Open XanderCodes opened 3 years ago

XanderCodes commented 3 years ago

Heyo!

Jumping on the bandwagon of "adding stuff to replace uEssentials"...

uEssentials' vehicle clearing command takes a "range" parameter, which is super useful for just clearing a single vehicle or a couple somewhere in a garage or car park. It's pretty rubbish though and has a few issues so it might be better that in the case it's ported over to NewEssentials, it be something like "/clear v nearest" to clear the nearest vehicle, or "/clear v nearest 10" for the 10 nearest vehicles. Whatever's easiest to implement with OpenMod's API I suppose, I haven't had too much a look into how it works.

Also, quick side note, uEssentials also had a command alias for inventory clearing, which was just "/ci". Something similar would be greatly appreciated : ). I might do a pull request and add "/clear inv" or something similar.

Thanks!

Trojaner commented 3 years ago

technically you could readd /ci by editing openmod.commands.yaml and removing parent and renaming to ci without NewEssentials having to do this