Class Prefix
java.lang.Object
studio.magemonkey.codex.mccore.chat.Prefix
Unlockable Prefix Data
-
Constructor Details
-
Prefix
Constructor for prefixes with white square braces- Parameters:
pluginName- name of the plugin that gives the prefixprefix- prefix text (with colors)
-
Prefix
Constructor for prefixes with colored square braces- Parameters:
pluginName- name of the plugin that gives the prefixprefix- prefix text (with colors)braceColor- color of the braces containing the prefix
-
-
Method Details
-
tag
- Returns:
- tag for the prefix
-
pluginName
- Returns:
- the name of the plugin that gives this prefix
-
text
- Returns:
- the text of the prefix including colors
-
textWithoutColor
- Returns:
- the text of the prefix without colors
-
toString
Represents the prefix as a string for config saving
-