Package net.gcnt.additionsplus.main
Class Utils
java.lang.Object
net.gcnt.additionsplus.main.Utils
-
Field Summary
Modifier and TypeFieldDescriptionstatic boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
static boolean
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
static double
executeScript(String s)
static Utils
get()
double
org.bukkit.command.CommandMap
int
getExpAtLevel(int level)
org.bukkit.Color
getHEXColor(String string)
getInWorld(String s)
getLanguage(String s)
static String
getLanguage(ActionSender sender)
static String
getLanguage(org.bukkit.entity.Player p)
boolean
getListValue(String s)
getPermission(String s)
int
getVaultGroup(String s)
List<org.bukkit.World>
boolean
boolean
boolean
boolean
void
logToConsole(String arg1, boolean arg2)
parseStatics(String s, ActionSender sender)
parseStatics(String s, org.bukkit.entity.Player p)
parseStatics(List<String> strings, ActionSender sender)
void
registerCommand(String plugin, org.bukkit.command.Command command)
replaceHEXColors(String string)
static void
sendCenteredMessage(ActionSender player, String message)
void
sendCooldownMessage(org.bukkit.entity.Player p, String message, long cooldown)
void
setTotalExperience(org.bukkit.entity.Player player, int exp)
-
Field Details
-
placeholderAPI
public static boolean placeholderAPI -
protocolLib
public static boolean protocolLib -
bungeecord
public static boolean bungeecord -
vault
public static boolean vault -
vaultHalf
public static boolean vaultHalf -
mvdwplaceholderAPI
public static boolean mvdwplaceholderAPI -
headDatabase
public static boolean headDatabase -
minetopiaSDB
public static boolean minetopiaSDB -
askyblock
public static boolean askyblock -
skywars
public static boolean skywars -
itemsadder
public static boolean itemsadder
-
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
get
-
getLanguage
-
getLanguage
-
sendCenteredMessage
-
eval
-
c
-
logToConsole
-
getPrice
-
getWorld
-
getPermission
-
getInWorld
-
getNoPermission
-
sendCooldownMessage
-
getVaultGroup
-
getNoVaultGroup
-
getListValue
-
getChance
-
calculateChance
-
getLanguage
-
executeScript
-
calculateIfChances
-
parseStatics
-
parseStatics
-
c
-
parseStatics
-
isInt
-
isLong
-
isDouble
-
isFloat
-
replaceHEXColors
-
getHEXColor
-
getCommandMap
public org.bukkit.command.CommandMap getCommandMap() -
registerCommand
-
setTotalExperience
public void setTotalExperience(org.bukkit.entity.Player player, int exp) -
getExpAtLevel
public int getExpAtLevel(int level)
-