免费插件

Staffmode

员工模式

开启/关闭员工模式

importedadministration服务器管理moderation日志

原作者:DezLife · 查看 uMod 官方页面 ↗

插件介绍

开启/关闭员工模式

Staffmode is a plugin that allows the toggling from one group (or set) to another group (set). This plugin is intended for staff groups, but it can be used to toggle other groups.

Note, the command used below is the default command. If you changed the command in the config, use that one instead of "/staffmode"

So, what's the purpose of this plugin?This plugin's soul purpose is to provide time frames in which playing staff members could potentially abuse. By using an OffDutyGroup, a staff member's permissions could be limited until they toggle into their OnDutyGroup. This can drastically reduce the time it takes to investigate potential abusive staff.

For example:Off Duty Group Permissions - mute, kick, banOn Duty Group Permissions - noclip, vanish, remove, unlock chests, force tp, ect.

主要用途

主要用于imported、administration、服务器管理、moderation等服务端功能。 本插件由 DezLife 发布,当前目录记录版本为 v1.2.3,uMod 累计下载 14,904 次。

适用场景

  • 需要管理、审计或维护能力的服务器

功能分类

importedadministration服务器管理moderation日志
查看 uMod 官方英文简介

Toggle on/off staff mode

指令说明

/staffmode - Toggles staff status if granted permission(s) - command interchangeable.

/staffmode group create [groupname] - Creates a group in the "Staffmode_Groups" data file

/staffmode group remove [groupname] - Removes a group from the "Staffmode_Groups" data file

/staffmode group edit [groupname] - Adds a group to the editor

checkgroups - Runs data check

Editing values:

/staffmode edit [value] [setting]

offdutygroup

Must be an existing oxide permission group

ondutygroup

Must be an existing oxide permission group

authlevel

Must be 0, 1 or 2

permission

Can be a duplicate permission, but warning will be given

配置说明

{ "ConfigVersion": "1.2.0", "Debug": { "CheckGroupDataOnLoad": false, "Dev": false }, "GameplaySettings": { "CanAttack": true, "CanBeTargetedByHeliAndTurrets": true, "CanLootPlayer": true, "ShowMessages": true }, "Settings": { "AnnounceOnToggle": true, "Command": "staffmode", "DisconnectOnToggle": true, "EditPermission": "staffmode.canedit", "EnableGroupToggle": true, "LogOnToggle": true, "PluginPrefix": "<color=orange>[StaffMode]</color>" } }

PluginPrefix - Determines the prefix of the plugin when sending messages. If you want to disable the prefix, remove the prefix but leave the quotes.

EditPermission - Customizable permission node that is required to use the "/staffmode group" or "/staffmode edit" command. This permission is not required to use "/staffmode"

AnnounceOnToggle - If true, a message will broadcast to the rest of the server when a person uses /toggle.

LogOnToggle - If true, a message will be logged to console when a person uses /staffmode.

DisconnectOnToggle - If true, the person who toggles is forced to disconnect (see note below about Auth Level)

EnableGroupToggle - If true, the plugin will change the groups of a player when they /staffmode, and check for null group settings.

CheckGroupDataOnLoad - Runs data check when the plugin is loaded.

Dev - Disables disconnecting after toggle but leaves messages in place. Not meant for non-testing uses.

ConfigVersion - Version number that can trigger a config update message (if one is needed).

CanAttack - Determines if the player (in staffmode) can attack/gather/shoot/etc. anything, nullifies damage if set to false.

CanBeTargetedByHeliAndTurrets - Determines if the player (in staffmode) can be targeted by the helicopter or turrets.

CanLootPlayer - Determines if the player (in staffmode) can loot other players' bodies. Does not block looting chests.

ShowMessages (modifiers only) - Determines if messages "OnAttack" and "OnLootPlayer" are shown.

官方配置示例

{
  "ConfigVersion": "1.2.0",
  "Debug": {
    "CheckGroupDataOnLoad": false,
    "Dev": false
  },
  "GameplaySettings": {
    "CanAttack": true,
    "CanBeTargetedByHeliAndTurrets": true,
    "CanLootPlayer": true,
    "ShowMessages": true
  },
  "Settings": {
    "AnnounceOnToggle": true,
    "Command": "staffmode",
    "DisconnectOnToggle": true,
    "EditPermission": "staffmode.canedit",
    "EnableGroupToggle": true,
    "LogOnToggle": true,
    "PluginPrefix": "<color=orange>[StaffMode]</color>"
  }
}
{
  "ToggleOnAnnounce": "{player.name} has switched to staff mode. They can now use staff commands.",
  "ToggleOffAnnounce": "{player.name} has switched to player mode. They can no longer use staff commands.",
  "ToggleOn": "You have switched to staff mode!",
  "ToggleOff": "You have switched to player mode!",
  "Disconnect": "You will be disconnected in {seconds}, please reconnect to update your auth level.",
  "ToggleOnLog": "{player.name} is now in staff mode.",
  "ToggleOffLog": "{player.name} is now out of staff mode.",
  "NoPermission": "You do not have permission to use this command.",
  "Reconnect": "You will be kicked in 5 seconds to update your status. Please reconnect!",
  "Corrupt": "A group you tried to toggle into is corrupt, please check console for more information.",
  "Usage": "Usage: /{0} {1} {2} {3}",
  "AlreadyExists": "This group already exists.",
  "DoesNotExist": "This group doesn't exists.",
  "RemovedGroup": "Removed group '{group}' successfully",
  "CreatedGroup": "Created group '{group}' successfully.",
  "NoGroups": "No groups have been configured properly. Check console for data check.",
  "EditingGroup": "Now editing group '{group}.'",
  "NotEditingGroup": "You are not editing a group.",
  "UpdatedValue": "Updated '{0}' to '{1}' for group '{2}.'",
  "OnAttack": "You cannot attack while in staff mode.",
  "OnLootPlayer": "You cannot loot another player while in staff mode."
}

更新日志

最新版本: v1.2.3
最后版本发布: 2018-08-05
最后更新(条目): 2026-07-18

本站记录 uMod 官方插件信息。完整的历史更新日志请参阅 uMod 官方页面

安装方法

  1. 确认服务器已安装 Oxide / uMod 或兼容的 Carbon 框架。
  2. 登录本站后点击"下载",由 uMod 官方地址获取作者发布的文件。
  3. 将 .cs 文件放入服务器的 oxide/plugins 目录。
  4. 观察服务端控制台,确认插件编译并成功加载。
  5. 具体配置、权限、指令和依赖请查看原作者的 uMod 页面。

使用前注意

  • Rust 更新后,请先确认插件是否仍兼容当前服务端版本。
  • 修改配置前建议备份原配置文件,并在测试服验证后再部署到正式服。
  • 若插件依赖其他扩展或库,以 uMod 原作者页面的最新说明为准。
  • 本站中文内容用于辅助理解,遇到版本差异时以官方英文文档和源码为准。
来源说明

中文介绍由 uMod 官方简介翻译整理。插件著作权、许可证、完整文档和最新发布状态均以原作者及 uMod 官方页面为准。