This plugin restricts vehicles to only one occupant at a time, ensuring that only the owner or their teammates can use the vehicle. This means you don't have to worry about someone else entering your vehicle and not being able to kick them out.
Permissions
oneseatvehicle.ignore
- Allows the player to bypass the mounting restriction and mount any vehicle.
Configuration
JSON:
{
"Version": "1.0.0",
"Vehicles": [
{
"Vehicle Short Prefab Name": "minicopter.entity",
"Prevent Mounting If Driver Inside": true,
"Prevent Mounting If Passenger Inside": true,
"Allow Teammates To Mount": true
},
{
"Vehicle Short Prefab Name": "attackhelicopter.entity",
"Prevent Mounting If Driver Inside": true,
"Prevent Mounting If Passenger Inside": true,
"Allow Teammates To Mount": true
},
{
"Vehicle Short Prefab Name": "rowboat",
"Prevent Mounting If Driver Inside": true,
"Prevent Mounting If Passenger Inside": true,
"Allow Teammates To Mount": true
}
]
}
Prevent Mounting If Driver Inside
- Prevents mounting if there's already a driver inside.Prevent Mounting If Passenger Inside
- Prevents mounting if there's already a passenger inside.Allow Teammates To Mount
- Allows teammates to mount the vehicle even if it's occupied.
Localization
JSON:
{
"CannotMountVehicle": "You cannot mount this vehicle as it already has an occupant."
}