Tags
Creators
Details
1.4
Compatibility
Changes
š¦ PrivateChest v1.4
š New: Public Developer API
⢠Introduced PrivateChestAPI under me.tuplugin.privatechest.api.
⢠Developers can now easily:
- Check if a block is locked ā
isLocked(Block) - Check if a player is the owner ā
isOwner(Block, Player) - Get the UUID of the owner ā
getOwner(Block) - Lock a block programmatically ā
lockBlock(Block, Player, String) - Unlock a block programmatically ā
unlockBlock(Block)⢠Static, safe, and ready for direct integration without touching internal classes!
š New: API Documentation
⢠Added a dedicated section in README.md showing how to use the PrivateChestAPI with examples.
š Improvements:
⢠Better internal structure for future feature expansion. ⢠Clean and separated API to prevent future compatibility issues.
š Multilingual Ready:
⢠All messages and configurations remain fully editable for translations!
ā Tested and verified on:
⢠Minecraft 1.16.x ā 1.21.5 ⢠Paper, Pufferfish, Purpur forks
š Plugin Statistics:
⢠View anonymous plugin usage at: bStats - PrivateChest
šÆ Tip: Even though the plugin is in English by default, you can fully translate it by editing messages.yml and config.yml!
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:TfUGyoNj:twpre6wZ"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:TfUGyoNj:twpre6wZ"
}

