Игры Фуги / Fuga Games
[Ru] Плагин, который воссоздаёт режим "Игры Фугы" Твич-стримера 5opka. [Eng] A plugin that recreates the "Igry Fugi" mode of Twitch streamer 5opka.
Игры Фуги / Fuga Games
[Ru]
📜 Описание
Плагин "Игры Фуги" повторяет популярную мини-игру от Twitch-Стримера 5opka. Это простой плагин с базовым функционалом, который будет постепенно расширяться. На данный момент реализованы основные механики, необходимые для игры, а также встроен кастомный чат.
🔧 Текущий функционал
Основные функции:
- Таймер: Когда игрок умирает, он автоматически переводится в режим зрителя. - Таймер: Игрока могут возрождать администраторы, и они телепортируются на точку спавна. - Таймер: Плагин поддерживает использование префиксов для различных групп игроков: администраторов, обычных игроков и мёртвых. Префиксы могут быть настроены через конфигурационные файлы. - Таймер: Плагин имеет свой собственный чат, который поддерживает кастомизацию цветов сообщений через конфигурационные файлы. Цвета можно настраивать для каждой группы. - Таймер: Плагин поддерживает использование HEX цветов в чате и табе, но только для администраторов. - Таймер: Игроки сортируются в табе на основе их группы и веса, назначенного через LuckPerms. - Таймер: Добавлена команда для установки таймера с указанием времени в секундах, минутах и часах. Таймер можно остановить командой `/fuga timer stop`.
🛠️ Команды для Админов:
- /fuga timer <время>/<stop> - возродить игрока. - /fuga timer <время>/<stop> - добавление игрока в определенную группу (например, администраторы, игроки, мёртвые). - /fuga timer <время>/<stop> - удаление игрока из группы. - /fuga timer <время>/<stop> - можно выдать себе просто палку (просто прописав /fuga stick) или указать ей любое название. - /fuga timer <время>/<stop> - включить/выключить просмотр чата умерших для Администрации. - /fuga timer <время>/<stop> - запустить или остановить таймер (s - секунды, m - минуты, h - часы).
📁 Файлы конфигурации
Config
config.yml
```yaml
Тут будет базовая настройка плагина
Примечание к функционалу — 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
```yaml
Мёртвый
dead-group: prefix: "&8☠ " player-color: "&8" ```
Messages
messages.yml
```yaml
Сообщение, отображаемое, когда команда может быть использована только игроками
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
The "Fuga Games" plugin replicates the popular mini-game by Twitch streamer 5opka. It's a simple plugin with basic functionality, which will be expanded over time. Currently, it includes the core mechanics needed for the game, as well as a built-in custom chat system.
🔧 Current Features
Main Features:
- Timer: When a player dies, they are automatically put into spectator mode. - Timer: Players can be revived by admins and are teleported to the spawn point. - Timer: The plugin supports prefixes for different player groups: admins, regular players, and dead players. Prefixes can be configured via configuration files. - Timer: The plugin has its own chat system that supports message color customization through configuration files. Colors can be set for each group. - Timer: The plugin supports HEX colors in chat and the tab list, but only for admins. - Timer: Players are sorted in the tab list based on their group and the weight assigned through LuckPerms. - Timer: A command has been added to set a timer specifying the time in seconds, minutes, or hours. The timer can be stopped with the `/fuga timer stop` command.
🛠️ Admin Commands:
- /fuga timer <time>/<stop> - Revive a player. - /fuga timer <time>/<stop> - Add a player to a specific group (e.g., admins, players, dead). - /fuga timer <time>/<stop> - Remove a player from a group. - /fuga timer <time>/<stop> - Give yourself a stick (just type /fuga stick) or give it any name. - /fuga timer <time>/<stop> - Toggle viewing dead players' chat for admins. - /fuga timer <time>/<stop> - Start or stop the timer (s - seconds, m - minutes, h - hours).
---
📁 Configuration Files
Config
config.yml
```yaml
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
```yaml
Dead player
dead-group: prefix: "&8☠ " player-color: "&8" ```
Messages
messages.yml
```yaml
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" ```
---
The plugin is currently under active development, with new features and improvements coming in the future. Leave your suggestions and feedback to help improve and motivate further development!
*This plugin is a fan project, created to replicate the atmosphere of 5opka's games for Minecraft.*