rProfiles

Удивительный плагин на профили игроков, с уникальной системой айди и не только!

команда /profile у игрока facelss

All the detailed information about this plugin is here.

Не found the information you need? You can find out about it from me on my Telegram.

Adding colors in §x§r§r§r§g§g§g§b§b§b format - supported, in the future #RRRGGBB and &#RRRGGBB I suggest this site for easy translation and embellishment of the xRRRGGBB message

Required plugins:

To work with many of my plugins you need to use the well-known and popular plugin - LuckPerms. It is used to interact with the permissions and functions of the plugin.

To begin with, the plugin uses this plugin in terms of rights. The player needs this right - rprofile.profile , this right is given by default to the player.

Also this plugin interacts with the main part - the display of the parameter “privilege”. This system works by setting suffix to the player /lp group name_group meta addsuffix 0 “Name of privilege”. The system on my project works like this - the prefix is put using resource pack (it is the first letter of the privilege name), and in the suffix format - the full name of the privilege, in the future I will rewrite this to an adequate variation for many servers. P.S: I have already rewritten the plugin for prefixes.

It is displayed in the “Privilege” parameter in this way - group prefix. I will describe in more detail the points below.

Parameter: Игрок/Player

This parameter is displayed first. It displays the real nickname of the player who is written in the /profile command. Unfortunately there is no support for nickname spoofing (/nick), I seriously condemn such cases!

Parameter: Айди/ID

This parameter is not used in any way yet, but it can be used by many plugin developers for their own purposes if you wish. You can contact me for other support!

The ID is output, which is added to the ids.yml file, and the parameters of gender, language, and registration date are also recorded there.

Parameter: УУИд/UUID

This parameter outputs the original, non-substitutable official UUID of the player.

This is a 128-bit number that Minecraft uses as a label to distinguish between individual instances.

Substitution of this parameter is also seriously condemned.

Parameter: Выбранный язык/Language

Gender can be set with the command /gender Male/Female, I may be wrong about the parameters as I am writing from memory. At the moment it's just setting it to just text to this parameter.

Parameter: Пол/Gender

Language can be set with the command /language Русский/English/Українська, this command also sets the text in these parameters, if you know 1 of these languages and want in the future to receive information in these languages - wait for updates.

Parameter: Date of registration/Дата регистрации

This parameter displays information when the player first registered on the server. Here I did not require information from other plugins on registration, because there are a lot of them.

The plugin simply enters into the ids.yml parameter the information when the player first entered the server when this plugin is present.

That is - the administration of the plugin did not put the plugin on January 2, and put the plugin on January 3, and the server exists 2 years, in this case, all players will be registered on January 3, to change these parameters of course you can, but pointless and long.

Parameter: Привилегия/Privilege

The current parameter outputs PREFIX from LUCKPERMS, which means that only the prefix of the group will be output. No other way.

If the user wants another option to withdraw the privilege - write to me in Telegram, I will be happy to do it for a small monetary fee.

ids.yml: Конфигурация внутренней базы данных/Internal database configuration.

This file contains information in this format:

ids.yml
4025a66e-347b-375f-99fd-3cd7ccfa192c: // UUID player "faceless"
  id: '476508' // Уникальный iD
  registrationDate: 30.12.2024 14:54 // Дата регистрации
  language: english // Язык
  gender: мужской // Гендер

Of course substitution is possible here, for example language: Arabic, it is quite possible, but I repeat - there is no point.

config.yml: Локализация плагина/Plugin localization.

This file localizes and configures the plugin.

config.yml
# config.yml - RProfile
#
# Support for HEX colors seems to be implemented.
# I suggest https://www.birdflop.com/resources/rgb/
# Example of coloring in this format: §x§3§8§3§8§C§C, it will definitely work.
#
profile:
  enabled: false  # Enable or disable the /profile command
  message: "The command is disabled in the config."  # Message when the command is disabled

lang:
  profile: "You do not have permission to execute this command."  # Message when lacking permission to use /profile

# Messages for the /language command
language:
  usage: "Usage: /language <language>"  # Usage instruction for the /language command
  invalid: "Invalid language specified. Available options: Русский, English, Українська."  # Message for invalid language input
  changed: "Language changed to: %language%"  # Message upon successful language change
  error: "An error occurred while changing the language."  # Message when there is an error changing the language

# Messages for the /gender command
gender:
  usage: "Usage: /gender <gender>"  # Usage instruction for the /gender command
  invalid: "Invalid gender specified. Available options: Male, Female."  # Message for invalid gender input
  changed: "Gender changed to: %gender%"  # Message upon successful gender change
  error: "An error occurred while changing the gender."  # Message when there is an error changing the gender

It seems to be clear here, I've already added comments to the config, so when you install the plugin you get a “mini-wiki” in config.yml

Last updated