插件介绍
公共采石场锁适用于 PVE 服务器,用于保护静态采石场和抽油机上的战利品。
permission name can be modified in config file. user lowercase permission names
view quarry and pumpjack status
Reset quarry / pumpjack lock status
move fuel from the fuel tank , to the output hopper. If the hopper is full, fuel will be dropped on the ground under hopper. Quarry will run for a shot time untill the remaining fuel in the engine is consumed.
主要用途
主要用于PVE、quarry、pumpjack等服务端功能。 本插件由 Lorenzo 发布,当前目录记录版本为 v1.0.34,uMod 累计下载 7,791 次。
适用场景
- PVE、活动服或任务玩法服务器
功能分类
查看 uMod 官方英文简介
Public Quarry Lock is for PVE server, to protect loot on static quarry and pump jack.
权限节点
publicquarrylock.quarryonlywhen Use Permission is true. allow player to use the quarry. default name but can be modified in config
publicquarrylock.pumpjackonlywhen Use Permission is true. allow player to use the pumpjack. default name but can be modified in config
publicquarrylock.adminto bypass quarry/pumpjack loot protection by admins
permission name can be modified in config file. user lowercase permission names
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
quarry ( Players )
view quarry and pumpjack status
quarryclear ( Admin )
Reset quarry / pumpjack lock status
quarrystop ( players )
move fuel from the fuel tank , to the output hopper. If the hopper is full, fuel will be dropped on the ground under hopper. Quarry will run for a shot time untill the remaining fuel in the engine is consumed.
command name can be modified in config file
相关依赖
- Clans
- Dynamic PVP
- UI Notify
- Zone Manager
配置说明
{ "Use permission": false, "PermissionAdmin": "publicquarrylock.admin", "Permission for quarry only": "publicquarrylock.quarryonly", "Permission for pumpjack only": "publicquarrylock.pumpjackonly", "Permission bypass global cooldown": "publicquarrylock.bypassglobalcooldown", "Allow access to quarry without permission (will not lock)": false, "Enable for mining quarry": true, "Enable for pump jack": true, "Enable player quarry": false, "Enable player pumpjack": false, "CoolDown before releasing mining quarry (min)": 5.0, "Send quarry available message to all": true, "Enable engine loot after it is started, to add fuel": true, "Use Teams": true, "Use Clans plugin": false, "Use clan table": false, "Use DynamicPVP to disable lock in PVP zones": false, "CoolDown in min. before a player or team can restart the quarry (0 is disabled)": 30.0, "Usage cooldown to all quarry": true, "Maximum stack size for diesel engine (-1 to disable function)": -1, "Number of slots for diesel storage (-1 to disable function)": -1, "Number of slots for output storage (-1 to disable function)": -1, "Time per barrel of diesel in second (-1 to disable function, default time 125 sec)": -1, "Gather Multipliers": { "global": 1.0, "stones": 1.0, "metal.ore": 1.0, "hq.metal.ore": 1.0, "sulfur.ore": 1.0, "lowgradefuel": 1.0, "crude.oil": 1.0 }, "quarry chat command": "quarry", "Quarry clear status": "quarryclear", "Quarry stop command": "quarrystop", "Empty the output hopper when quarry/pumpjack start": false, "Clear quarry lock after all player from team/clan disconnect": false, "Clear quarry lock after player owner disconnect": false, "Time after all player disconnect before quarry clear (minutes)": 10, "Items in report list": [ "stones", "metal.ore", "metal.fragments", "hq.metal.ore", "metal.refined", "sulfur.ore", "sulfur", "lowgradefuel", "crude.oil" ], "Use Discord hook": false, "Use Discord timestamp": true, "Discord hook url": "", "Use Notify plugin": false, "Debug": false, "Log to file": false }
Use permission: false
set to true if you want to use permission system for quarry / pumpjack
PermissionAdmin : "publicquarrylock.admin"
Name of the permission for admin functions
"PermissionUse: "publicquarrylock.quarryonly",
Name of the permission when Use permission is set to true, to be able to use quarry
"PermissionUse: "publicquarrylock.pumpjackonly",
Name of the permission when Use permission is set to true, to be able to use pumpjack
"Permission bypass global cooldown": "publicquarrylock.bypassglobalcooldown"
Permission for VIP class of players to bypass the cooldown.
Enable for mining quarry : true
Use plugin on static mining quarry ( those already on the map)
Enable for pump jack : true
Use plugin on static pumpjack quarry ( those already on the map)
Enable player quarry and pumpjack : false
Use the plugin on player placed quarry and pumpjack
CoolDown before releasing mining quarry (min) : 5.0
The player using the public quarry / pumpjack receive a message when the quarry turn off.this is number of minutes after the engine turn off and before it unlock the output to all players.Time is in minutes
Send quarry available message to all : true,
After the cooldown, control if a broadcast is send to all players
Enable engine loot after it is started, to add fuel : true
allow looting of the fuel tank after the engine is started.If false, it stop player adding fuel to extend usage.
Use Teams: true
team members will share quarry / pumpjack operation (rust team)
官方配置示例
{
"Use permission": false,
"PermissionAdmin": "publicquarrylock.admin",
"Permission for quarry only": "publicquarrylock.quarryonly",
"Permission for pumpjack only": "publicquarrylock.pumpjackonly",
"Permission bypass global cooldown": "publicquarrylock.bypassglobalcooldown",
"Allow access to quarry without permission (will not lock)": false,
"Enable for mining quarry": true,
"Enable for pump jack": true,
"Enable player quarry": false,
"Enable player pumpjack": false,
"CoolDown before releasing mining quarry (min)": 5.0,
"Send quarry available message to all": true,
"Enable engine loot after it is started, to add fuel": true,
"Use Teams": true,
"Use Clans plugin": false,
"Use clan table": false,
"Use DynamicPVP to disable lock in PVP zones": false,
"CoolDown in min. before a player or team can restart the quarry (0 is disabled)": 30.0,
"Usage cooldown to all quarry": true,
"Maximum stack size for diesel engine (-1 to disable function)": -1,
"Number of slots for diesel storage (-1 to disable function)": -1,
"Number of slots for output storage (-1 to disable function)": -1,
"Time per barrel of diesel in second (-1 to disable function, default time 125 sec)": -1,
"Gather Multipliers": {
"global": 1.0,
"stones": 1.0,
"metal.ore": 1.0,
"hq.metal.ore": 1.0,
"sulfur.ore": 1.0,
"lowgradefuel": 1.0,
"crude.oil": 1.0
},
"quarry chat command": "quarry",
"Quarry clear status": "quarryclear",
"Quarry stop command": "quarrystop",
"Empty the output hopper when quarry/pumpjack start": false,
"Clear quarry lock after all player from team/clan disconnect": false,
"Clear quarry lock after player owner disconnect": false,
"Time after all player disconnect before quarry clear (minutes)": 10,
"Items in report list": [
"stones",
"metal.ore",
"metal.fragments",
"hq.metal.ore",
"metal.refined",
"sulfur.ore",
"sulfur",
"lowgradefuel",
"crude.oil"
],
"Use Discord hook": false,
"Use Discord timestamp": true,
"Discord hook url": "",
"Use Notify plugin": false,
"Debug": false,
"Log to file": false
}{
"QuarryOff": "<color=#FF1500>- {1} at {0} just turn off !</color>",
"QuarryCoolDown": "<color=#FF1500>- You have {0} min. to get the ore, before quarry unlock to all</color>",
"QuarryInUse": "<color=#FFA500>{2} at {1} currently in use by {0}</color>",
"QuarryStartEngine": "{1} started for {0,2:F0} minutes",
"QuarryStartEngineHM": "{2} started for {0,2:F0} hour, {1,2:F0} minutes",
"QuarryStartEngineNolock": "{0} started in Dynamic PVP zone (not locked)",
"QuarryStarted": "{2} at {1}, started by {0}. loot is protected",
"QuarryStoped": "{2} at {1}, stopped and is available to all",
"QuarryFuel": "<color=#FFA500>{1} currently running with {0} fuel in storage</color>",
"QuarryPlCooldown": "{1} player cooldown will expire in {0} min.",
"QuarryAvailableIn": "{1} at {0} will be available in {1,2:F0} min.",
"QuarryClearStatus": "Clearing the status of mining quarry and pump jack",
"MiningQuarry": "Mining quarry",
"PumpJack": "pump jack"
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。