Fake AFK
允许玩家基于 Carpet Mod 创建假人,而不会显著改变游戏平衡
该模组只需存在于服务端即可运行,且需要安装 Carpet Mod
命令
/afk:ready 执行后,当你下线时会在你当前位置生成一个假人,上线时该假人会消失
/afk:summon 召唤你的假人持续 5 分钟,你可以给它物品,或者杀死它以获取它拾取的物品——由于时间有限,一些需要两人协作的简单任务可以完成,但复杂任务则不行
/afk:name 重命名你的假人。所有名称都需要包含一个 "-",普通用户名则不能包含,这样可以明确区分谁是真实玩家
(此限制对拥有操作权限的玩家无效,因此请谨慎使用,让服务器上的其他玩家充当你的挂机假人几乎肯定会引发问题!)
配置
Fake AFK 的配置和数据位于 config/fake_afk.txt 中,内容如下:
| 名称: 默认值 |
描述 |
| name_permission_level: 0 |
使用 /afk:name 所需的权限等级 |
| ready_permission_level: 0 |
使用 /afk:ready 所需的权限等级 |
| summon_permission_level: 0 |
使用 /afk:summon 所需的权限等级 |
| allow_real_names_permission_level: 3 |
使用 /afk:name 允许不含 "-" 的名称所需的权限等级 |
| mspt_kick_limit: -1 |
如果 mspt 超过限制,踢出挂机玩家。默认情况下 Minecraft 目标为 50mspt,因此设置为 100 意味着当游戏运行速度减半时会踢出玩家(-1 表示禁用) |
| mspt_kick_type: 1 |
每分钟检查一次,如果 mspt 超过限制,应采取什么措施?: 1 - 踢出挂机时间最长的玩家 2 - 踢出所有挂机玩家 |
| max_afk_limit: -1 |
同时最多允许多少人处于挂机状态 |
| max_afk_type: 1 |
当新玩家尝试挂机时,应采取什么措施?: 1 - 踢出挂机时间最长的玩家 2 - 不允许更多挂机玩家 |
| max_afk_ticks: -1 |
玩家可以挂机的最大刻数,-1 表示无限制 |
| max_summon_ticks: 6000 |
玩家可以通过 /afk:summon 召唤假人的最大刻数,-1 表示无限制 |
| names: |
玩家为其假人命名的列表: |
| 9c3adf8d-a723-... nettakrim-is-afk |
<uuid> <name> |
参考权限等级定义:
ALL = 0 - 所有人
MODERATORS = 1 - 可以在出生地区块建造的人
GAMEMASTERS = 2 - 拥有 /gamerule、/fill、/execute、/tp 等权限的人(命令方块、数据包等也具备此级别)
ADMINS = 3 - 拥有 /kick、/ban、/op 等权限的人
OWNERS = 4 - 拥有 /stop、/save 等权限的人
Fake AFK
Allows players to create fake players from Carpet Mod without significantly changing the games balance
The mod only needs to exist server-side, and it requires Carpet Mod to work
Commands
/afk:ready after running, a Fake Player will be created at your position when you log off, and disappear once you log back on
/afk:summon summons your Fake Player for 5 minutes, so you can give it items, or kill it to get any items it picked up - the limited time means some simple tasks that require two people can be done, but anything complex cant
/afk:name rename your Fake Player, all names need to include a "-", which regular usernames can't, so its always clear who is a real player
(this restriction is removed for opped players, so be careful, having another player on your server as your afk player will almost certainly cause issues!)
Config
Fake AFK's config and data can be found in config/fake_afk.txt, and looks like this:
| name: default value |
description |
| name_permission_level: 0 |
permission level needed for /afk:name to be usable |
| ready_permission_level: 0 |
permission level needed for /afk:ready to be usable |
| summon_permission_level: 0 |
permission level needed for /afk:summon to be usable |
| allow_real_names_permission_level: 3 |
permission level needed for /afk:name to allow names without - |
| mspt_kick_limit: -1 |
kicks afk players if the mspt goes above the limit, by default minecraft aims for 50mspt, so a limit of 100 will mean if the game is running at half speed it kicks (-1 for disabled) |
| mspt_kick_type: 1 |
every minute, if the mspt is over the limit, what should happen?: 1 - kick player whose been fake afk the longest 2 - kick all fake afk players |
| max_afk_limit: -1 |
max number of people who can be fake afk at once |
| max_afk_type: 1 |
when a new person tries to afk, what should happen?: 1 - kick player whose been fake afk the longest 2 - dont allow more fake afk players |
| max_afk_ticks: -1 |
max time in ticks people can fake afk for, -1 is unlimited |
| max_summon_ticks: 6000 |
max time in ticks people can /afk:summon their fake players for, -1 is unlimited |
| names: |
list of what people have named their fake players: |
| 9c3adf8d-a723-... nettakrim-is-afk |
<uuid> <name> |
For reference, this is what the permission levels are:
ALL = 0 - everyone
MODERATORS = 1 - people who can build in spawn chunks
GAMEMASTERS = 2 - people with /gamerule, /fill, /execute, /tp, ... (also the level command blocks, datapacks etc. have)
ADMINS = 3 - people with /kick, /ban, /op, ...
OWNERS = 4 - people with /stop, /save
评论 0
登录后参与评分
还没有评论,来抢沙发吧