Java Code Examples for org.bukkit.ChatColor#LIGHT_PURPLE
The following examples show how to use
org.bukkit.ChatColor#LIGHT_PURPLE .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ScoreboardSlot.java From 1.13-Command-API with Apache License 2.0 | 5 votes |
/** * Determines the scoreboard slot value based on an internal Minecraft integer * @param i the scoreboard slot value */ public ScoreboardSlot(int i) { //Initialize displaySlot switch(i) { case 0: displaySlot = DisplaySlot.PLAYER_LIST; break; case 1: displaySlot = DisplaySlot.SIDEBAR; break; case 2: displaySlot = DisplaySlot.BELOW_NAME; break; default: displaySlot = DisplaySlot.SIDEBAR; break; } //Initialize teamColor switch(i) { case 3: teamColor = ChatColor.BLACK; break; case 4: teamColor = ChatColor.DARK_BLUE; break; case 5: teamColor = ChatColor.DARK_GREEN; break; case 6: teamColor = ChatColor.DARK_AQUA; break; case 7: teamColor = ChatColor.DARK_RED; break; case 8: teamColor = ChatColor.DARK_PURPLE; break; case 9: teamColor = ChatColor.GOLD; break; case 10: teamColor = ChatColor.GRAY; break; case 11: teamColor = ChatColor.DARK_GRAY; break; case 12: teamColor = ChatColor.BLUE; break; case 13: teamColor = ChatColor.GREEN; break; case 14: teamColor = ChatColor.AQUA; break; case 15: teamColor = ChatColor.RED; break; case 16: teamColor = ChatColor.LIGHT_PURPLE; break; case 17: teamColor = ChatColor.YELLOW; break; case 18: teamColor = ChatColor.WHITE; break; default: teamColor = null; break; } }
Example 2
Source File: MiscUtil.java From CardinalPGM with MIT License | 5 votes |
public static ChatColor convertDyeColorToChatColor(DyeColor dye) { switch (dye) { case WHITE: return ChatColor.WHITE; case ORANGE: return ChatColor.GOLD; case MAGENTA: return ChatColor.LIGHT_PURPLE; case LIGHT_BLUE: return ChatColor.BLUE; case YELLOW: return ChatColor.YELLOW; case LIME: return ChatColor.GREEN; case PINK: return ChatColor.RED; case GRAY: return ChatColor.DARK_GRAY; case SILVER: return ChatColor.GRAY; case CYAN: return ChatColor.DARK_AQUA; case PURPLE: return ChatColor.DARK_PURPLE; case BLUE: return ChatColor.DARK_BLUE; case BROWN: return ChatColor.GOLD; case GREEN: return ChatColor.DARK_GREEN; case RED: return ChatColor.DARK_RED; case BLACK: return ChatColor.BLACK; } return ChatColor.WHITE; }
Example 3
Source File: MiscUtil.java From CardinalPGM with MIT License | 5 votes |
public static ChatColor convertBannerColorToChatColor(DyeColor dye) { switch (dye) { case WHITE: return ChatColor.WHITE; case ORANGE: return ChatColor.GOLD; case MAGENTA: return ChatColor.LIGHT_PURPLE; case LIGHT_BLUE: return ChatColor.BLUE; case YELLOW: return ChatColor.YELLOW; case LIME: return ChatColor.GREEN; case PINK: return ChatColor.RED; case GRAY: return ChatColor.DARK_GRAY; case SILVER: return ChatColor.GRAY; case CYAN: return ChatColor.DARK_AQUA; case PURPLE: return ChatColor.DARK_PURPLE; case BLUE: return ChatColor.BLUE; case BROWN: return ChatColor.GOLD; case GREEN: return ChatColor.DARK_GREEN; case RED: return ChatColor.DARK_RED; case BLACK: return ChatColor.BLACK; } return ChatColor.WHITE; }
Example 4
Source File: PluginNameConversationPrefix.java From Kettle with GNU General Public License v3.0 | 4 votes |
public PluginNameConversationPrefix(Plugin plugin) { this(plugin, " > ", ChatColor.LIGHT_PURPLE); }
Example 5
Source File: XPArgument.java From AnnihilationPro with MIT License | 4 votes |
@Override public String getHelp() { return ChatColor.LIGHT_PURPLE+"XP [add,substract] <amount> <player>--"+ChatColor.GREEN+"adds or subtracts XP from a from player."; }
Example 6
Source File: KitArgument.java From AnnihilationPro with MIT License | 4 votes |
@Override public String getHelp() { return ChatColor.LIGHT_PURPLE+"Kit [add,remove] <kit> <player>--"+ChatColor.GREEN+"adds or removes a kit from a player."; }
Example 7
Source File: MonumentModes.java From CardinalPGM with MIT License | 4 votes |
public String toChatMessage() { String strike = hasRan() ? ChatColor.STRIKETHROUGH + "" : ""; return ChatColor.GOLD + strike + "${index}. " + ChatColor.LIGHT_PURPLE + strike + name + " - " + ChatColor.AQUA + strike + Strings.formatTime(getTimeAfter()) + ChatColor.DARK_AQUA + strike + (GameHandler.getGameHandler().getMatch().isRunning() ? " (" + Strings.formatTime(Math.max(getTimeAfter() - MatchTimer.getTimeInSeconds(), 0)) + " left)" : ""); }