权限
此插件使用权限系统。要分配权限,请使用oxide.grant <user or group> <name or steam id> <permission>。要删除权限,请使用oxide.revoke <user or group> <name or steam id> <permission>。- publicquarrylock.quarryonly
当使用权限为true时。允许玩家使用采石场。默认名称,但可以在config中修改 - publicquarrylock.pumpjackonly
当使用权限为true时。允许玩家使用pumpjack。默认名称,但可以在config中修改 - publicquarrylock.admin
绕过管理员的采石场/泵千斤顶战利品保护
命令
此插件使用相同的语法提供聊天和控制台命令。在聊天中使用命令时,请在其前面加上正斜杠: “/”。- quarry(玩家)
- quarryclear(Admin)
- quarrystop(玩家)
命令名可以在配置文件中修改
配置
设置和选项可以在PublicQuarryLock文件下的config目录。建议使用编辑器和验证程序,以避免格式问题和语法错误。
代码:
{
"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,
"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
}