Игры Фуги / Fuga Games

插件

· 作者 G4rby

[中文] 一个重现 Twitch 主播 5opka 的“Игры Фуги”(逃跑游戏)模式的插件。

0 本站下载 0 关注 更新于 2 年前

最新 1.1 · 1.20.1 · Bukkit / Paper

一键开服(送7天)

[Ru]

? 描述

“Fuga Games”插件复刻了 Twitch 主播 5opka 的热门小游戏。这是一个功能基础且简单的插件,未来将逐步扩展。目前实现了游戏所需的核心机制,并内置了自定义聊天系统。

? 当前功能

主要功能:

  • 死亡后进入观察者模式: 当玩家死亡时,会自动将其切换为观察者模式。
  • 复活系统: 管理员可以复活玩家,并将其传送回重生点。
  • LuckPerms 前缀系统: 插件支持为不同玩家组(如管理员、普通玩家和已故玩家)设置前缀。前缀可通过配置文件进行自定义。
  • 内置聊天: 插件拥有独立的聊天系统,支持通过配置文件自定义消息颜色。可为每个组单独配置颜色。
  • HEX 颜色支持: 插件支持在聊天和标签页(Tab)中使用 HEX 颜色,但仅限管理员使用。
  • 按权限权重排序: 玩家在 Tab 列表中的排序依据其所属组及 LuckPerms 中分配的权重值。
  • 计时器: 新增命令用于设置计时器,可指定秒、分钟或小时为单位。可通过 /fuga timer stop 命令停止计时器。

?️ 管理员命令:

  • /fuga reborn <玩家> - 复活指定玩家。
  • /fuga teamadd <玩家> <组名> - 将玩家添加到特定组(例如:管理员、玩家、已故)。
  • /fuga teamremove <玩家> - 将玩家从组中移除。
  • /fuga stick <棍子名称> - 给自己一根棍子(仅输入 /fuga stick),或为其指定任意名称。
  • /fuga deathchat - 开启/关闭管理员查看已故玩家聊天的功能。
  • /fuga timer <时间>/<stop> - 启动或停止计时器(s - 秒, m - 分钟, h - 小时)。

? 配置文件

Config config.yml
# 此处为插件的基础设置
# 功能备注 — true > 启用 | false > 禁用

# 是否禁用玩家加入/离开服务器
player-join: true
player-leave: true

# 显示玩家名称标签
player-nametag: true

# 聊天格式
players-chat: "<player-prefix> <player> &8: &f<message>"
dead-chat: "<dead-group> <player> &8: &8<message>"
Groups groups.yml
# 已故玩家组
dead-group:
  prefix: "&8☠ "
  player-color: "&8"
Messages messages.yml
# 当命令仅限玩家使用时显示的消息
only-players-message: "&c只有玩家才能使用此命令"

# 玩家获得棍子时显示的消息
stick-received-message: "&a已授予名为 <stickName> 的棍子"

# 错误使用 /fuga reborn 命令时显示的消息
usage-revive-message: "&c用法: /fuga reborn <昵称>"

# 未找到玩家时的错误消息
player-not-found-message: "&c未找到该玩家"

# 玩家被复活时显示的消息 (ActionBar)
revive-message: "&6玩家 <player> 已被复活"

# 玩家不在观察者模式时的错误消息
not-spectator-message: "&c玩家不在观察者模式"

# 玩家加入游戏时的消息
player-join-message: "&e<player> 加入了游戏"

# 玩家退出游戏时的消息
player-quit-message: "&e<player> 退出了游戏"

# /fuga reborn 命令用法提示
reborn-usage: "&c用法: /fuga reborn <昵称>"

# 错误消息:未找到玩家
player-not-found: "&c未找到该玩家"

# 错误消息:玩家不在观察者模式
not-spectator: "&c玩家不在观察者模式"

# 错误使用 /fuga 命令时的提示
command-usage: "&c用法: /fuga stick <名称>, /fuga reborn <昵称>, /fuga deathchat, 或 /fuga timer <时间> <单位>"

# 玩家死亡时显示的消息 (ActionBar)
player-death-message: "&c<player> 被淘汰"

# 计时器命令用法提示
timer-usage: "&c用法: /fuga timer <时间> <单位> 或 /fuga timer stop"

# 错误消息:无效的时间值
invalid-time-message: "&c无效的时间值"

# 错误消息:时间必须大于零
time-must-be-positive-message: "&c时间必须大于零"

# 错误消息:无效的单位
invalid-unit-message: "&c无效的单位。请使用 s, m 或 h"

# 计时器已运行时显示的消息
timer-already-running-message: "&c计时器已在运行中。"

# 计时器启动时显示的消息
timer-started-message: "&a计时器已启动,持续时间为 <time> <unit>"

# 计时器未运行时显示的消息
timer-not-running-message: "&c计时器未在运行"

# 计时器停止时显示的消息
timer-stopped-message: "&a计时器已停止"

# 时间结束时显示的消息
time-up-message: "&6时间到!"

# ActionBar 中计时器的显示格式
timer-actionbar-format: "&6⌛ <time>"

# 玩家关闭已故玩家聊天视图时显示的消息
disable-deathchat-message: "&a您不再看到已故玩家的聊天消息"

