Vehicle Licence allows players to buy vehicles and then spawn or store it.
Permissions for each vehicle can be changed in the configuration
"Use Universal Chat Command" = true ---> Enable Universal Chat Command
"Custom Kill Chat Command Prefix": "no", --> /nomini and /nominicopter will become the command to kill the vehicle
If you created another language file, please send it to me and I will add it to the plugin for others to use.
Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.Permissions for each vehicle can be changed in the configuration
- vehiclelicence.use -- Basic permissions. You must have it to use this plugin
- vehiclelicence.bypasscost -- Purchase all vehicles at no cost.
- vehiclelicence.all -- Players with this permission can purchase all vehicles.
- vehiclelicence.admin -- Bypass looting and mounting detection
Commands
This plugin provides both chat and console commands using the same syntax. When using a command in chat, prefix it with a forward slash: `/`.Universal Chat Command
Universal command: When you type /mini, if you don't own that minicopter the plugin will try to buy it for you before spawning it. If you already have one spawned the plugin will try to recall it to you."Use Universal Chat Command" = true ---> Enable Universal Chat Command
"Custom Kill Chat Command Prefix": "no", --> /nomini and /nominicopter will become the command to kill the vehicle
Chat Commands
- /license -- Show help to the player.
- /buy -- Show help for buy commands. Buy a license
- /spawn -- Show help for spawn commands. Spawn a vehicle
- /recall -- Show help for recall commands. Recall vehicles to the vicinity of the player
- /kill -- Show help for kill commands. Kill the player's vehicle
Console Commands
- vl.buy -- Similar to /buy.
- vl.buy <vehicle type> all -- Buy the vehicle license for all players
- vl.buy <vehicle type> <player name or id> -- Bypass the cost and buy the vehicle license directly. Used for GUIShop and ServerRewards... e.g. 'vl.buy rhib 76561198924840872'
- vl.remove <vehicle type> all -- Remove the vehicle license for all players
- vl.remove <vehicle type> <player name or id> -- Remove the player's vehicle license
- vl.spawn -- Similar to /spawn.
- vl.recall -- Similar to /recall.
- vl.kill -- Similar to /kill.
Configuration
The settings and options can be configured in the VehicleLicence file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Economics and Server Rewards
Use it as a price. e.g.:Configuration Details
Note: Please do not set the cooldown of the vehicle to 0, as this is very bad.Localization
The default messages are in the VehicleLicence file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.If you created another language file, please send it to me and I will add it to the plugin for others to use.