MCPcopy Create free account

hub / github.com/cjburkey01/ClaimChunk / functions

Functions830 in github.com/cjburkey01/ClaimChunk

↓ 156 callersMethodgetMessages
Get the translations to use for messages. @return The messages handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:68
↓ 126 callersMethoderr
(String msg, Object... data)
src/main/java/com/cjburkey/claimchunk/Utils.java:55
↓ 79 callersMethodset
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 callersMethodformat
(double amt)
src/main/java/com/cjburkey/claimchunk/Econ.java:81
↓ 68 callersMethodgetName
<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 callersMethodgetConfigHandler
Get the ClaimChunk config handler. @return The loaded config file for ClaimChunk
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:61
↓ 57 callersMethoddebug
(String msg, Object... data)
src/main/java/com/cjburkey/claimchunk/Utils.java:46
↓ 48 callersMethodprep
( ClaimChunk claimChunk, Supplier<Connection> connection, String sql)
src/main/java/com/cjburkey/claimchunk/data/newdata/SqlBacking.java:116
↓ 43 callersMethodgetChunkHandler
Get the chunk handler for this instance. @return The ClaimChunk chunk handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:82
↓ 42 callersMethodgetServer
Get an instance of the Bukkit server class. @return Get the server
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:29
↓ 36 callersMethodtoString
()
src/main/java/com/cjburkey/claimchunk/data/JsonConfig.java:106
↓ 34 callersMethodexecute
( @NotNull CommandSender sender, @NotNull String commandLabel, @NotNull String[] args)
src/main/java/com/cjburkey/claimchunk/smartcommand/CCBukkitCommand.java:52
↓ 34 callersMethodgetPlayer
(UUID id)
src/main/java/com/cjburkey/claimchunk/Econ.java:85
↓ 33 callersMethodtoPlayer
(@NotNull Player ply, @NotNull BaseComponent msg)
src/main/java/com/cjburkey/claimchunk/Utils.java:90
↓ 32 callersMethodgetPlayerHandler
Get the instance of the player information handler. @return The ClaimChunk player handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:89
↓ 31 callersMethodequals
(Object o)
src/main/java/com/cjburkey/claimchunk/rank/Rank.java:41
↓ 30 callersMethodappendField
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 callersMethodgetString
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:191
↓ 28 callersMethodisCancelled
()
src/main/java/com/cjburkey/claimchunk/event/PlayerEnterChunkEvent.java:76
↓ 28 callersMethodvalues
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 callersMethodsetCancelled
(boolean cancel)
src/main/java/com/cjburkey/claimchunk/event/PlayerEnterChunkEvent.java:81
↓ 24 callersMethodgetOwner
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 callersMethodgetInt
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 callersMethodgetBool
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:179
↓ 22 callersMethodlog
(String msg, Object... data)
src/main/java/com/cjburkey/claimchunk/Utils.java:42
↓ 21 callersMethodgetInt
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:183
↓ 18 callersMethodbuild
Builds the JSON string and invalidates this builder. @return The built JSON string.
src/main/java/com/cjburkey/claimchunk/lib/Metrics.java:816
↓ 18 callersMethodmessageChat
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 callersMethodclear
Empties this config of all its properties
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:29
↓ 15 callersMethodfromString
(@NotNull String version)
src/main/java/com/cjburkey/claimchunk/update/SemVer.java:13
↓ 15 callersMethodgetProfileHandler
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 callersMethodmessagePly
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 callersMethodgetBool
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 callersMethodgetClaimedChunks
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 callersMethodgetProfile
( @NotNull String worldName, @Nullable ClaimChunkWorldProfile defaultProfile)
src/main/java/com/cjburkey/claimchunk/config/ClaimChunkWorldProfileHandler.java:84
↓ 13 callersMethodmsg
(CommandSender to, BaseComponent msg)
src/main/java/com/cjburkey/claimchunk/Utils.java:82
↓ 13 callersMethodremove
(UUID admin)
src/main/java/com/cjburkey/claimchunk/player/AdminOverride.java:24
↓ 13 callersMethodtoCCConfig
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 callersMethodequals
(Object o)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPos.java:59
↓ 12 callersMethodfile
()
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfigHandler.java:28
↓ 11 callersMethodgetDataFolder
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 callersMethodgetStr
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 callersMethodtoString
()
src/main/java/com/cjburkey/claimchunk/rank/Rank.java:36
↓ 10 callersMethodaddPlayer
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 callersMethodgetEntityClass
(final EntityType entityType)
src/main/java/com/cjburkey/claimchunk/config/ClaimChunkWorldProfile.java:271
↓ 10 callersMethodhasPermission
(String permission, ChunkPos chunk, UUID player)
src/main/java/com/cjburkey/claimchunk/player/PlayerHandler.java:37
↓ 9 callersMethodcall
(@SuppressWarnings("OptionalUsedAsFieldOrParameterType") Optional<String> message)
src/main/java/com/cjburkey/claimchunk/service/prereq/PrereqChecker.java:47
↓ 9 callersMethodgetChunkName
(UUID owner)
src/main/java/com/cjburkey/claimchunk/player/PlayerHandler.java:94
↓ 9 callersMethodgetOrDefault
(T value, T defaultValue)
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:251
↓ 9 callersMethodonEntityEvent
( @NotNull Runnable cancel, @NotNull Player player, @NotNull Entity entity
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java:571
↓ 9 callersMethodshouldProtectOwnerChunks
( UUID owner, Server server, ClaimChunkWorldProfile profile)
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java:1076
↓ 8 callersMethodcheckMask
(int mask)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPlayerPermissions.java:37
↓ 8 callersMethodequals
(Object o)
src/main/java/com/cjburkey/claimchunk/config/ccconfig/NSKey.java:95
↓ 8 callersMethodhasPerm
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 callersMethodisClaimed
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 callersMethodsetAllow
(int mask, boolean allow)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPlayerPermissions.java:41
↓ 7 callersMethodaddClaimedChunk
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 callersMethodappendFieldUnescaped
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 callersMethodexit
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 callersMethodgetAdminOverrideHandler
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 callersMethodisNewerThan
(SemVer other)
src/main/java/com/cjburkey/claimchunk/update/SemVer.java:103
↓ 7 callersMethodtoLowerCase
(@NotNull String[] a)
src/main/java/de/goldmensch/commanddispatcher/ArrayUtil.java:19
↓ 6 callersMethoddeepCloneMap
(HashMap<K, V> map, Function<V, V> cloneFunc)
src/main/java/com/cjburkey/claimchunk/Utils.java:202
↓ 6 callersMethodempty
()
src/main/java/com/cjburkey/claimchunk/chunk/ChunkOutlineHandler.java:26
↓ 6 callersMethodfromCCConfig
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 callersMethodgetAllChunks
()
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteWrapper.java:329
↓ 6 callersMethodgetClaimed
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 callersMethodgetDescription
Get the plugin descriptor file information. @return Information regarding the plugin.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:117
↓ 6 callersMethodgetVersion
The version for ClaimChunk. @return The version for this installation of ClaimChunk.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:36
↓ 6 callersMethodisChunkClaimed
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 callersMethodisOwner
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 callersMethoditerator
()
src/main/java/com/cjburkey/claimchunk/data/JsonConfig.java:111
↓ 6 callersMethodonBlockEvent
( @NotNull Runnable cancel, @NotNull Player player, @NotNull Material bloc
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java:696
↓ 6 callersMethodsetChunkPosParams
( PreparedStatement statement, int worldParameterNum, ChunkPos chunkPos)
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteWrapper.java:390
↓ 6 callersMethodsetList
(@NotNull String key, @NotNull Collection<T> list)
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java:49
↓ 6 callersMethodtoComponent
(@Nullable CommandSender sender, String input)
src/main/java/com/cjburkey/claimchunk/Utils.java:71
↓ 6 callersMethodtoString
()
src/main/java/com/cjburkey/claimchunk/lib/Metrics.java:868
↓ 5 callersMethodcolumnExists
(String tableName, String columnName)
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteTableMigrationManager.java:63
↓ 5 callersMethodfull
(String section, String name)
src/main/java/com/cjburkey/claimchunk/ClaimChunkConfig.java:200
↓ 5 callersMethodgetChunkOwner
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 callersMethodgetConfig
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 callersMethodgetMaxClaimsForPlayer
(@Nullable Player player)
src/main/java/com/cjburkey/claimchunk/rank/RankHandler.java:82
↓ 5 callersMethodgetPermittedArguments
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 callersMethodgetRankHandler
Get the instance of the rank handler. @return The rank handler.
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java:96
↓ 5 callersMethodgetStrList
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 callersMethodhasOverride
(UUID admin)
src/main/java/com/cjburkey/claimchunk/player/AdminOverride.java:28
↓ 5 callersMethodinit
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 callersMethodremoveClaimedChunk
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 callersMethodsave
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 callersMethodspawnParticle
(Player player, int x, int y, int z)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkOutlineHandler.java:129
↓ 5 callersMethodunclaimChunk
( boolean adminOverride, boolean hideTitle, Player p, String world, int x, int z)
src/main/java/com/cjburkey/claimchunk/cmd/MainHandler.java:190
↓ 4 callersMethodaddClaimedChunks
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 callersMethodaddPlayers
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 callersMethodcategory
()
src/main/java/com/cjburkey/claimchunk/config/ccconfig/NSKey.java:32
↓ 4 callersMethodchunkIdQuery
(String sql)
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteWrapper.java:399
↓ 4 callersMethodclaimAll
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 callersMethodfillClaim
( String world, int x, int z, int maxFillArea, UUID player)
src/main/java/com/cjburkey/claimchunk/chunk/ChunkHandler.java:198
↓ 4 callersMethodgetCommand
@return The SubCommand
src/main/java/de/goldmensch/commanddispatcher/command/SmartCommand.java:199
↓ 4 callersMethodgetDefaultPermissionsMap
()
src/main/java/com/cjburkey/claimchunk/Utils.java:174
↓ 4 callersMethodgetFloat
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