Tags
Creators
Details
1.1
Compatibility
Changes
Overview
The Backpack plugin allows players to have personal portable storage in Minecraft that can be opened like a chest but is persistent across server restarts. Each backpack is unique and linked to its owner, with features to prevent nesting backpacks inside each other and control inventory access.
The plugin also provides commands for giving, viewing, and managing backpacks, as well as full configuration support for customization.
Features
- Backpack Items
Players can receive backpacks via command (/backpack give) or (optionally) through crafting.
Each backpack is linked to a UUID and the player's name.
The item lore shows:
Owner name
Backpack number
Contents count (filled slots / total slots)
Instruction: "Right-click to open"
- Commands /backpack give <player> [rows] [item]
Gives a backpack to a player.
Optional:
rows: Size of the backpack (e.g., 2x9, 3x9)
item: The type of item to represent the backpack (e.g., CHEST, SHULKER_BOX)
/backpack seeinside <player> <number>
Allows a player to view a specific backpack of another player by its number.
/backpack reload or /bp reload
Reloads the plugin configuration (items, crafting recipes, language settings, etc.) without restarting the server.
- Crafting
A default backpack recipe exists (configurable).
Can be fully customized in the config: shape, ingredients, and result item.
Crafting can produce real functional backpacks or dummy items depending on the settings.
- Inventory Behavior
When a backpack is open:
Players can move all items except the backpack itself.
Other backpacks can be moved but cannot be placed inside the open backpack.
Inventory contents update dynamically in the item's lore.
- Persistence
All backpacks are saved to backpacks.yml:
Contents
Size
Owner
Display name
Data is loaded automatically on plugin enable.
- Configuration Options
Backpack Item: Set which item represents a backpack.
Default Rows & Max Rows: Control size limits of backpacks.
Crafting Recipe: Fully configurable, including shape and ingredients.
Language Settings: Support for English and German messages.
Comments: All config settings include English comments for clarity.
- Plugin Compatibility
Compatible with Paper/Spigot 1.21+
Java 17+ recommended
Works with UUID-based persistence for multi-server and offline player support
- Development Notes
Uses PersistentDataContainer for linking items to inventories.
Uses a custom BackpackInventoryHolder to track which inventory belongs to which backpack item.
Designed to prevent server errors from nested backpacks or accidental item loss.
Commands and crafting are fully dynamic via the configuration.
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:NjoFuDaf:LntET9o5"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:NjoFuDaf:LntET9o5"
}

