插件介绍
允许管理员锁定权限
<...> - Required Argument, (...) - Optional Argument
After running the /lockdoor command you will need to use your primary fire keybind (defaults to left mouse click) and be aiming at a door to lock it, this process is also the same for any command that interacts with doors, however it is not true for the category commands, except for /setcategory
Note: Even if Allow Damage To Locked Doors is false the door frame and foundation can still be damaged. Also deactivated doors will remain undamageable.
主要用途
主要用于door、permission、lock、权限等服务端功能。 本插件由 TheForbiddenAi 发布,当前目录记录版本为 v2.0.0,uMod 累计下载 7,962 次。
适用场景
- 希望扩展原版服务器功能的服主
功能分类
查看 uMod 官方英文简介
Allows admins to lock doors to permissions
权限节点
doorpermissions.lockdoor - Allows players to use to /lockdoor.
doorpermissions.unlockdoor - Allows players to use to /unlockdoor.
doorpermissions.activatedoor - Allows players to use to /activatedoor.
doorpermissions.deactivatedoor - Allow players to use to /deactivatedoor.
doorpermissions.viewdoorinfo - Allows players to use to /viewdoorinfo
doorpermissions.setdoorname - Allows players to use to /setdoorname
doorpermissions.setteleportdoor - Allows players to use to /setteleportdoor
doorpermissions.setteleportpoint - Allows players to use to /setteleportpoint
doorpermissions.setcategory - Allows players to use to /setcategory
doorpermissions.setcategoryname - Allows players to use to /setcategoryname
doorpermissions.addcategoryperm - Allows players to use to /addcategoryperm
doorpermissions.removecategoryperm - Allows players to use to /removecategoryperm
doorpermissions.createcategory - Allows players to use to /createcategory
doorpermissions.deletecategory - Allows players to use to /deletecategory
doorpermissions.viewcategoryinfo - Allows players to use to /viewcategoryinfo
doorpermissions.viewcategories - Allows players to use to /viewcategories
授权示例:oxide.grant user 玩家名 权限节点;撤销使用 oxide.revoke。
指令说明
<...> - Required Argument, (...) - Optional Argument
/lockdoor <permissions...> - Lock a door to a specific permission set. Permissions are space deliminated and the prefix doorpermissions.door. is implied.
/unlockdoor (permissions...) - Remove a certain permission set from a door's unlock permissions, or remove them all by using /unlockdoor.
/activatedoor - Reactivate a door, doors will automatically deactivate if they are broken to prevent conflicts.
/deactivatedoor - Deactivate a door, meaning that the lock will be turned off until reactivated.
/viewdoorinfo - View a door's state (activated or deactivated) and it's permission set.
/setdoorname <name> - Set a door's name, currently does not serve much use.
/setteleportdoor - Makes it so when you go to open/close the door it will teleport you through it rather than the door opening.
/setteleportpoint - Creates a teleport point, either an entrance or an exit the plugin will automatically detect which it is.
/setcategory <id> - Sets a door's category.
/setcategoryname <id> <name> - Sets a category's name, currently does not serve much use.
/addcategoryperm <id> <permissions...> - Adds a permission to a category, all doors within a category inherit it's permisssions. Permissions are space deliminated and the prefix doorpermissions.door. is implied.
/removecategoryperm <id> <permissions...> - Removes a permission from a category, all doors within a category inherit it's permisssions. Permissions are space deliminated and the prefix doorpermissions.door. is implied.
/createcategory <name> (permissions...) - Create's a category with the given name and optional permission set.
/deletecategory <id> - Deletes a category.
/viewcategoryinfo <id> - View a category's name and permission set.
/viewcategories - View all created categories's names and ids.
配置说明
{ "Date File Version - DO NOT MODIFY": "2.0.0", "Send No Permissons Message When Opening Door Without Required Permissions": true, "Allow Damage To Locked Doors": false, "Should Delete Doors On Category Deletion": false }
Note: Even if Allow Damage To Locked Doors is false the door frame and foundation can still be damaged. Also deactivated doors will remain undamageable.
官方配置示例
{
"Date File Version - DO NOT MODIFY": "2.0.0",
"Send No Permissons Message When Opening Door Without Required Permissions": true,
"Allow Damage To Locked Doors": false,
"Should Delete Doors On Category Deletion": false
}更新日志
本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面。
安装方法
- 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
- 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
- 将 .cs 文件放入服务器的
oxide/plugins目录。 - 观察服务端控制台,确认插件编译并成功加载。
- 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。
使用前注意
- Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
- 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
- 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
- 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。