rust上帝模式插件,开启无敌

Godmode允许玩家变得无懈可击和神一样。如果获得适当的许可,玩家还可以变得不疲倦(无限奔跑/新陈代谢),免受抢劫等等。

权限

该插件使用权限系统。要分配权限,请使用

oxide.grant <user or group> <name or steam id> <permission>. 要删除权限,请使用

oxide.revoke <user or group> <name or steam id> <permission>.

  • godmode.admin/god <name/id>— 允许玩家使用命令启用/禁用其他玩家的神模式。
  • godmode.toggle— 允许玩家使用 /god 命令在自己身上启用/禁用上帝模式。
  • godmode.invulnerable— 保护神免受一切伤害。
  • godmode.lootplayers— 允许神自由掠夺其他神。
  • godmode.lootprotection— 防止其他玩家掠夺神。
  • godmode.noattacking— 防止上帝攻击其他玩家。
  • godmode.untiring— 让神拥有无限奔跑和新陈代谢。
  • godmode.autoenable— 当玩家进入服务器时,Godmode 会自动开启

提示:要授予所有权限,只需使用godmode.*as 权限。

命令

该插件使用相同的语法提供聊天和控制台命令。在聊天中使用命令时,请在其前面加上正斜杠:`/`。

该插件提供通用聊天和控制台命令。在聊天中使用命令时,请在其前面加上正斜杠/或您在 中配置的符号oxide.config.json

‘god’ 控制台命令被 rust 的 ‘god’ 控制台命令覆盖

  • god— 开启/关闭玩家的上帝模式;需要godmode.toggle许可
  • god <name or id>— 开启/关闭目标玩家的神模式;需要godmode.admin许可
  • gods— 列出所有启用了上帝模式的玩家;需要godmode.admin许可

配置

可以在目录

Godmode下的文件中配置设置和选项

config。建议使用编辑器和验证器来避免格式​​问题和语法错误。

复制
{
"Inform On Attack (true/false)": true,
"Show Name Prefix (true/false)": true,
"Name Prefix (Default [God])": "[God]",
"Time Limit (Seconds, 0 to Disable)": 0.0,
"Disable godmode after disconnect (true/false)": false,
"Chat Prefix": "[Godmode]:",
"Chat Prefix color": "#00FFFF",
"Chat steamID icon": 0,
"God commands": [
"god",
"godmode"
],
"Gods commands": [
"gods",
"godlist"
]
}
{
  "Inform On Attack (true/false)": true,
  "Show Name Prefix (true/false)": true,
  "Name Prefix (Default [God])": "[God]",
  "Time Limit (Seconds, 0 to Disable)": 0.0,
  "Disable godmode after disconnect (true/false)": false,
  "Chat Prefix": "[Godmode]:",
  "Chat Prefix color": "#00FFFF",
  "Chat steamID icon": 0,
  "God commands": [
    "god",
    "godmode"
  ],
  "Gods commands": [
    "gods",
    "godlist"
  ]
}
{ "Inform On Attack (true/false)": true, "Show Name Prefix (true/false)": true, "Name Prefix (Default [God])": "[God]", "Time Limit (Seconds, 0 to Disable)": 0.0, "Disable godmode after disconnect (true/false)": false, "Chat Prefix": "[Godmode]:", "Chat Prefix color": "#00FFFF", "Chat steamID icon": 0, "God commands": [ "god", "godmode" ], "Gods commands": [ "gods", "godlist" ] }

本土化翻译

默认消息位于目录

Godmode下的文件中

lang/en。要添加对另一种语言的支持,请创建一个新的语言文件夹(例如

de德语)(如果尚未创建),将默认语言文件复制到新文件夹,然后自定义消息。

复制
{
"GodmodeDisabled": "You have <color=#FF4500>Disabled</color> godmode",
"GodmodeDisabledBy": "Your godmode has been <color=#FF4500>Disabled</color> by {0}",
"GodmodeDisabledFor": "You have <color=#FF4500>Disabled</color> godmode for {0}",
"GodmodeEnabled": "You have <color=#00FF00>Enabled</color> godmode",
"GodmodeEnabledBy": "Your godmode has been <color=#00FF00>Enabled</color> by {0}",
"GodmodeEnabledFor": "You have <color=#00FF00>Enabled</color> godmode for {0}",
"InformAttacker": "{0} is in godmode and can't take any damage",
"InformVictim": "{0} just tried to deal damage to you",
"CantAttack": "you is in godmode and can't attack {0}",
"NoGods": "No players currently have godmode enabled",
"NoLooting": "You are not allowed to loot a player with godmode",
"NotAllowed": "You are not allowed to use the '{0}' command",
"PlayerNotFound": "Player '{0}' was not found"
}
{
  "GodmodeDisabled": "You have <color=#FF4500>Disabled</color> godmode",
  "GodmodeDisabledBy": "Your godmode has been <color=#FF4500>Disabled</color> by {0}",
  "GodmodeDisabledFor": "You have <color=#FF4500>Disabled</color> godmode for {0}",
  "GodmodeEnabled": "You have <color=#00FF00>Enabled</color> godmode",
  "GodmodeEnabledBy": "Your godmode has been <color=#00FF00>Enabled</color> by {0}",
  "GodmodeEnabledFor": "You have <color=#00FF00>Enabled</color> godmode for {0}",
  "InformAttacker": "{0} is in godmode and can't take any damage",
  "InformVictim": "{0} just tried to deal damage to you",
  "CantAttack": "you is in godmode and can't attack {0}",
  "NoGods": "No players currently have godmode enabled",
  "NoLooting": "You are not allowed to loot a player with godmode",
  "NotAllowed": "You are not allowed to use the '{0}' command",
  "PlayerNotFound": "Player '{0}' was not found"
}
{ "GodmodeDisabled": "You have <color=#FF4500>Disabled</color> godmode", "GodmodeDisabledBy": "Your godmode has been <color=#FF4500>Disabled</color> by {0}", "GodmodeDisabledFor": "You have <color=#FF4500>Disabled</color> godmode for {0}", "GodmodeEnabled": "You have <color=#00FF00>Enabled</color> godmode", "GodmodeEnabledBy": "Your godmode has been <color=#00FF00>Enabled</color> by {0}", "GodmodeEnabledFor": "You have <color=#00FF00>Enabled</color> godmode for {0}", "InformAttacker": "{0} is in godmode and can't take any damage", "InformVictim": "{0} just tried to deal damage to you", "CantAttack": "you is in godmode and can't attack {0}", "NoGods": "No players currently have godmode enabled", "NoLooting": "You are not allowed to loot a player with godmode", "NotAllowed": "You are not allowed to use the '{0}' command", "PlayerNotFound": "Player '{0}' was not found" }
© 版权声明
THE END
苦逼小编求支持
点赞8赞赏 分享
相关推荐
评论 抢沙发
头像
欢迎您留下宝贵的见解!
提交
头像

昵称

取消
昵称表情代码图片快捷回复

    暂无评论内容