AfkLimboConnector

插件

· 作者 DippyCoder

AfkLimboConnector 允许你将挂机玩家发送到特定的 Limbo 服务器

0 本站下载 0 关注 更新于 7 个月前

最新 1.1.0 · 26.1.2 · Paper / Purpur

一键开服(送7天)

AFK LIMBO CONNECTOR

这是一个与 Velocity 配合使用的 Minecraft 插件。但它是一个 PaperMC 插件。

为什么它只支持 PaperMC 而不支持 Velocity? -> 它确实需要 Velocity 来连接子服务器,但插件必须安装在 PaperMC 服务器上,因为 Velocity 没有 Activity Listeners(活动监听器)。

功能:

  • 闲置时踢出 / 转移功能
  • 闲置时的警告和操作
  • 权限绕过
  • 配置重载命令
  • 所有消息均可编辑
  • 可编辑的时间间隔
  • 控制台记录闲置日志
  • 多 Limbo 支持(带优先级)
  • 基于权限的 Limbo 系统(如果启用)
  • 警告和解除闲置的声音(可选,可配置)

配置:

剧透
# AfkLimboConnector Configuration
# Made by DippyCoder

# Time (in seconds) before sending warning
warning-time: 40

# Time (in seconds) before executing action (kick or move)
action-time: 60

# What happens when player is AFK too long? (MOVE or KICK)
action-type: "MOVE"

# ---------------------------------------------------------------------------
# Multi-Limbo (priority list)
# ---------------------------------------------------------------------------
# Servers are tried in order. If the player is still online after
# limbo-fallback-delay seconds, the next server in the list is tried.
# You can also keep a single entry if you only have one limbo.
limbo-servers:
  - "limbo"
  #- "limbo-1"
  #- "limbo-2"

# How many seconds to wait before trying the next server (default: 5)
limbo-fallback-delay: 5

# ---------------------------------------------------------------------------
# Permission-based limbos
# ---------------------------------------------------------------------------
# When enabled, players with a matching permission are sent to a specific
# server list instead of the default limbo-servers list.
# Entries are checked top-to-bottom — first match wins.
# Can be disabled entirely by setting enabled: false.
perm-limbos:
  enabled: false
  entries:
    - permission: "afklimbo.vip"
      servers:
        - "limbo-vip"
        - "limbo"
    - permission: "afklimbo.premium"
      servers:
        - "limbo-premium"
        - "limbo"

# ---------------------------------------------------------------------------
# Sounds
# ---------------------------------------------------------------------------
sounds:
  #Find all sounds at https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html

  # Warning sound — plays when the AFK warning message is sent
  warning:
    enabled: true
    sound: "BLOCK_NOTE_BLOCK_BELL"
    volume: 1.0
    pitch: 1.0
    # SINGLE: plays once when the warning triggers
    # CONSTANT: repeats every interval-ticks until the player moves or is sent
    mode: "CONSTANT"
    # Only used in CONSTANT mode (in ticks, 20 = 1 second)
    interval-ticks: 3

  # Un-AFK sound — plays when a warned player moves again BEFORE being sent
  # Does NOT play if the player was already sent to limbo
  unafk:
    enabled: true
    sound: "BLOCK_LEVER_CLICK"
    volume: 1.0
    pitch: 1.2

# ---------------------------------------------------------------------------
# Bypass
# ---------------------------------------------------------------------------
bypass:
  enabled: false
  permission: "afklimbo.bypass"

# Should log to console when an action happens?
log-actions: true

# ---------------------------------------------------------------------------
# Messages (§ color codes supported)
# ---------------------------------------------------------------------------
messages:
  warning: "§8[§b§lAFK§r§8] §eYou have been inactive! You will be moved to limbo soon."
  timeout: "§8[§b§lAFK§r§8] §cYou are being moved to limbo..."
  move: "§8[§b§lAFK§r§8] §aYou are no longer AFK."
  kick: "§8[§b§lAFK§r§8] §cYou were kicked for being AFK too long!"
  no-permission: "§8[§b§lAFK§r§8] §cYou don't have permission to use this command!"
  usage: "§8[§b§lAFK§r§8] §eUsage: /afklimbo reload"
  reload: "§8[§b§lAFK§r§8] §aAfkLimboConnector configuration reloaded!"

你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源