MCPcopy Index your code
hub / github.com/cjburkey01/ClaimChunk

github.com/cjburkey01/ClaimChunk @0.0.25-FIX3

Chat with this repo
repository ↗ · DeepWiki ↗ · release 0.0.25-FIX3 ↗ · + Follow
965 symbols 2,848 edges 108 files 214 documented · 22% updated 5mo ago0.0.25-FIX3 · 2024-06-05★ 7434 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ClaimChunk Logo ClaimChunk Title

Plugin Version Maven Central Version Minecraft Version Java Version Servers Using Claimchunk Players Using Claimchunk

Join us on our Discord server for bug reports, support, and general chatting!

Info

Spigot plugin for 1.20+ allowing the claiming of chunks.

The destiny of chunks is to unite not to divide

Let's make the world ours.

Usage and more information can be found on the wiki.

  • 1.20-1.20.6+ | The latest version works seamlessly (excluding bugs, of course).
  • 1.17 - 1.20 | The latest known working version is 0.0.23-RC8.
  • Newer versions of the plugin will require Java 17, but may still work.
  • 1.13 - 1.16.5 | The latest working version is 0.0.22.
  • Note: If you disable titles, 0.0.23 might work on version older than 1.17. If you experience issues, however, they may be more difficult to address.
  • Pre-1.13 | The latest working version is 0.0.20
  • Newer features of Spigot are used in builds 0.0.21 and later that make it incompatible with older versions.
  • 1.9 - 1.12 | Should work without any trouble.
  • 1.6 - 1.8 | Works when useTitlesInsteadOfChat is set to false under the titles section of the config.

If you have issues running an old version of the plugin on a Minecraft version within the above supported ranges, you may make an issue, and I should be able to help, but I won't be bringing newer features over. They officially have "minor bug support" status. Version 0.0.23 will be supported for slightly longer though, as this transition period may get funky.

For even more information, the SpigotMC page can be found here.

Download

Downloads are available in the releases section and separately on Modrinth.

The latest compiled version of this repository can be downloaded via this link.

Optional Features: * Vault (for currency support you will also need an economy plugin like Essentials). * WorldGuard (VERSION 7.0.0 OR ABOVE REQUIRED and, as such, WorldGuard support is only available for 1.13 OR ABOVE). * PlaceholderAPI (View the available placeholders on the wiki).

News

This section is being written on the 600th commit! Happy 600 everyone :) May our years going forward be full of joy!

We've had ClaimChunk among us for 2473 days (as of today), thanks to the effort of 9 other contributors supporting me along the way!

If you'd like to help out, open a pull request or submit a GitHub issue with a feature request and/or bugs you've come across!

Guess what! I'm sorta back :) Life has been crazy for the last couple of years, but here I am :) I hope to continue working on this plugin and making existing features more stable (and maybe a small thing here or there)!

Please do join the Discord server if you have any trouble with anything or want to know what I'm currently doing. I'll be a little more online, I hope!

Plugin Integrations

If you have developed an addon for ClaimChunk or for another plugin that integrates with ClaimChunk, or have added ClaimChunk support to your plugin, let me know, and I'll put your addon/plugin here. You can reach me at bulletlanguage@gmail.com or through the Discord server.

Here are some plugins that either have addons for or integrations with ClaimChunk: * MongoDB integration with this addon by Glowman554 * Regionerator (prevent claimed chunks from being regenerated)

Addons that aren't actively maintained but could be useful: * Dynmap via this addon * Archived: Pl3xMap via this addon * (Old, maybe functional, repository deleted) ClaimFly (allowing players to fly in claimed territory).

Now on Maven Central! To make a plugin, use one of these snippets:

Maven:

<dependency>
    <groupId>com.cjburkey.claimchunk</groupId>
    <artifactId>claimchunk</artifactId>
    <version>0.0.25-FIX3</version>
</dependency>

Gradle (Groovy):

implementation 'com.cjburkey.claimchunk:claimchunk:0.0.25-FIX3'

Gradle (Kotlin):

implementation("com.cjburkey.claimchunk:claimchunk:0.0.25-FIX3")

Building

Automatic Build Version Info

If you want to obtain a version of the plugin that isn't available yet (like a snapshot), you can do so by asking on the Discord or building it yourself. Here's how to build it yourself:

First, you'll need to clone the repo either using the Git command:

git clone git@github.com:cjburkey01/ClaimChunk.git

or downloading the repository source using the button above that says "Clone or download".

Once you have obtained the repo, inside the local repository, you'll just need to execute this Gradle Wrapper command: * ./gradlew build for Unix/Mac * gradlew build for Windows

Your built jar file can be found at:

<REPO>/OUT/claimchunk-VERSION.jar

Extension points exported contracts — how you extend this code

ICCConfigSerializable (Interface)
Represents an object that may be serialized into and from a ClaimChunk config file. [8 implementers]
src/main/java/com/cjburkey/claimchunk/config/ccconfig/ICCConfigSerializable.java
IClaimPrereq (Interface)
(no doc) [7 implementers]
src/main/java/com/cjburkey/claimchunk/service/prereq/claim/IClaimPrereq.java
IClaimChunkDataHandler (Interface)
Represents a class that may act as a data handler for ClaimChunk. Such a class is responsible for keeping track of all c [4 …
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java
IClaimChunkLayer (Interface)
ClaimChunk will be separated into different layers responsible for different things, this represents a single one. [4 …
src/main/java/com/cjburkey/claimchunk/api/layer/IClaimChunkLayer.java
IPrereq (Interface)
An interface representing some class that performs a check. @since 0.0.20 [1 implementers]
src/main/java/com/cjburkey/claimchunk/service/prereq/IPrereq.java

Core symbols most depended-on inside this repo

getMessages
called by 156
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java
err
called by 126
src/main/java/com/cjburkey/claimchunk/Utils.java
set
called by 79
src/main/java/com/cjburkey/claimchunk/config/ccconfig/CCConfig.java
format
called by 68
src/main/java/com/cjburkey/claimchunk/Econ.java
getName
called by 68
src/main/java/de/goldmensch/commanddispatcher/subcommand/SmartSubCommand.java
getConfigHandler
called by 63
src/main/java/com/cjburkey/claimchunk/api/IClaimChunkPlugin.java
debug
called by 57
src/main/java/com/cjburkey/claimchunk/Utils.java
prep
called by 48
src/main/java/com/cjburkey/claimchunk/data/newdata/SqlBacking.java

Shape

Method 830
Class 123
Interface 7
Enum 5

Languages

Java100%
Kotlin1%

Modules by API surface

src/main/java/com/cjburkey/claimchunk/lib/Metrics.java49 symbols
src/main/java/com/cjburkey/claimchunk/data/newdata/MySQLDataHandler.java41 symbols
src/main/java/com/cjburkey/claimchunk/data/newdata/JsonDataHandler.java40 symbols
src/main/java/com/cjburkey/claimchunk/event/WorldProfileEventHandler.java39 symbols
src/main/java/com/cjburkey/claimchunk/data/newdata/IClaimChunkDataHandler.java33 symbols
src/main/java/com/cjburkey/claimchunk/data/sqlite/SqLiteDataHandler.java32 symbols
src/main/java/com/cjburkey/claimchunk/data/newdata/BulkMySQLDataHandler.java32 symbols
src/main/java/com/cjburkey/claimchunk/ClaimChunk.java27 symbols
src/main/java/com/cjburkey/claimchunk/chunk/ChunkPlayerPermissions.java25 symbols
src/main/java/com/cjburkey/claimchunk/player/PlayerHandler.java21 symbols
src/main/java/com/cjburkey/claimchunk/smartcommand/CCSubCommand.java19 symbols
src/main/java/com/cjburkey/claimchunk/Utils.java19 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add ClaimChunk \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page