原创地址Vehicle Spawner – 插件 – Codefling
关于Vehicle Spawner
准备好通过允许玩家通过聊天命令生成各种车辆来提升您修改后的 Rust 服务器了吗?使用此插件,玩家可以生成车辆,您可以在游戏中使用任何您想要的车辆预制件,从而轻松方便地在游戏中进行探索和运输。该插件带有可选的限制来平衡游戏玩法,包括对玩家可以拥有的车辆数量的限制以及冷却计时器和阻止,以防止在某些计时器或某些区域发送垃圾邮件。自定义选项非常广泛,允许服务器管理员调整生成方法和生成距离、燃料量,甚至不同车辆的特定权限。此外,该插件还支持 UI 自定义,以便与您的服务器界面无缝集成。无论是在地图上快速移动,还是只是向服务器添加有趣的元素,Vehicle Spawner 都能确保您在 Rust 中的冒险永远不会沉闷。
主要特点
在游戏中生成任何车辆预制件,您可以在配置中添加或删除所需的任何预制件。
限制每个玩家的车辆数量以保持服务器平衡。
可自定义的车辆生成设置、生成方法选项、冷却时间和权限。
UI 支持,让玩家轻松管理战车,无需命令。
战车生成的特殊条件,包括安全区、授权、突袭和战斗格挡检查。
权限
vehiclespawner.use
vehiclespawner.ui
按键绑定输入 BUTTON。FIRE_THIRD ( 鼠标中键 )
- 按下/单击它可在屏幕上切换 Vehicle Menu UI。
- 在最小化菜单时按住它以完全打开它。
命令
/vehiclemenu
允许玩家切换 UI。
/no <配置聊天命令>
允许玩家通过在配置的聊天命令前放置 /no 来删除车辆类型。
/destroyall
允许玩家一次移除所有车辆。
默认配置:
注意:您可以使用预制件路径添加任意数量的车辆。
{
"MsgSettings": {
"Message Icon SteamID": "76561197960839785",
"Message Prefix": "[VehicleSpawner]",
"Message Prefix Color": "#5af"
},
"Prefabs": {
"Attack Helicopter": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"attack",
"myattack",
"attackheli",
"myattackheli",
"attackhelicopter",
"myattackhelicopter",
"atkheli",
"atk",
"myatk",
"myatkheli"
],
"CooldownTimer": 180.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.attackhelicopter",
"PrefabPath": "assets/content/vehicles/attackhelicopter/attackhelicopter.entity.prefab",
"Rotation": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 10.0,
"SpawnDistance": 8.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Balloon": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"balloon",
"myballoon",
"hotairballoon",
"myhotairballoon",
"myhab",
"hab"
],
"CooldownTimer": 120.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.balloon",
"PrefabPath": "assets/prefabs/deployable/hot air balloon/hotairballoon.prefab",
"Rotation": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 10.0,
"SpawnDistance": 12.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Car": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"sedan",
"mysedan",
"car",
"mycar"
],
"CooldownTimer": 180.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.car",
"PrefabPath": "assets/content/vehicles/sedan_a/sedantest.entity.prefab",
"Rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 10.0,
"SpawnDistance": 6.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Chinook": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"chinook",
"mychinook",
"ch47",
"mych47"
],
"CooldownTimer": 180.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.chinook",
"PrefabPath": "assets/prefabs/npc/ch47/ch47.entity.prefab",
"Rotation": {
"x": 0.0,
"y": 240.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 10.0,
"SpawnDistance": 10.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Horse": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"horse",
"myhorse"
],
"CooldownTimer": 180.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.horse",
"PrefabPath": "assets/rust.ai/nextai/testridablehorse.prefab",
"Rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 10.0,
"SpawnDistance": 5.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Minicopter": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"mini",
"mymini",
"minicopter",
"myminicopter"
],
"CooldownTimer": 0.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.minicopter",
"PrefabPath": "assets/content/vehicles/minicopter/minicopter.entity.prefab",
"Rotation": {
"x": 0.0,
"y": 90.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 0.0,
"SpawnDistance": 5.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"RHIB": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": true,
"ChatCommands": [
"rhib",
"myrhib",
"mybigboat",
"bigboat"
],
"CooldownTimer": 10.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.rhib",
"PrefabPath": "assets/content/vehicles/boats/rhib/rhib.prefab",
"Rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 5.0,
"SpawnDistance": 10.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Row Boat": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": true,
"ChatCommands": [
"rowboat",
"row",
"myrow",
"myrowboat",
"boat",
"myboat"
],
"CooldownTimer": 10.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.rowboat",
"PrefabPath": "assets/content/vehicles/boats/rowboat/rowboat.prefab",
"Rotation": {
"x": 0.0,
"y": 0.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 3.0,
"SpawnDistance": 9.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
},
"Scrap Transport Helicopter": {
"AutoMount": false,
"BlockButAllowInBuildingAuthorized": false,
"BlockButAllowInSafeZone": false,
"BlockInAuthorizedArea": true,
"BlockInBuildingBlocked": true,
"BlockInSafeZone": true,
"BlockOnLand": false,
"ChatCommands": [
"scrap",
"myscrap",
"heli",
"myheli",
"helicopter",
"myhelicopter",
"scrappy",
"myscrappy",
"scraptransport"
],
"CooldownTimer": 10.0,
"DisableUIButton": false,
"FuelAmount": 0,
"LockFuel": false,
"Permission": "vehiclespawner.scraptransporthelicopter",
"PrefabPath": "assets/content/vehicles/scrap heli carrier/scraptransporthelicopter.prefab",
"Rotation": {
"x": 0.0,
"y": 180.0,
"z": 0.0
},
"SkySpawn": false,
"SkySpawnHeight": 50.0,
"SpawnDelay": 5.0,
"SpawnDistance": 8.0,
"SpawnHeight": 3.0,
"SpawnOption": 1,
"UseTracks": false
}
},
"Settings": {
"AmountOfPrefabsAllowedAtOnce": 2,
"BlockNearPlayer": {
"IgnoreTeam": true,
"PlayerDistance": 5.0,
"UsePlayerDistance": true
},
"DestroyOnDeath": true,
"DestroyOnDisconnect": true,
"GlobalSpawnCooldownTimer": 10.0,
"UseCombatBlocked": true,
"UseRaidBlocked": true
},
"UiPermission": "vehiclespawner.ui",
"UsePermission": "vehiclespawner.use"
}
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容