Depends on
Required for this file to work correctly.
About Car Sharing
Players can rent a car and drive it anywhere on the map. You can also place bots that rent out cars.
Commands
- share.ferrari [targetId] (give a Ferrari)
- share.mazda [targetId] (give a Mazda)
- share.skoda [targetId] (give a Skoda)
- share.opel [targetId] (give an Opel)
Permissions
You can set permission in config, for example:
"Permission (example: carsharing.use)": "carsharing.use",
Config
{
"Commands": [
"rent",
"carsharing"
],
"Permission (example: carsharing.use)": "",
"Work with Notify?": true,
"Economy": {
"Type (Plugin/Item)": "Plugin",
"Plugin name": "Economics",
"Balance add hook": "Deposit",
"Balance remove hook": "Withdraw",
"Balance show hook": "Balance",
"ShortName": "scrap",
"Display Name (empty - default)": "",
"Skin": 0
},
"Vehicle call item settings": {
"Display Name": "RUSTSharing {carname}",
"ShortName": "box.wooden.large",
"Skin": 2591806406
},
"Cars": [
{
"Permission (example: carsharing.vip)": "",
"Command to give": "share.ferrari",
"Image": "https://i.imgur.com/0GvWGOv.png",
"Name": "Ferrari",
"Cost per minute": 25.0,
"Car class": "Luxe",
"Average Speed": "100",
"Modular Car Settings": {
"CodeLock": true,
"KeyLock": false,
"Engine Parts Tier": 2,
"Fresh Water Amount": 0,
"Fuel Amount": 140,
"Modules": [
"vehicle.1mod.engine",
"vehicle.1mod.cockpit.armored",
"vehicle.1mod.cockpit.armored"
]
}
},
{
"Permission (example: carsharing.vip)": "",
"Command to give": "share.mazda",
"Image": "https://i.imgur.com/fAuuZIS.png",
"Name": "Mazda",
"Cost per minute": 10.0,
"Car class": "Comfort",
"Average Speed": "100",
"Modular Car Settings": {
"CodeLock": true,
"KeyLock": false,
"Engine Parts Tier": 2,
"Fresh Water Amount": 0,
"Fuel Amount": 140,
"Modules": [
"vehicle.1mod.engine",
"vehicle.1mod.cockpit.armored",
"vehicle.1mod.cockpit.armored"
]
}
},
{
"Permission (example: carsharing.vip)": "",
"Command to give": "share.skoda",
"Image": "https://i.imgur.com/u07yAdY.png",
"Name": "Skoda",
"Cost per minute": 10.0,
"Car class": "Comfort",
"Average Speed": "100",
"Modular Car Settings": {
"CodeLock": true,
"KeyLock": false,
"Engine Parts Tier": 2,
"Fresh Water Amount": 0,
"Fuel Amount": 140,
"Modules": [
"vehicle.1mod.engine",
"vehicle.1mod.cockpit.armored",
"vehicle.1mod.cockpit.armored"
]
}
},
{
"Permission (example: carsharing.vip)": "",
"Command to give": "share.opel",
"Image": "https://i.imgur.com/fEzJjIm.png",
"Name": "Opel",
"Cost per minute": 10.0,
"Car class": "Comfort",
"Average Speed": "100",
"Modular Car Settings": {
"CodeLock": true,
"KeyLock": false,
"Engine Parts Tier": 2,
"Fresh Water Amount": 0,
"Fuel Amount": 140,
"Modules": [
"vehicle.1mod.engine",
"vehicle.1mod.cockpit.armored",
"vehicle.1mod.cockpit.armored"
]
}
}
],
"Bots": {
"8833355776": {
"Car Classes (* - all)": [
"Comfort"
]
},
"1317845641": {
"Car Classes (* - all)": [
"Luxe",
"Comfort"
]
}
}
}
VIDEO
Web Config Editor
Manage the CarSharing settings in our web config editor. You change the config in a browser form instead of editing files on the server by hand.
P.S. The web config editor is open to members of the "CarSharing" group in our Discord server. Join at https://discord.gg/mevent and ask for the group.
