- Для версий
- 1.16.✘
- 1.17.✘
- 1.18.✘
- 1.19.✘
- 1.20.✘
- 1.21.✘
- 26.✘
- Исходный код
- https://github.com/SuperCHIROK1/PLl
- Зависимости
- PlaceholderAPI
🎨 PlayerThemes - Позволь игрокам выбрать свою тему. Работает с PlaceholderAPI. Плагин позволяет игрокам выбрать тему, которые есть в конфигурации. Идеально подходит для чата, таб-листа, холограмм и других плагинов, поддерживающих плейсхолдеры.
Требования:
Для работы плагина нужен PlaceholderAPI 2.11.6+ (Скачать)
Функционал:
Нашли баг, есть вопрос или идея? Напишите нам в GitHub Issues или в Telegram.
Требования:
Для работы плагина нужен PlaceholderAPI 2.11.6+ (Скачать)
Функционал:
- Поддержка MiniMessage
- Свои плейсхолдеры в PlaceholderAPI
- Проверка прав игроков для выбора тем
- Игрок использует команду /themes select <тема> для выбора темы.
- Плагин сохраняет выбранную тему для игрока.
- Любой плагин с поддержкой PlaceholderAPI может использовать плейсхолдеры плагина.
- %pth_id% - Идентификатор темы.
- %pth_name% - Название темы.
- %pth_theme% - Цвета темы.
YAML:
# Main plugin settings.
settings:
# Send usage statistics? (anonymous)
metrics: true
# Message formatting.
# legacy - &color.
# minimessage - <color>.
# More about MiniMessage: https://docs.papermc.io/adventure/minimessage/format/
colorizer: minimessage
# Plugin localization.
# Available: en, ru.
# You can suggest a translation at:
# https://github.com/SuperCHIROK1/PlayerThemes/issues
localization: en
# Data settings.
data:
# Save path and file name.
# Do not add .yml at the end, the plugin will add it automatically.
path: 'data'
# Permissions settings.
permissions:
# Reload the plugin. (/themes reload)
reload: 'playerthemes.reload'
# Select a theme. (/themes select <theme>)
install: 'playerthemes.install'
# Set a theme for other players. (/themes select <theme> <player>)
install_other: 'playerthemes.install.other'
# Default theme (from 'themes' list).
default_theme: 'red'
# Themes configuration.
# You can add your own.
themes:
red:
name: 'Red'
value: '&c'
green:
name: 'Green'
value: '&a'
yellow:
name: 'Yellow'
value: '&e'
#
# <theme_id>: (%pth_id%)
# name: 'Theme name (%pth_name%)'
# value: 'Theme colors (%pth_theme%)'
# permission: 'Permission required to use this theme'
# YAML:
# Translated by SuperCHIROK1
# https://github.com/SuperCHIROK1
# Plugin messages.
messages:
# Prefix (replaced by %prefix%)
prefix: '<b><gradient:#FFD900:#E7FF00>[PlayerThemes]</gradient></b><reset>'
no_perms: '%prefix% <red>You do not have permission to use this command!'
admin:
reloaded: '%prefix% <green>Configuration successfully reloaded!'
command:
player_not_found: '%prefix% <red>The player was not found or was offline.'
theme_installed: '%prefix% <green>The %s theme was installed successfully.'
theme_not_found: '%prefix% <red>Theme %s not found in <white>config.yml'
player_only: '%prefix% <red>You must be a player to perform this action.'
theme_no_perms: '%prefix% <red>You do not have permission to use this theme.'
usage: '%prefix% <white>Usage: <green>/themes select <theme> <?player>' YAML:
# Translated by SuperCHIROK1
# https://github.com/SuperCHIROK1
# Сообщения плагина.
messages:
# Префикс (заменяется от %prefix%)
prefix: '<b><gradient:#FFD900:#E7FF00>[PlayerThemes]</gradient></b><reset>'
no_perms: '%prefix% <red>У Вас нет полномочий, чтобы использовать данную команду!'
admin:
reloaded: '%prefix% <green>Конфигурация успешно перезагружена!'
command:
player_not_found: '%prefix% <red>Игрок не найден или не в сети.'
theme_installed: '%prefix% <green>Тема %s была успешно установлена'
theme_not_found: '%prefix% <red>Тема %s не найдена в <white>config.yml'
player_only: '%prefix% <red>Вы должны быть игроком, чтобы совершать данное действие.'
theme_no_perms: '%prefix% <red>У Вас нет полномочий, чтобы использовать данную тему.'
usage: '%prefix% <white>Использование: <green>/themes select <тема> <?игрок>'Нашли баг, есть вопрос или идея? Напишите нам в GitHub Issues или в Telegram.