Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cjburkey01/ClaimChunk
/ functions
Functions
830 in github.com/cjburkey01/ClaimChunk
⨍
Functions
830
◇
Types & classes
135
↓ 156 callers
Method
getMessages
Get the translations to use for messages. @return The messages handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:68
↓ 126 callers
Method
err
(String msg, Object... data)
src/main/java/com/cjburkey/claimchunk/Utils.java:55
↓ 79 callers
Method
set
Assigns the value of the key in this config to the provided value as a string. @param key The key for which to update the value. This should not be n
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:41
↓ 68 callers
Method
format
(double amt)
src/main/java/com/cjburkey/claimchunk/Econ.java:81
↓ 68 callers
Method
getName
<p>The name is a string consisting of the path and the name. </p> <p>Example: The StringArray {"arg0", "arg1", "name"} becomes "arg0 arg1 name"</p> @r
src/main/java/de/goldmensch/commanddispatcher/subcommand/SmartSubCommand.java:84
↓ 63 callers
Method
getConfigHandler
Get the ClaimChunk config handler. @return The loaded config file for ClaimChunk
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:61
↓ 57 callers
Method
debug
(String msg, Object... data)
src/main/java/com/cjburkey/claimchunk/Utils.java:46
↓ 48 callers
Method
prep
( ClaimChunk claimChunk, Supplier<Connection> connection, String sql)
src/main/java/com/cjburkey/claimchunk/data/newdata/SqlBacking.java:116
↓ 43 callers
Method
getChunkHandler
Get the chunk handler for this instance. @return The ClaimChunk chunk handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:82
↓ 42 callers
Method
getServer
Get an instance of the Bukkit server class. @return Get the server
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:29
↓ 36 callers
Method
toString
()
src/main/java/com/cjburkey/claimchunk/data/JsonConfig.java:106
↓ 34 callers
Method
execute
( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args)
src/main/java/com/cjburkey/claimchunk/smartcommand/CCBukkitCommand.java:52
↓ 34 callers
Method
getPlayer
(UUID id)
src/main/java/com/cjburkey/claimchunk/Econ.java:85
↓ 33 callers
Method
toPlayer
(@NotNull Player ply, @NotNull BaseComponent msg)
src/main/java/com/cjburkey/claimchunk/Utils.java:90
↓ 32 callers
Method
getPlayerHandler
Get the instance of the player information handler. @return The ClaimChunk player handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:89
↓ 31 callers
Method
equals
(Object o)
src/main/java/com/cjburkey/claimchunk/rank/Rank.java:41
↓ 30 callers
Method
appendField
Appends a string field to the JSON. @param key The key of the field. @param value The value of the field. @return A reference to this object.
src/main/java/com/cjburkey/claimchunk/lib/Metrics.java:699
↓ 28 callers
Method
getString
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:191
↓ 28 callers
Method
isCancelled
()
src/main/java/com/cjburkey/claimchunk/event/PlayerEnterChunkEvent.java:76
↓ 28 callers
Method
values
Retrieves a set of all of the properties within this config. @return A set of key-value entries for properties.
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:174
↓ 25 callers
Method
setCancelled
(boolean cancel)
src/main/java/com/cjburkey/claimchunk/event/PlayerEnterChunkEvent.java:81
↓ 24 callers
Method
getOwner
Get the UUID of the owner of the provided chunk. @param world The world in which this chunk is located. @param x The x-coordinate (in chunk coordinat
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:445
↓ 23 callers
Method
getInt
Tries to parse an integer stored in this config with the given key. @param key The key for which to retrieve the integer. This should not be null. @p
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:87
↓ 22 callers
Method
getBool
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:179
↓ 22 callers
Method
log
(String msg, Object... data)
src/main/java/com/cjburkey/claimchunk/Utils.java:42
↓ 21 callers
Method
getInt
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:183
↓ 18 callers
Method
build
Builds the JSON string and invalidates this builder. @return The built JSON string.
src/main/java/com/cjburkey/claimchunk/lib/Metrics.java:816
↓ 18 callers
Method
messageChat
Sends a message to a CommandSender, which may be the console or a player. @param sender The message recipient. @param msg The message with formatting
src/main/java/com/cjburkey/claimchunk/smartcommand/CCSubCommand.java:101
↓ 15 callers
Method
clear
Empties this config of all its properties
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:29
↓ 15 callers
Method
fromString
(@NotNull String version)
src/main/java/com/cjburkey/claimchunk/update/SemVer.java:13
↓ 15 callers
Method
getProfileHandler
Get the instance of the ClaimChunk world profile handler. @return The instance for this given instance of ClaimChunk.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:75
↓ 15 callers
Method
messagePly
Sends a message to a CommandSender, which may be the console or a player. @param sender The message recipient. @param msg The message with formatting
src/main/java/com/cjburkey/claimchunk/smartcommand/CCSubCommand.java:113
↓ 14 callers
Method
getBool
Tries to parse a boolean stored in this config with the given key. @param key The key for which to retrieve the boolean. This should not be null. @pa
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:120
↓ 14 callers
Method
getClaimedChunks
Retrieves all claimed chunks and their owners across all worlds. @return An array of all claimed chunks @since 0.0.13
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:121
↓ 14 callers
Method
getProfile
( @NotNull String worldName, @Nullable ClaimChunkWorldProfile defaultProfile)
src/main/java/com/cjburkey/claimchunk/config/ClaimChunkWorldProfileHandler.java:84
↓ 13 callers
Method
msg
(CommandSender to, BaseComponent msg)
src/main/java/com/cjburkey/claimchunk/Utils.java:82
↓ 13 callers
Method
remove
(UUID admin)
src/main/java/com/cjburkey/claimchunk/player/AdminOverride.java:24
↓ 13 callers
Method
toCCConfig
Stores this object's value at the particular key inside the provided ClaimChunk config. @param config The ClaimChunk config to which to insert this v
src/main/java/com/cjburkey/claimchunk/config/ccconfig/ICCConfigSerializable.java:22
↓ 12 callers
Method
equals
(Object o)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPos.java:59
↓ 12 callers
Method
file
()
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfigHandler.java:28
↓ 11 callers
Method
getDataFolder
Get the location for this plugins data. This should be {@code ./plugins/ClaimChunk}. @return The direction for this plugin's files.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:132
↓ 11 callers
Method
getStr
Retrieves the string value for the provided key within this config. If the key doesn't exist, the defaultString is returned. @param key The key for w
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:75
↓ 11 callers
Method
toString
()
src/main/java/com/cjburkey/claimchunk/rank/Rank.java:36
↓ 10 callers
Method
addPlayer
Adds a new player to the player tracking system. @param player The UUID of the player @param lastIgn The in-game name of the player @param chunkName
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:163
↓ 10 callers
Method
getEntityClass
(final EntityType entityType)
src/main/java/com/cjburkey/claimchunk/config/ClaimChunkWorldProfile.java:271
↓ 10 callers
Method
hasPermission
(String permission, ChunkPos chunk, UUID player)
src/main/java/com/cjburkey/claimchunk/player/PlayerHandler.java:37
↓ 9 callers
Method
call
(@SuppressWarnings("OptionalUsedAsFieldOrParameterType") Optional<String> message)
src/main/java/com/cjburkey/claimchunk/service/prereq/PrereqChecker.java:47
↓ 9 callers
Method
getChunkName
(UUID owner)
src/main/java/com/cjburkey/claimchunk/player/PlayerHandler.java:94
↓ 9 callers
Method
getOrDefault
(T value, T defaultValue)
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:251
↓ 9 callers
Method
onEntityEvent
( @NotNull Runnable cancel, @NotNull Player player, @NotNull Entity entity
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java:571
↓ 9 callers
Method
shouldProtectOwnerChunks
( UUID owner, Server server, ClaimChunkWorldProfile profile)
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java:1076
↓ 8 callers
Method
checkMask
(int mask)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPlayerPermissions.java:37
↓ 8 callers
Method
equals
(Object o)
src/main/java/com/cjburkey/claimchunk/config/ccconfig/NSKey.java:95
↓ 8 callers
Method
hasPerm
Check if a command sender has a given permission. Note: If the sender has {@code claimchunk.admin}, they will have all permissions. @param sender The
src/main/java/com/cjburkey/claimchunk/Utils.java:136
↓ 8 callers
Method
isClaimed
Check if the provided chunk is claimed. @param world The world in which this chunk is located. @param x The x-coordinate (in chunk coordinates) of th
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:360
↓ 8 callers
Method
setAllow
(int mask, boolean allow)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPlayerPermissions.java:41
↓ 7 callers
Method
addClaimedChunk
Registers that the given chunk was claimed by the given player. This WILL override the previous owner if set. @param pos The position of the chunk @p
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:78
↓ 7 callers
Method
appendFieldUnescaped
Appends a field to the object. @param key The key of the field. @param escapedValue The escaped value of the field.
src/main/java/com/cjburkey/claimchunk/lib/Metrics.java:797
↓ 7 callers
Method
exit
Cleans up anything that needs to be cleaned up. @throws Exception Any exception thrown during cleanup @since 0.0.13
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:48
↓ 7 callers
Method
getAdminOverrideHandler
Get the instance of the handler for admin override info. @return The list of players with admin override enabled.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:103
↓ 7 callers
Method
isNewerThan
(SemVer other)
src/main/java/com/cjburkey/claimchunk/update/SemVer.java:103
↓ 7 callers
Method
toLowerCase
(@NotNull String[] a)
src/main/java/de/goldmensch/commanddispatcher/ArrayUtil.java:19
↓ 6 callers
Method
deepCloneMap
(HashMap<K, V> map, Function<V, V> cloneFunc)
src/main/java/com/cjburkey/claimchunk/Utils.java:202
↓ 6 callers
Method
empty
()
src/main/java/com/cjburkey/claimchunk/chunk/ChunkOutlineHandler.java:26
↓ 6 callers
Method
fromCCConfig
Load the value at the provided key into this instance of this class, assuming it is possible. @param config The ClaimChunk config from which to load
src/main/java/com/cjburkey/claimchunk/config/ccconfig/ICCConfigSerializable.java:14
↓ 6 callers
Method
getAllChunks
()
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteWrapper.java:329
↓ 6 callers
Method
getClaimed
Gets the count of claimed chunks the provided player has. @param ply The UUID of the player. @return The integer count of chunks this player has clai
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:266
↓ 6 callers
Method
getDescription
Get the plugin descriptor file information. @return Information regarding the plugin.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:117
↓ 6 callers
Method
getVersion
The version for ClaimChunk. @return The version for this installation of ClaimChunk.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:36
↓ 6 callers
Method
isChunkClaimed
Checks whether the given chunk is currently claimed. @param pos The position of the chunk @return Whether the chunk is claimed @since 0.0.13
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:103
↓ 6 callers
Method
isOwner
Check if the provided player is the owner of the provided chunk @param world The world in which this chunk is located. @param x The x-coordinate (in
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:395
↓ 6 callers
Method
iterator
()
src/main/java/com/cjburkey/claimchunk/data/JsonConfig.java:111
↓ 6 callers
Method
onBlockEvent
( @NotNull Runnable cancel, @NotNull Player player, @NotNull Material bloc
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java:696
↓ 6 callers
Method
setChunkPosParams
( PreparedStatement statement, int worldParameterNum, ChunkPos chunkPos)
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteWrapper.java:390
↓ 6 callers
Method
setList
(@NotNull String key, @NotNull Collection<T> list)
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:49
↓ 6 callers
Method
toComponent
(@Nullable CommandSender sender, String input)
src/main/java/com/cjburkey/claimchunk/Utils.java:71
↓ 6 callers
Method
toString
()
src/main/java/com/cjburkey/claimchunk/lib/Metrics.java:868
↓ 5 callers
Method
columnExists
(String tableName, String columnName)
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteTableMigrationManager.java:63
↓ 5 callers
Method
full
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:200
↓ 5 callers
Method
getChunkOwner
Retrieves the current owner of the given chunk. @param pos The position of the chunk @return The current owner of the chunk or {@code null} if it is
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:112
↓ 5 callers
Method
getConfig
Get the raw {@code config.yml} YML handler for ClaimChunk. @return The FileConfiguration for ClaimChunk's config file.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:124
↓ 5 callers
Method
getMaxClaimsForPlayer
(@Nullable Player player)
src/main/java/com/cjburkey/claimchunk/rank/RankHandler.java:82
↓ 5 callers
Method
getPermittedArguments
Get a list of all arguments that could be provided to this subcommand. @return An array with all the possible arguments.
src/main/java/com/cjburkey/claimchunk/smartcommand/CCSubCommand.java:62
↓ 5 callers
Method
getRankHandler
Get the instance of the rank handler. @return The rank handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:96
↓ 5 callers
Method
getStrList
Tries to parse a list from the value of a given key. @param key The key for which to retrieve the list. This should not be null. @return A list repre
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:135
↓ 5 callers
Method
hasOverride
(UUID admin)
src/main/java/com/cjburkey/claimchunk/player/AdminOverride.java:28
↓ 5 callers
Method
init
Initializes the data handler. @throws Exception Any exception thrown during initialization that should require the plugin to be disabled @since 0
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:31
↓ 5 callers
Method
removeClaimedChunk
Removes the owner from the given chunk. Does nothing if the chunk is already not owned. @param pos The position of the chunk @since 0.0.13
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:94
↓ 5 callers
Method
save
Saves data for this data handler. This method should not call any Bukkit methods as it runs async. @throws Exception Any exception thrown during the
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:57
↓ 5 callers
Method
spawnParticle
(Player player, int x, int y, int z)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkOutlineHandler.java:129
↓ 5 callers
Method
unclaimChunk
( boolean adminOverride, boolean hideTitle, Player p, String world, int x, int z)
src/main/java/com/cjburkey/claimchunk/cmd/MainHandler.java:190
↓ 4 callers
Method
addClaimedChunks
Registers all the provided chunks. @param chunks The chunks' owners and positions @since 0.0.13
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:86
↓ 4 callers
Method
addPlayers
Adds all provided players. @param players An array of the players' data @since 0.0.13
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java:205
↓ 4 callers
Method
category
()
src/main/java/com/cjburkey/claimchunk/config/ccconfig/NSKey.java:32
↓ 4 callers
Method
chunkIdQuery
(String sql)
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteWrapper.java:399
↓ 4 callers
Method
claimAll
Claims several chunks at once for a player. This method is very unsafe at its own as it does not test whether the player can actually claim that chunk
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:57
↓ 4 callers
Method
fillClaim
( String world, int x, int z, int maxFillArea, UUID player)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:198
↓ 4 callers
Method
getCommand
@return The SubCommand
src/main/java/de/goldmensch/commanddispatcher/command/SmartCommand.java:199
↓ 4 callers
Method
getDefaultPermissionsMap
()
src/main/java/com/cjburkey/claimchunk/Utils.java:174
↓ 4 callers
Method
getFloat
Tries to parse a floating point number stored in this config with the given key. @param key The key for which to retrieve the float. This should not
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:103
next →
1–100 of 830, ranked by callers