# 玩家开启已故玩家聊天视图时显示的消息
enable-deathchat-message: "&a现在您可以看到已故玩家的聊天消息"

本插件正处于积极开发阶段,未来将添加更多功能和改进。欢迎留下您的建议和反馈,以帮助进一步完善插件并提供创作动力!

本插件为粉丝项目,旨在重现 5opka 在 Minecraft 游戏中的氛围。

? Description

“Fuga Games”插件复刻了 Twitch 主播 5opka 的热门小游戏。这是一个功能基础且简单的插件,未来将逐步扩展。目前实现了游戏所需的核心机制,并内置了自定义聊天系统。

? Current Features

主要功能:

  • 死亡后进入旁观者模式: 玩家死亡后,会自动进入旁观者模式。
  • 重生系统: 管理员可以复活玩家,并将其传送回出生点。
  • LuckPerms 前缀系统: 插件支持为不同玩家组设置前缀:管理员、普通玩家和已死亡玩家。前缀可通过配置文件进行配置。
  • 内置聊天: 插件拥有独立的聊天系统,支持通过配置文件自定义消息颜色。可为每个组设置颜色。
  • HEX 颜色支持: 插件支持在聊天和标签页列表中使用 HEX 颜色,但仅限管理员使用。
  • 按权限权重排序玩家: 玩家在标签页列表中的顺序根据其所属组以及通过 LuckPerms 分配的权重进行排序。
  • 计时器: 添加了命令用于设置计时器,可指定秒、分钟或小时。可使用 /fuga timer stop 命令停止计时器。

?️ 管理员命令:

  • /fuga reborn <player> - 复活一名玩家。
  • /fuga teamadd <player> <group> - 将玩家添加到特定组(例如:admins、players、dead)。
  • /fuga teamremove <player> - 从组中移除玩家。
  • /fuga stick <stick name> - 给自己一根木棍(直接输入 /fuga stick)或为其命名。
  • /fuga deathchat - 切换管理员查看已死亡玩家聊天的状态。
  • /fuga timer - 启动或停止计时器(s - 秒,m - 分钟,h - 小时)。

? 配置文件

Config config.yml
# Basic plugin settings
# Feature note — true > Enable | false > Disable

# Disable player join/leave messages
player-join: true
player-leave: true

# Show player name tags
player-nametag: true

# Chat format
players-chat: "<player-prefix> <player> &8: &f<message>"
dead-chat: "<dead-group> <player> &8: &8<message>"
Groups groups.yml
# Dead player
dead-group:
  prefix: "&8☠ "
  player-color: "&8"
Messages messages.yml
# Message displayed when only players can use the command
only-players-message: "&cOnly players can use this command"

# Message displayed when a player receives a stick
stick-received-message: "&aStick named: <stickName> has been given"

# Message displayed when /fuga reborn is used incorrectly
usage-revive-message: "&cUse: /fuga reborn <name>"

# Error message when the player is not found
player-not-found-message: "&cPlayer not found"

# ActionBar message displayed when a player is revived
revive-message: "&6Player <player> has been revived"

# Error message when the player is not in spectator mode
not-spectator-message: "&cPlayer is not in spectator mode"

# Player join message
player-join-message: "&e<player> joined the game"

# Player quit message
player-quit-message: "&e<player> left the game"

# Command /fuga reborn
reborn-usage: "&cUse: /fuga reborn <name>"

# Error message: player not found
player-not-found: "&cPlayer not found"

# Error message: player not in spectator mode
not-spectator: "&cPlayer is not in spectator mode"

# Incorrect use of the /fuga command
command-usage: "&cUse: /fuga stick <name>, /fuga reborn <name>, /fuga deathchat, or /fuga timer <time> <unit>"

# ActionBar player death message
player-death-message: "&c<player> has died"

# Timer command usage
timer-usage: "&cUse: /fuga timer <time> <unit> or /fuga timer stop"

# Error message: invalid time value
invalid-time-message: "&cInvalid time value"

# Error message: time must be greater than zero
time-must-be-positive-message: "&cTime must be greater than zero"

# Error message: invalid time unit
invalid-unit-message: "&cInvalid time unit. Use s, m, or h"

# Message displayed when the timer is already running
timer-already-running-message: "&cTimer is already running."

# Message displayed when the timer is started
timer-started-message: "&aTimer started for <time> <unit>"

# Message displayed when the timer is not running
timer-not-running-message: "&cTimer is not running"

# Message displayed when the timer is stopped
timer-stopped-message: "&aTimer stopped"

# Message displayed when the time is up
time-up-message: "&6Time's up!"

# ActionBar timer display format
timer-actionbar-format: "&6⌛ <time>"

# Message displayed when dead player chat view is disabled
disable-deathchat-message: "&aYou no longer see dead player messages"

# Message displayed when dead player chat view is enabled
enable-deathchat-message: "&aYou now see dead player messages"

该插件目前处于积极开发阶段,未来将推出更多功能和改进!请留下您的建议和反馈,以帮助提升插件并激励进一步开发!

本插件是一个粉丝项目,旨在重现 Minecraft 中 5opka 游戏的氛围。

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

评论 0

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

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源