public class Sanction extends Object
Constructor and Description |
---|
Sanction(String key,
Configuration config) |
Modifier and Type | Method and Description |
---|---|
String |
getCommand() |
ItemStack |
getItem(OfflinePlayer cible) |
String |
getKey() |
List<String> |
getLore() |
static int |
getMaxSlot(List<Sanction> list) |
String |
getMessage() |
String |
getName() |
String |
getPermission() |
int |
getSlot() |
boolean |
hasPermission(Player p) |
public Sanction(String key, Configuration config)
public String getKey()
public String getName()
public String getMessage()
public int getSlot()
public String getPermission()
public boolean hasPermission(Player p)
public String getCommand()
public ItemStack getItem(OfflinePlayer cible)