Managing color tags in-game

Jul 11, 2020
Managing color tags in-game
  • Managing color tags in-game
    There is two ways which you can manage color tags with Iridescent: using commands, or directly in the colors.yml file. For beginners I suggest to manage them using commands, as the risk of crashing the plugin is minimal. Managing the color tags in the colors.yml file can be faster, however a typo anywhere can lead to many complications.

    Creating tags with commands

    Creating tags with the /iridescent create command is easy after doing it a couple of times. The command requires two parameters: the hex color code, and the tag name. Below is an example of the command's syntax:

    [​IMG]
    It is important to note that even though hex color codes and color tags are are found in between a lesser than (<) and greater than (>) symbols, when using the command those should be left out like shown above.

    There is however some limitations which apply to the tag name. These are as follow:
    - The tag name must be alphanumerical (A-Z, a-z, 0-9)
    - The tag name must be between 1 and 13 characters long
    - The tag name must not have a duplicate

    Deleting tags with commands

    Deleting tags is even simpler than creating them, with the command /iridescent delete. It only requires one parameter, it being the name of the tag that should be deleted. Below is an example of the command's syntax

    [​IMG]
    The same way that the "<, >" symbols are left out when creating the tag, they should be left out for this command too.

    Listing the available tags

    In case you want to see what color tags are available for use, you can use the /iridescent list command. Similarly to the delete command, it takes one parameter which dictates what color page will be displayed. There is 10 colors per page, so if you got 25 color tags the parameter will accept any page number between 1 and 3. Below is an example of the command's syntax

    [​IMG]
    If you input a value above the last page's number, the command will display the last color page.
  • Loading...
  • Loading...