VRoles
Permissions mod for V Rising. It allows you to create roles and assign commands for permitted use per role.
模組介紹 作者原文
V Roles for V Rising
V Roles is a permissions mod for V Rising. It allows you to create roles and assign commands for permitted use per role.
Define who commands, and who obeys.
Thanks to the V Rising modding and server communities for ideas and requests!
Feel free to reach out to me on discord (odjit) if you have any questions or need help with the mod.
V Rising Modding Discord
Commands
Role Commands
-.role create (role) or.role c (role)
- Creates a new role. If the role already exists, it will notify you. Admin only.
-.role delete (role) or.role d (role)
- Deletes the specified role. If it doesn't exist, it will notify you. Admin only.
-.role list or.role l
- Lists all roles and which users are assigned to each. Admin only.
-.role list (player) or.role l (player)
- Lists all roles assigned to a specific player. Admin only.
-.role mine or.role my
- Lists your current roles.
-.role listcommands [role] or.role lc [role]
- Lists all commands allowed by the specified role.
- If no role is specified, shows commands available to everyone and commands disallowed to non-admins.
-.role add (player) (role) or.role a (player) (role)
- Assigns a role to a player. Will notify if the player already has the role. Admin only.
-.role remove (player) (role) or.role r (player) (role)
- Removes a role from a player. Will notify if the role wasn't assigned. Admin only.
-.role allow (command) [role] or.role ac (command) [role]
- Adds permission for a command to a role. Admin only.
- If no role is specified, allows the command for everyone.
- Add a subgroup command by joining with a. For example: To add.clan kick to a role, input clan.kick
- If a command is used by more than one, it will add the first it finds, or you can specify by adding the mod name first. For example: kindredcommands.give
-.role disallow (command) [role] or.role dc (command) [role]
- Removes a command from a role's permissions. Admin only.
- If no role is specified, disallows the command for everyone who isn't admin or doesn't have it via a role.
-.role allowgroup (group) [role] or.role ag (group) [role]
- Allows all commands in the specified command group for a role. Admin only.
- If no role is specified, allows all commands in the group for everyone.
-.role disallowgroup (group) [role] or.role dg (group) [role]
- Disallows all commands in the specified command group for a role. Admin only.
- If no role is specified, disallows all commands in the group for everyone who isn't admin or doesn't have them via a role.
Eventual To-Do/Possible features
- Come find out in the V Rising Modding Discord!
Credits
- As always, thanks to Deca for VampireCommandFramework. Additionally for use of his CommandContextExtensions and formatting.
This mod is licensed under the AGPL-3.0 license.
安裝與使用 安裝:BepInEx 外掛
- 本站下載的壓縮包就是模組本體,通常是 BepInEx 外掛(解壓後得到 .dll 或外掛資料夾)。
- 建議流程:用社群模組管理器(如 r2modman)選中本遊戲後匯入該模組,管理器會自動裝好 BepInEx 前置並處理依賴。
- 手動流程:先在遊戲目錄裝好 BepInEx 載入器,再把解壓出的 .dll 或外掛資料夾放進 BepInEx/plugins/。
- 啟動遊戲,BepInEx 控制台會列印載入日誌;確認這個模組出現在日誌裡即為安裝成功。
帶「前置依賴」的模組需要一併安裝,否則不會載入。功能開關通常在遊戲內或外掛自帶的設定檔裡調整。
下面這些內容需要先安裝,否則該模組不會生效: