Class Utils

java.lang.Object
net.gcnt.additionsplus.main.Utils

public class Utils extends Object
  • 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

      public static Utils get()
    • getLanguage

      public static String getLanguage(ActionSender sender)
    • getLanguage

      public static String getLanguage(org.bukkit.entity.Player p)
    • sendCenteredMessage

      public static void sendCenteredMessage(ActionSender player, String message)
    • eval

      public static double eval(String str)
    • c

      public String c(String arg)
    • logToConsole

      public void logToConsole(String arg1, boolean arg2)
    • getPrice

      public int getPrice(String s)
    • getWorld

      public List<org.bukkit.World> getWorld(String s, List<org.bukkit.World> worlds, List<String> worldNames)
    • getPermission

      public String getPermission(String s)
    • getInWorld

      public String getInWorld(String s)
    • getNoPermission

      public String getNoPermission(String s)
    • sendCooldownMessage

      public void sendCooldownMessage(org.bukkit.entity.Player p, String message, long cooldown)
    • getVaultGroup

      public String getVaultGroup(String s)
    • getNoVaultGroup

      public String getNoVaultGroup(String s)
    • getListValue

      public boolean getListValue(String s)
    • getChance

      public double getChance(String s)
    • calculateChance

      public boolean calculateChance(String s)
    • getLanguage

      public String getLanguage(String s)
    • executeScript

      public String executeScript(String s)
    • calculateIfChances

      public boolean calculateIfChances(String s)
    • parseStatics

      public String parseStatics(String s, ActionSender sender)
    • parseStatics

      public List<String> parseStatics(List<String> strings, ActionSender sender)
    • c

      public List<String> c(List<String> strings)
    • parseStatics

      public String parseStatics(String s, org.bukkit.entity.Player p)
    • isInt

      public boolean isInt(String s)
    • isLong

      public boolean isLong(String s)
    • isDouble

      public boolean isDouble(String s)
    • isFloat

      public boolean isFloat(String s)
    • replaceHEXColors

      public String replaceHEXColors(String string)
    • getHEXColor

      public org.bukkit.Color getHEXColor(String string)
    • getCommandMap

      public org.bukkit.command.CommandMap getCommandMap()
    • registerCommand

      public void registerCommand(String plugin, org.bukkit.command.Command command)
    • setTotalExperience

      public void setTotalExperience(org.bukkit.entity.Player player, int exp)
    • getExpAtLevel

      public int getExpAtLevel(int level)