Garage
Virtual storage for vehicles. MySQL is optional !
Features
- Allow your players to store vehicle in a safe place with no duplication glitches
- MySQL is optional ! We provide LiteDB provider in case you don't want to set up MySQL
- All the data from the vehicle is saved. State, Barricades, Items and Turrets
- Easy garage slots management with permissions
- Vehicle, Item and Barricade blacklisting
- All translations support Rich Text
- Fully support car with multiple colors !
Permissions
Grant access to the /gadd command:
gadd
Grant access to the /gretrieve command:
gretrieve
Grant access to the /glist command:
glist
How to give custom slots to players
Giving custom slots to players works with permission. The permission has to be set like this
garage.{engine}.{slots}
Examples:
<Permission Cooldown="0">garage.cars.10</Permission>
<Permission Cooldown="0">garage.planes.2</Permission>
Engines:
- cars
- boats
- planes
- helicopters
Configuration
<?xml version="1.0" encoding="utf-8"?>
<GaragePluginConfiguration xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<DatabaseType>LiteDB</DatabaseType>
<MySqlConfiguration>
<ServerAddress>127.0.0.1</ServerAddress>
<ServerPort>3306</ServerPort>
<Username>root</Username>
<Password>password</Password>
<DatabaseName>unturned</DatabaseName>
<ConnectionString />
</MySqlConfiguration>
<GarageSettings>
<AllowSavingUnderwater>true</AllowSavingUnderwater>
<AllowSavingInsideVehicle>true</AllowSavingInsideVehicle>
<AcumulateSlots>true</AcumulateSlots>
</GarageSettings>
<DefaultGarageSlots>
<Cars>2</Cars>
<Planes>0</Planes>
<Helicopters>0</Helicopters>
<Boats>0</Boats>
</DefaultGarageSlots>
<BlacklistedVehicles>
<Vehicle id="Desert APC" bypassPermission="bypass.apc" />
<Vehicle id="53" bypassPermission="bypass.apc" />
</BlacklistedVehicles>
<BlacklistedBarricades>
<Item id="328" bypassPermission="bypass.locker" />
<Item id="Birch Wardrobe" bypassPermission="bypass.wardrobe" />
</BlacklistedBarricades>
<BlacklistedItems>
<Barricade id="519" bypassPermission="bypass.rocketlauncher" />
<Barricade id="Rocket" bypassPermission="bypass.rocket" />
</BlacklistedItems>
</GaragePluginConfiguration>
Translatation
<?xml version="1.0" encoding="utf-8"?>
<Translations xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Translation Id="GarageAddSyntax" Value="Correct usage: /gadd <name>" />
<Translation Id="NotLookingAtVehicle" Value="You are not looking at any vehicle!" />
<Translation Id="GarageFull" Value="You don't have enough space for this vehicle!" />
<Translation Id="VehicleSaved" Value="Successfully saved your {0}!" />
<Translation Id="GarageInfo" Value="You garage slots: [{0}/{1} Cars] [{2}/{3} Helicopters] [{4}/{5} Planes] [{6}/{7} Boats]" />
<Translation Id="GarageListItem" Value="- {0} [Name: {1}]" />
<Translation Id="GarageEmpty" Value="Your garage is empty!" />
<Translation Id="VehicleNotFound" Value="Could not find {0} in your garage" />
<Translation Id="VehicleRetrieved" Value="Successfully retrieved your {0}!" />
<Translation Id="VehicleBlacklisted" Value="You are not allowed to save {0}" />
<Translation Id="ItemBlacklisted" Value="Your vehicle contains a {0} that is blacklisted" />
<Translation Id="BarricadeBlacklisted" Value="Your vehicle contains a {0} that is blacklisted" />
</Translations>