Class Utils
java.lang.Object
dev.despical.tntrun.utils.Utils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidapplyActionBarCooldown(User user, double seconds) static Stringstatic StringformatTime(long seconds) static StringgetListAsString(String path) static StringgetListAsString(org.bukkit.configuration.file.FileConfiguration file, String path) static StringgetMessage(String path, Var... variables) static StringgetRawString(String string) static StringgetRawString(org.bukkit.configuration.file.FileConfiguration config, String string) static Stringstatic StringgetStringList(String path) getStringList(org.bukkit.configuration.file.FileConfiguration config, String string) static StringlistToString(List<String> list) static voidresetPlayerAttributes(org.bukkit.entity.Player player) static voidrestoreDoubleJumpFlightWhenReady(User user, double seconds)
-
Field Details
-
NONE
-
-
Constructor Details
-
Utils
public Utils()
-
-
Method Details
-
applyActionBarCooldown
-
restoreDoubleJumpFlightWhenReady
-
getRawString
-
getRawString
-
getStringList
-
format
-
getString
-
getString
-
getMessage
-
getStringList
-
getListAsString
-
getListAsString
-
listToString
-
formatTime
-
resetPlayerAttributes
public static void resetPlayerAttributes(org.bukkit.entity.Player player)
-