Class Permissions.PermissionsBuilder
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Permissions.PermissionsBuilder
- Enclosing class:
Permissions
-
Method Summary
Modifier and TypeMethodDescriptionThe permission to adjust this vehicle.build()
The permission to buy this vehicle.The permission to ride this vehicle.sitWithoutRidePermission
(boolean sitWithoutRidePermission) Can a player sit in the vehicle, even if he doesn't have the ride permission?The permission to spawn/despawn this vehicle.toString()
-
Method Details
-
buy
The permission to buy this vehicle.- Returns:
this
.
-
adjust
The permission to adjust this vehicle. (Upgrade, Change owner, Change name, ...)- Returns:
this
.
-
spawn
The permission to spawn/despawn this vehicle.- Returns:
this
.
-
ride
The permission to ride this vehicle.- Returns:
this
.
-
sitWithoutRidePermission
Can a player sit in the vehicle, even if he doesn't have the ride permission?- Returns:
this
.
-
build
-
toString
-