Keys
Last updated
Last updated
Ever wanted to share your car with some friends? It's now possible!
By default, the plugin makes sur you got keys in your inventory on login. But you can disable this feature in the .
There's also a command to give keys /key give <player> [silent]
.
The [silent]
parameter is optional, if set to true
, the command will not send any message in the chat. It can comes up useful when you're making shop or NPCs that just gives you a key.
In order to modify a vehicle's lockstate, you need to be either:
A member of the vehicle's garage
One of the vehicle's co-owners
If you are, then a simple right-click with keys in hand lets you lock or unlock a vehicle.
The most useful feature is co-owners. It lets you give players the rights to unlock/lock a specific vehicle.
You can see the list of a vehicle's co-owners by just shift right-clicking on a vehicle with keys. From there, you can remove and add players to this list.