mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-06 12:25:33 +00:00
Added removeNick, removeSuffix, and removePrefix to remove each respective feature
This commit is contained in:
@ -164,7 +164,9 @@ class PlayerList
|
||||
lastMessage,
|
||||
nickName,
|
||||
tag,
|
||||
suffix;
|
||||
suffix,
|
||||
defaultColor;
|
||||
|
||||
private ArrayList<String> ignoreList;
|
||||
private commandList aliasList;
|
||||
|
||||
@ -429,6 +431,22 @@ class PlayerList
|
||||
//=====================================================================
|
||||
public String getSuffix() { return suffix; }
|
||||
|
||||
//=====================================================================
|
||||
//Function: setColor
|
||||
//Input: String newTag: The color to set for the player
|
||||
//Output: None
|
||||
//Use: Sets a player color
|
||||
//=====================================================================
|
||||
public void setColor(String newColor){ defaultColor = newColor; }
|
||||
|
||||
//=====================================================================
|
||||
//Function: getColor
|
||||
//Input: None
|
||||
//Output: String: The player color
|
||||
//Use: Gets a player color
|
||||
//=====================================================================
|
||||
public String getColor() { return defaultColor; }
|
||||
|
||||
//=====================================================================
|
||||
//Function: setMessage
|
||||
//Input: String newName: The name of the player they last messaged
|
||||
|
||||
Reference in New Issue
Block a user