Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NikV2/ResourceWorld
/ functions
Functions
263 in github.com/NikV2/ResourceWorld
⨍
Functions
263
◇
Types & classes
42
↓ 83 callers
Method
getBoolean
Gets the setting as a boolean @return The setting as a boolean
src/main/java/me/nik/resourceworld/files/Config.java:208
↓ 65 callers
Method
getString
@return the setting as a String
src/main/java/me/nik/resourceworld/files/Config.java:252
↓ 49 callers
Method
getMessage
()
src/main/java/me/nik/resourceworld/managers/MsgType.java:36
↓ 43 callers
Method
get
()
src/main/java/me/nik/resourceworld/files/Data.java:25
↓ 37 callers
Method
addDefault
(String s, Object o)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:391
↓ 35 callers
Method
getLong
@return the setting as a long
src/main/java/me/nik/resourceworld/files/Config.java:228
↓ 29 callers
Method
getInstance
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:55
↓ 26 callers
Method
format
@param msg The message to format @return The formatted message
src/main/java/me/nik/resourceworld/utils/ChatUtils.java:17
↓ 24 callers
Method
get
()
src/main/java/me/nik/resourceworld/files/Lang.java:25
↓ 22 callers
Method
getLang
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:284
↓ 20 callers
Method
getInt
@return the setting as an int
src/main/java/me/nik/resourceworld/files/Config.java:220
↓ 20 callers
Method
set
(String path, Object value, String... comments)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfiguration.java:29
↓ 16 callers
Method
getData
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:288
↓ 16 callers
Method
getName
()
src/main/java/me/nik/resourceworld/managers/custom/CustomWorld.java:53
↓ 12 callers
Method
getDescription
()
src/main/java/me/nik/resourceworld/commands/SubCommand.java:11
↓ 12 callers
Method
getVersion
()
src/main/java/me/nik/resourceworld/managers/PapiHook.java:27
↓ 10 callers
Method
save
()
src/main/java/me/nik/resourceworld/files/Data.java:29
↓ 9 callers
Method
getResourceWorld
(ResourceWorldType type)
src/main/java/me/nik/resourceworld/ResourceWorld.java:276
↓ 9 callers
Method
makeItem
(Material material, int amount, String displayName, List<String> lore)
src/main/java/me/nik/resourceworld/gui/Menu.java:45
↓ 8 callers
Method
loadConfiguration
(JavaPlugin plugin, File file)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfiguration.java:25
↓ 8 callers
Method
loadValue
Loads the value from the config and caches it if it isn't set yet
src/main/java/me/nik/resourceworld/files/Config.java:318
↓ 8 callers
Method
reset
()
src/main/java/me/nik/resourceworld/files/Config.java:58
↓ 8 callers
Method
validate
()
src/main/java/me/nik/resourceworld/utils/custom/ExpiringMap.java:137
↓ 7 callers
Method
getSubcommands
()
src/main/java/me/nik/resourceworld/commands/CommandManager.java:34
↓ 6 callers
Method
consoleMessage
@param message The message to send to the console
src/main/java/me/nik/resourceworld/utils/ChatUtils.java:24
↓ 6 callers
Method
contains
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:77
↓ 6 callers
Method
getDurationBreakdown
Convert a millisecond duration to a string format @param millis A duration to convert to a string form @return A string of the form "X Days Y Hours Z
src/main/java/me/nik/resourceworld/utils/MiscUtils.java:44
↓ 6 callers
Method
getName
()
src/main/java/me/nik/resourceworld/commands/SubCommand.java:9
↓ 6 callers
Method
getStringList
@return the setting as a string list
src/main/java/me/nik/resourceworld/files/Config.java:276
↓ 6 callers
Method
randomInt
(int value)
src/main/java/me/nik/resourceworld/utils/LocationFinder.java:170
↓ 6 callers
Method
toString
()
src/main/java/me/nik/resourceworld/utils/custom/Pair.java:34
↓ 5 callers
Method
get
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:112
↓ 5 callers
Method
getKey
()
src/main/java/me/nik/resourceworld/utils/custom/Pair.java:18
↓ 5 callers
Method
getValue
()
src/main/java/me/nik/resourceworld/utils/custom/Pair.java:26
↓ 5 callers
Method
put
(K key, V value)
src/main/java/me/nik/resourceworld/utils/custom/ExpiringMap.java:69
↓ 5 callers
Method
reload
()
src/main/java/me/nik/resourceworld/files/Data.java:36
↓ 5 callers
Method
saveData
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:292
↓ 5 callers
Method
size
()
src/main/java/me/nik/resourceworld/utils/custom/ExpiringMap.java:98
↓ 4 callers
Method
generate
()
src/main/java/me/nik/resourceworld/managers/custom/CustomWorld.java:57
↓ 4 callers
Method
getName
()
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:97
↓ 4 callers
Method
getNumber
()
src/main/java/me/nik/resourceworld/files/Config.java:257
↓ 4 callers
Method
getPluginName
()
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfigurationHelper.java:222
↓ 4 callers
Method
taskLater
(Runnable runnable, long delay)
src/main/java/me/nik/resourceworld/utils/TaskUtils.java:18
↓ 3 callers
Method
getPermission
()
src/main/java/me/nik/resourceworld/commands/subcommands/Teleport.java:62
↓ 3 callers
Method
getSerializable
(String s, Class<T> aClass)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:287
↓ 3 callers
Method
helpMessage
(CommandSender sender)
src/main/java/me/nik/resourceworld/commands/CommandManager.java:56
↓ 3 callers
Method
isDisabledCommand
(List<String> list, String cmd)
src/main/java/me/nik/resourceworld/modules/impl/DisabledCommands.java:61
↓ 3 callers
Method
open
()
src/main/java/me/nik/resourceworld/gui/Menu.java:37
↓ 3 callers
Method
setup
(JavaPlugin plugin)
src/main/java/me/nik/resourceworld/files/Data.java:14
↓ 3 callers
Method
teleportSafely
(Player player, World world)
src/main/java/me/nik/resourceworld/utils/LocationFinder.java:32
↓ 2 callers
Method
addComments
(String... comments)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfiguration.java:43
↓ 2 callers
Method
addDefaults
()
src/main/java/me/nik/resourceworld/files/Data.java:40
↓ 2 callers
Method
getConfigAsString
()
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfiguration.java:72
↓ 2 callers
Method
getConfigContent
Read file and make comments SnakeYAML friendly @param file - Path to file @return - File as Input Stream
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfigurationHelper.java:60
↓ 2 callers
Method
getDouble
@return the setting as a double
src/main/java/me/nik/resourceworld/files/Config.java:236
↓ 2 callers
Method
getLocation
(String path)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:357
↓ 2 callers
Method
getPermission
()
src/main/java/me/nik/resourceworld/commands/SubCommand.java:15
↓ 2 callers
Method
getPermission
()
src/main/java/me/nik/resourceworld/managers/Permissions.java:15
↓ 2 callers
Method
getResourceWorlds
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:91
↓ 2 callers
Method
onDisable
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:59
↓ 2 callers
Method
onEnable
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:95
↓ 2 callers
Method
processLocationAndTeleport
(Player player, World world, Location location, boolean nether, World.Environment environment)
src/main/java/me/nik/resourceworld/utils/LocationFinder.java:83
↓ 2 callers
Method
saveConfig
Saves configuration to file @param configString - Config string @param file - Config file @param compactLines - If lines should forcefully be
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfigurationHelper.java:166
↓ 1 callers
Method
canConsoleExecute
()
src/main/java/me/nik/resourceworld/commands/SubCommand.java:19
↓ 1 callers
Method
clear
()
src/main/java/me/nik/resourceworld/utils/custom/ExpiringMap.java:132
↓ 1 callers
Method
compress
Gzips the given String. @param str The string to gzip. @return The gzipped String. @throws IOException If the compression failed.
src/main/java/me/nik/resourceworld/metrics/MetricsLite.java:203
↓ 1 callers
Method
containsKey
(Object key)
src/main/java/me/nik/resourceworld/utils/custom/ExpiringMap.java:106
↓ 1 callers
Method
createSection
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:127
↓ 1 callers
Method
deleteDirectory
(File directory)
src/main/java/me/nik/resourceworld/utils/MiscUtils.java:24
↓ 1 callers
Method
getBoolean
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:167
↓ 1 callers
Method
getCommentsNum
Get comments from file @param file - File @return - Comments number
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfigurationHelper.java:101
↓ 1 callers
Method
getConfig
@return the config.yml as a CommentedFileConfiguration
src/main/java/me/nik/resourceworld/files/Config.java:66
↓ 1 callers
Method
getConfiguration
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:280
↓ 1 callers
Method
getInventory
()
src/main/java/me/nik/resourceworld/gui/Menu.java:62
↓ 1 callers
Method
getMenuName
()
src/main/java/me/nik/resourceworld/gui/Menu.java:29
↓ 1 callers
Method
getNewConfig
Get new configuration @param file - Path to file @return - New SimpleConfig
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfigurationHelper.java:39
↓ 1 callers
Method
getOwner
()
src/main/java/me/nik/resourceworld/gui/PlayerMenu.java:13
↓ 1 callers
Method
getServerData
Gets the server specific data. @return The server specific data.
src/main/java/me/nik/resourceworld/metrics/MetricsLite.java:270
↓ 1 callers
Method
getSlots
()
src/main/java/me/nik/resourceworld/gui/Menu.java:31
↓ 1 callers
Method
getString
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:137
↓ 1 callers
Method
getSubcommandArguments
(CommandSender sender, String[] args)
src/main/java/me/nik/resourceworld/commands/SubCommand.java:23
↓ 1 callers
Method
getSyntax
()
src/main/java/me/nik/resourceworld/commands/SubCommand.java:13
↓ 1 callers
Method
handleEndPortal
(PlayerPortalEvent e)
src/main/java/me/nik/resourceworld/modules/impl/Portals.java:19
↓ 1 callers
Method
handleMenu
(InventoryClickEvent e)
src/main/java/me/nik/resourceworld/gui/Menu.java:33
↓ 1 callers
Method
handleNetherPortal
(PlayerPortalEvent e)
src/main/java/me/nik/resourceworld/modules/impl/Portals.java:55
↓ 1 callers
Method
isBoolean
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:177
↓ 1 callers
Method
isEnabled
Checks if bStats is enabled. @return Whether bStats is enabled or not.
src/main/java/me/nik/resourceworld/metrics/MetricsLite.java:219
↓ 1 callers
Method
isLegacy
()
src/main/java/me/nik/resourceworld/utils/MiscUtils.java:135
↓ 1 callers
Method
isLocationSafe
(Location location, World world, World.Environment environment)
src/main/java/me/nik/resourceworld/utils/LocationFinder.java:136
↓ 1 callers
Method
isSet
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:87
↓ 1 callers
Method
isString
(String s)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedConfigurationSection.java:147
↓ 1 callers
Method
maxArguments
()
src/main/java/me/nik/resourceworld/commands/SubCommand.java:17
↓ 1 callers
Method
perform
(CommandSender sender, String[] args)
src/main/java/me/nik/resourceworld/commands/SubCommand.java:21
↓ 1 callers
Method
prepareConfigString
(String configString)
src/main/java/me/nik/resourceworld/files/commentedfiles/CommentedFileConfigurationHelper.java:123
↓ 1 callers
Method
reloadData
()
src/main/java/me/nik/resourceworld/ResourceWorld.java:296
↓ 1 callers
Method
reset
()
src/main/java/me/nik/resourceworld/managers/custom/CustomWorld.java:94
↓ 1 callers
Method
sendData
Sends the data to the bStats server. @param plugin Any plugin. It's just used to get a logger instance. @param data The data to send. @throws Excep
src/main/java/me/nik/resourceworld/metrics/MetricsLite.java:153
↓ 1 callers
Method
setIfNotExists
(CommentedFileConfiguration fileConfiguration)
src/main/java/me/nik/resourceworld/files/Config.java:282
↓ 1 callers
Method
setMenuItems
()
src/main/java/me/nik/resourceworld/gui/Menu.java:35
↓ 1 callers
Method
startSubmitting
Starts the Scheduler which submits our data every 30 minutes.
src/main/java/me/nik/resourceworld/metrics/MetricsLite.java:226
next →
1–100 of 263, ranked by callers