This is a Backpack plugin. It acts as a unique storage system—each backpack has its own inventory.
MCEngine Backpack Command
This command class handles backpack-related features for the MCEngine plugin. It allows players to create custom backpacks and retrieve preconfigured ones.
Features
Code (Text):
/backpack create <hdb id> <size>
Creates a new backpack with a custom texture and size.
Code (Text):
/backpack get <name>
Retrieves a backpack defined in a configuration file.
Permissions
Code (Text):
| `mcengine.backpack.create` | Allows use of `/backpack create` |
| `mcengine.backpack.get` | Allows use of `/backpack get` |
Command Usage
Create a Backpack
Code (Text):
/backpack create 12345 6
12345: Head Database (HDB) ID for the backpack icon.
6: Size of the backpack (must be a valid 1-6).
Get a Predefined Backpack
Code (Text):
/backpack get default
Loads a backpack from
(or a similar config path).
Example
Code (Text):
name: "&6Default Backpack"
head_id: 12345
size: 3
name: Name shown on the item (color codes supported with &).
head_id: Texture ID.
size: Number of rows (each row = 9 slots).