插件介绍
允许玩家购买、生成和召回:船、RHIB、轿车、热气球、迷你直升机、CH47 等。
Vehicle Licence allows players to buy vehicles and then spawn or store it.
Permissions for each vehicle can be changed in the configuration
Universal command: When you type /mini, if you don't own that minicopter the plugin will try to buy it for you before spawning it. If you already have one spawned the plugin will try to recall it to you.
"Use Universal Chat Command" = true ---> Enable Universal Chat Command
主要用途
主要用于boat、spawn、economics、heli等服务端功能。 本插件由 Mabel 发布,当前目录记录版本为 v1.9.4,uMod 累计下载 121,117 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Allows players to buy, spawn and recall: Boat, RHIB, Sedan, HotAirBalloon, MiniCopter, CH47, etc.
权限节点
Permissions for each vehicle can be changed in the configuration
vehiclelicence.useBasic permissions. You must have it to use this plugin
vehiclelicence.bypasscostPurchase all vehicles at no cost.
vehiclelicence.allPlayers with this permission can purchase all vehicles.
vehiclelicence.adminBypass looting and mounting detection
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
Universal command: When you type /mini, if you don't own that minicopter the plugin will try to buy it for you before spawning it. If you already have one spawned the plugin will try to recall it to you.
"Use Universal Chat Command" = true ---> Enable Universal Chat Command
// If universal chat commands are enabled. /mini and /minicopter will become a universal command "Commands": [ "mini", "minicopter" ]
"Custom Kill Chat Command Prefix": "no", --> /nomini and /nominicopter will become the command to kill the vehicle
/licenseShow help to the player.
/buyShow help for buy commands. Buy a license
/spawnShow help for spawn commands. Spawn a vehicle
/recallShow help for recall commands. Recall vehicles to the vicinity of the player
/killShow help for kill commands. Kill the player's vehicle
For historical reasons, the Recall command here is to move the vehicle near the player, and the Kill command is to delete the vehicle
vl.buySimilar to /buy.
vl.buy <vehicle type> allBuy the vehicle license for all players
vl.buy <vehicle type> <player name or id>Bypass the cost and buy the vehicle license directly. Used for GUIShop and ServerRewards... e.g. 'vl.buy rhib 76561198924840872'
vl.remove <vehicle type> allRemove the vehicle license for all players
vl.remove <vehicle type> <player name or id>Remove the player's vehicle license
vl.spawnSimilar to /spawn.
vl.recallSimilar to /recall.
vl.killSimilar to /kill.
Vehicles include normal vehicles and modular vehicles : Normal Vehicle Type: Tugboat, Rowboat, RHIB, Sedan, HotAirBalloon, ArmoredHotAirBalloon, MiniCopter, AttackHelicopter, TransportHelicopter, Chinook, RidableHorse, WorkCart, SedanRail, MagnetCrane, SubmarineSolo, SubmarineDuo, Snowmobile, TomahaSnowmobile, Kayak, PedalBike, PedalTrike, MotorBike, MotorBike_SideCar, Dpv, SiegeTower, Catapult, Batteringram, Ballista, PtBoat Modular Vehicle Type: In your config. Is a custom type
Train components are of the following types: Engine, CoveredEngine, Locomotive, WagonA, WagonB, WagonC, Unloadable, UnloadableLoot, UnloadableFuel, Caboose
相关依赖
- Economics
- No Escape
- Rust Translation API
- Server Rewards
- Extended Crafting
- Other Building Health
- Vehicle BBQs
配置说明
Use it as a price. e.g.:
"Purchase Prices": { "scrap": { //item short name "amount": 1000, "displayName": "Scrap" }, "Economics": { //use Economics "amount": 1000, "displayName": "Money" }, "ServerRewards": { //use ServerRewards "amount": 1000, "displayName": "RP" }, }
Note: Please do not set the cooldown of the vehicle to 0, as this is very bad. Detail
{ "Settings": { "Store Vehicle On Plugin Unloaded / Server Restart": true, "Clear Vehicle Data On Map Wipe": false, "Interval to check vehicle for wipe (Seconds)": 300.0, //Interval in seconds at which the plugin checks the vehicles to delete those abandoned. "Spawn vehicle in the direction you are looking at": true,//If false, Vehicles will spawn randomly around the player "Automatically claim vehicles purchased from vehicle vendors": false,//It will only be automatically claimed if you have purchased the vehicle license but the vehicle is not outside "Vehicle vendor purchases will unlock the license for the player": false,//If you haven't purchased the license, it will automatically unlock it "Limit the number of vehicles at any one time": 0, "Prevent vehicles from damaging players": true, "Prevent vehicles from spawning or recalling in safe zone": true, "Prevent vehicles from spawning or recalling when the player are building blocked": true, "Prevent vehicles from spawning or recalling when the player is mounted or parented": true, "Check if any player mounted when recalling a vehicle": true, "Check if any player mounted when killing a vehicle": true, "Dismount all players when a vehicle is recalled": true, "Prevent other players from mounting vehicle": true, "Prevent mounting on driver's seat only": true,//Required "Prevent other players from mounting vehicle" is true "Prevent other players from looting fuel container and inventory": true, "Use Teams": false,//Used for "Prevent other players from mounting vehicle" and "Prevent other players from looting fuel container and inventory" "Use Clans": true,//Used for "Prevent other players from mounting vehicle" and "Prevent other players from looting fuel container and inventory" "Use Friends": true,//Used for "Prevent other players from mounting vehicle" and "Prevent other players from looting fuel container and inventory" "Vehicle No Decay": false, "Vehicle No Fire Ball": true, "Vehicle No Server Gibs": true, "Chinook No Map Marker": true, "Use Raid Blocker (Need NoEscape Plugin)": false,//Use NoEscape Raid Blocker functionallity. "Use Combat Blocker (Need NoEscape Plugin)": false//Use NoEscape Combat Blocker functionallity. }, "Chat Settings": { "Use Universal Chat Command": true, "Help Chat Command": "license", "Buy Chat Command": "buy", "Spawn Chat Command": "spawn", "Recall Chat Command": "recall", "Kill Chat Command": "kill", "Custom Kill Chat Command Prefix": "no",//usage: /nomini, /norhib, /nocha47 "Bypass Cooldown Command": "pay",//usage:: /mini pay or /spawn mini pay "Chat Prefix": "<color=#00FFFF>[VehicleLicense]</color>: ", "Chat SteamID Icon": 76561198924840872 }, "Normal Vehicle Settings": {//This is fixed and no new can be added "Rowboat Vehicle": { "Purchasable": true,//The vehicle is purchasable. "Display Name": "Row Boat",//It will display in chat. "Use Permission": true, "Permission": "vehiclelicence.rowboat", "Distance To Spawn": 5.0, "Time Before Vehicle Wipe (Seconds)": 0.0,//0 is disabled "Maximum Health": 0.0,//0 is disabled "Can Recall Maximum Distance": 0.0,//0 is disabled "Can Kill Maximum Distance": 0.0,//0 is disabled "Minimum distance from player to recall or spawn": 3.0,//Prevent vehicles from spawning or recalling near another player "Remove License Once Crashed": false,//If enabled, it will remove license the vehicle once crashed "Purchase Prices": {//You can add more prices "scrap": { "amount": 500, "displayName": "Scrap" }, "economics": { "amount": 50, "displayName": "Money" }, }, "Spawn Prices": {},//Similar to "Purchase Prices" "Recall Prices": {},//Similar to "Purchase Prices" "Recall Cooldown Bypass Prices": {},//Similar to "Purchase Prices" "Spawn Cooldown Bypass Prices": {},//Similar to "Purchase Prices" "Commands": [//Chat command options. e.g. "/buy row" or "/buy rowboat" "row", "rowboat" ], "Spawn Cooldown (Seconds)": 300.0,//Setting it to 0 is not recommended "Recall Cooldown (Seconds)": 30.0,//Setting it to 0 is not recommended "Cooldown Permissions": { "vehiclelicence.vip": { "spawnCooldown": 150.0, "recallCooldown": 10.0 }, "vehiclelicence.vip1": { "spawnCooldown": 50.0, "recallCooldown": 5.0 }, }, "Amount Of Fuel To Spawn": 0, "Refund Fuel On Kill": true, "Refund Fuel On Crash": true, "Refund Inventory On Kill": true, "Refund Inventory On Crash": true, "Drop Inventory Items When Vehicle Recall": true } }, "Modular Vehicle Settings": {//This is not fixed, new ones can be added "SmallCar": {//Modular Vehicle Type. It's up to you "Chassis Type (Small, Medium, Large)": "Small", // Three types of chassis "Vehicle Module Items": [//The default module for a modular vehicle { "shortName": "vehicle.1mod.cockpit.with.engine",//Item short name "healthPercentage": 50.0 //Module health percentage must not be greater than 100 }, { "shortName": "vehicle.1mod.storage", "healthPercentage": 50.0 } ], "Vehicle Engine Items": [//Preset engine items, add them to the engine when you spawn the vehicle { "shortName": "carburetor1",//Item short name "conditionPercentage": 20.0 //Engine item condition percentage }, { "shortName": "crankshaft1", "conditionPercentage": 20.0 }, { "shortName": "piston1", "conditionPercentage": 20.0 }, { "shortName": "sparkplug1", "conditionPercentage": 20.0 }, { "shortName": "valve1", "conditionPercentage": 20.0 } ] } }, "Train Vehicle Settings": { "CompleteTrain": { "Train Components": [ // Custom components for trains { "type": "Engine" // When you recall, only the first component can be recalled. }, { "type": "WagonA" }, { "type": "WagonB" }, { "type": "WagonC" }, { "type": "Unloadable" }, { "type": "UnloadableLoot" } ] } }, }
官方配置示例
// If universal chat commands are enabled. /mini and /minicopter will become a universal command
"Commands": [
"mini",
"minicopter"
]Vehicles include normal vehicles and modular vehicles :
Normal Vehicle Type:
Tugboat,
Rowboat,
RHIB,
Sedan,
HotAirBalloon,
ArmoredHotAirBalloon,
MiniCopter,
AttackHelicopter,
TransportHelicopter,
Chinook,
RidableHorse,
WorkCart,
SedanRail,
MagnetCrane,
SubmarineSolo,
SubmarineDuo,
Snowmobile,
TomahaSnowmobile,
Kayak,
PedalBike,
PedalTrike,
MotorBike,
MotorBike_SideCar,
Dpv,
SiegeTower,
Catapult,
Batteringram,
Ballista,
PtBoat
Modular Vehicle Type: In your config. Is a custom type更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。