Add Colored string to the alias, remove Double, use double

This commit is contained in:
Eric Stokes 2011-10-09 20:26:23 -06:00
parent bac24e1c97
commit aa079b2920
2 changed files with 11 additions and 2 deletions

View File

@ -51,8 +51,8 @@ public class MVWorld implements MultiverseWorld {
private Map<String, List<String>> masterList;
private Double scaling; // How stretched/compressed distances are
private Double price; // How much does it cost to enter this world
private double scaling; // How stretched/compressed distances are
private double price; // How much does it cost to enter this world
private int currency = -1; // What is the currency
private boolean hunger = true;
private Permission permission;

View File

@ -135,6 +135,15 @@ public interface MultiverseWorld {
*/
public ChatColor getColor();
/**
* Tells you if someone entered a valid color.
*
* @param color A string that may translate to a color.
*
* @return True if it is a color, false if not.
*/
public boolean isValidAliasColor(String color);
/**
* Returns a very nicely colored string (using Alias and Color if they are set).
*