Перейти к содержимому
Mineforgian

Renk - Color Customization

A plugin for name color customization via hex codes or predefined colors.

Загрузки
294
Подписчики
2
Обновлён
12 февраля 2025 г.
Лицензия
GPL-3.0-only

Опубликован 8 февраля 2025 г.

Renk - A Simple Color Plugin

Renk is a plugin that allows players to customize their display name color. It uses hex color codes and translates them to the closest supported Minecraft color for team-based name tag coloring.

Features

  • Players can change or reset their color using commands.
  • Admins can set the color of other players.
  • Player colors are saved to a JSON file (plugins/Renk/player_colors.json) and applied when they join.
  • Supports hex color codes (e.g., #FF0000) and predefined color names (e.g., red, blue, green).
  • Utilizes the MiniMessage library for formatting color codes and messages.
  • Uses Scoreboard Teams to approximate the player's display name color on their nametag.
  • Configuration file (config.yml) for customizing messages.

Commands

  • /renk <#hex | color_name>: Changes the player's own color to the specified hex color or predefined color name. Examples: /renk #FF0000, /renk red.
  • /renk set <player> <#hex | color_name>: Allows admins to set the color of another player. Examples: /renk set Kikaru #00FF00, /renk set Kikaru green.
  • /renk reset: Resets the player's own color to the default.
  • /renk reset <player>: Allows admins to reset another player's color.

Predefined Colors

The following color names can be used instead of hex codes: black, dark_blue, dark_green, dark_aqua, dark_red, dark_purple, gold, gray, dark_gray, blue, green, aqua, red, light_purple, yellow, white.

Permissions

  • renk.use: Allows the use of the /renk command.
  • renk.set.other: Allows the use of the /renk set command to change the color of other players.
  • renk.reset.other: Allows the use of the /renk reset command to reset the color of other players.

Configuration

The plugin uses a config.yml file located in the plugins/Renk/ directory to store configurable messages. You can customize the messages that are displayed to players by modifying this file. Use color codes with MiniMessage.

Ченджлог

1.3Релиз1.21.4 · 12 февраля 2025 г.

Renk 1.3

  • Predetermined colors can be changed now from config.yml
  • Plugin size hugely reduced (Thanks to piotrmaciejbednarski)
1.2Релиз1.21.4 · 9 февраля 2025 г.

Renk 1.2

  • Implemented Minecraft scoreboard teams for persistent player color formatting across relogs.
  • Added findClosestMinecraftColor() to map hex colors to Minecraft's default colors for team integration.
1.1Релиз1.21.4 · 8 февраля 2025 г.

Renk 1.1

  • Player colors are now stored in a player_colors.json file for easier management.
  • Added /renk reset to remove your color and /renk reset <player> (admin only).
  • Added renk.reset.other for admin control.
  • All messages are now configurable in the config.yml file.
  • Removed SQLite dependency.

Note: This update requires deleting the old user_colors.db file.

1.0Релиз1.21.4 · 8 февраля 2025 г.

Renk 1.0

  • Players can customize their display name color with hex codes or predefined colors.
  • Admins can set colors of other players.

Комментарии

Загружаем…