Uses of Class
nl.sbdeveloper.vehiclesplus.api.garages.Garage
Packages that use Garage
Package
Description
The API package contains all the VehiclesPlus API classes.
The Events Implementation package contains all the events VehiclesPlus fires.
The Vehicles package contains all the vehicle related API.
The Storage DB package contains the DB API classes.
-
Uses of Garage in nl.sbdeveloper.vehiclesplus.api
Methods in nl.sbdeveloper.vehiclesplus.api that return GarageModifier and TypeMethodDescriptionstatic @NotNull Garage
VehiclesPlusAPI.getPersonalGarage
(@NotNull org.bukkit.OfflinePlayer player) Get the personal garage of a player.Methods in nl.sbdeveloper.vehiclesplus.api that return types with arguments of type GarageModifier and TypeMethodDescriptionGet a garage by name.Get a garage by a vehicle.VehiclesPlusAPI.getGarages()
All the garages.VehiclesPlusAPI.getGarages
(@NotNull org.bukkit.OfflinePlayer player) Get the garages the player owns or is member in.VehiclesPlusAPI.getGarages
(@NotNull org.bukkit.OfflinePlayer player, boolean ownerOnly) Get the garages the player owns or is member in.Methods in nl.sbdeveloper.vehiclesplus.api with parameters of type GarageModifier and TypeMethodDescriptionstatic void
Adds a garage to the garage map.static StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull String modelID, @NotNull Garage garage) Create a vehicle using a vehicle model.static StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull String modelID, @NotNull Garage garage, @NotNull Function<StorageVehicle, StorageVehicle> updater) Create a vehicle using a vehicle model.static @NotNull StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull VehicleModel model, @NotNull Garage garage) Create a vehicle using a vehicle model.static StorageVehicle
VehiclesPlusAPI.createVehicle
(@NotNull VehicleModel model, Garage garage, Function<StorageVehicle, StorageVehicle> updater) Create a vehicle using a vehicle model. -
Uses of Garage in nl.sbdeveloper.vehiclesplus.api.events.impl
Methods in nl.sbdeveloper.vehiclesplus.api.events.impl that return GarageModifier and TypeMethodDescriptionGarageOpenEvent.getGarage()
TheString
displayName of the menu the player opens.Methods in nl.sbdeveloper.vehiclesplus.api.events.impl with parameters of type GarageConstructors in nl.sbdeveloper.vehiclesplus.api.events.impl with parameters of type GarageModifierConstructorDescriptionGarageOpenEvent
(org.bukkit.entity.Player player, Garage garage) Construct a newGarageOpenEvent
.VehicleGiveEvent
(@NotNull VehicleModel vehicle, @NotNull org.bukkit.command.CommandSender commandSender, @NotNull Garage garage, @NotNull VehicleGiveEvent.Source source) Construct a newVehicleGiveEvent
. -
Uses of Garage in nl.sbdeveloper.vehiclesplus.api.vehicles
Methods in nl.sbdeveloper.vehiclesplus.api.vehicles that return Garage -
Uses of Garage in nl.sbdeveloper.vehiclesplus.storage.db
Methods in nl.sbdeveloper.vehiclesplus.storage.db that return types with arguments of type GarageMethods in nl.sbdeveloper.vehiclesplus.storage.db with parameters of type GarageModifier and TypeMethodDescriptionabstract void
DataStorage.deleteGarage
(Garage garage) abstract void
DataStorage.saveGarage
(Garage garage)