

Automatic Operator 最初是为了在 Fabric 上更轻松地测试服务端模组而创建的。默认情况下,Fabric 会选择一个随机名称(Player1 -> Player999)作为用户名。这在我需要作弊权限进行测试的开发服务器上导致了一些问题。此模组使得任何加入的玩家都会自动获得操作者(OP)权限。公开发布是考虑到可能其他人也有类似需求。
可以将其添加到整合包中,但请注意你的玩家可能不希望拥有此功能。因此,该模组默认处于禁用状态。
在配置文件中将 'enableAutomaticOperator' 设置为 true 以启用它。





所有可用的配置选项:
显示剧透
enableAutomaticOperator 默认 false
是否启用该模组。默认关闭以防止在整合包中出现意外行为。
onlyRunOnDedicatedServers 默认 true
该模组是否仅在专用服务器上运行。
onlyMakeSpecificPlayerNamesOP 默认 false
如果启用,只有 'specificOperatorPlayerNames' 中指定的玩家名称会被设为操作者。如果禁用,所有人都会成为操作者。
specificOperatorPlayerNames 默认 "Player1,Player2"
该模组会自动设为操作者的特定玩家名称。用逗号 ( , ) 分隔。

每当玩家登录时,他们都会自动成为服务器操作者(OP):
显示剧透


只要下载源保持在 CurseForge 或 Modrinth 生态系统中,您可以自由在任何整合包中使用此模组。
Serilum.com 包含所有可用模组的概览和更多信息。
如有问题、想法、建议或其他内容,请访问 Github 仓库。谢谢!


Automatic Operator was initially created to make testing server-side mods easier in Fabric. By default, Fabric chooses a random name (Player1 -> Player999) as the username. This caused some issues in the development server where I needed cheat-access for testing. This mod makes it so that any player that joins, is automatically given operator permission. Released to the public in case someone else has a use for it as well.
Can be added to modpacks, but keep in mind your players might not want this functionality. This is why the mod is disabled by default.
Set 'enableAutomaticOperator' in the config to true to enable it.





All available config options:
Show Spoiler
enableAutomaticOperator default false
If the mod should be enabled. Turned off by default to prevent unwanted behaviour in modpacks.
onlyRunOnDedicatedServers default true
If the mod should only run on dedicated servers.
onlyMakeSpecificPlayerNamesOP default false
If enabled, only player names specified in 'specificOperatorPlayerNames' will be made operators. If disabled, everyone will.
specificOperatorPlayerNames default "Player1,Player2"
The specific names of players that the mod automatically makes operators. Seperated by a comma ( , ).

Whenever a player logs in, they'll automatically be made a server operator (OP-ed):
Show Spoiler


You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.
Serilum.com contains an overview and more information on all mods available.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!
评论 0
登录后参与评分
还没有评论,来抢沙发吧