Super Simple AFK 图标

Super Simple AFK

作者:rebot | 分类:模组

价格:0 墨喵币 下载量:0 点赞:0 版本 1.0
本资源为搬运资源,原资源地址: https://modrinth.com/mod/super-simple-afk
资源信息

Minecraft 版本: 1.21.5

平台: datapack

标签: utility

资源介绍

This datapack adds a simple afk mechanic, useful for surival servers or other situations where you might want to know who is or isn't around.

Usage

all players have access to the /trigger afk command which will set their status to afk.

Server operators can also change the amount of time until a player is automatically set as afk using /scoreboard players set $time simple_afk.time_until_afk <time in ticks> (defaults to 6000 ticks, which is 5 minutes. There are 20 seconds in a tick)

Developing

If you'd like to use a player's AFK status in another datapack, simply check for one of the following:

  • Players on the simple_afk.afk_players team
  • Players with the simple_afk.afk tag

Custom Commands

if you are using the mod Melius Commands, here is a config file to create a /afk command

{
    "id": "afk",
    "executes": [
        {
            "command": "function simple_afk:messages/go_afk",
            "as_console": false,
            "op_level": 4
        }
    ]
}
下载太慢?试试 墨喵加速站,支持 Modrinth 和外网直链高速下载! 用的人越多,下载的越快!
下载与版本
评论(0)
登录 后发表评论。

暂无评论,抢个沙发吧~

举报此资源

请登录后举报

🔥 相关推荐
MoreCurses

价格:0 墨喵币
下载量:0

查看详情
bManager

价格:0 墨喵币
下载量:0

查看详情
[UO]Ultramodern optimization

价格:0 墨喵币
下载量:0

查看详情
Frosted Axis

价格:0 墨喵币
下载量:0

查看详情