NanoCraft
Overview
NanoCraft is a modular Minecraft plugin designed to enhance the gameplay experience by introducing new custom gadgets and automation features.
Features
AutoSmelter
- Custom Item: AutoSmelter (Blast Furnace)
- Functionality:
- Players can receive an AutoSmelter item, which opens a custom GUI when right-clicked.
- The GUI allows players to filter raw materials and fuels, and automatically smelts items placed inside.
- Inventories are persistent and saved per unique AutoSmelter.
- All data is chunked and saved efficiently for scalability.
Backpacks
- Custom Items: Small, Medium, and Large Backpacks
- Functionality:
- Players can receive portable backpack items with different storage sizes (27, 45, 54 slots).
- Right-clicking a backpack opens a custom inventory GUI for portable storage.
- Backpacks cannot be placed inside other backpacks (prevents nesting).
- Each backpack has a unique ID and persistent inventory.
Commands
- /nanocraft give <item> [player] [amount] — Give custom items to players.
- /nanocraft reload — Reload the plugin configuration and reinitialize systems.
- /nanocraft save — Manually save all plugin data.
- /nanocraft cleanup — Perform plugin cleanup operations.
- /nanocraft info — Show plugin information and available items.
- /nanocraft help — Show command help.
How It Works
Initialization
On plugin enable, all systems (items, inventories, commands, listeners) are initialized. Data folders and configs are created if missing.
Persistence
All inventories (AutoSmelter, Backpacks) are saved per unique item and chunked for scalability, preventing data loss on server restart.
Extensibility
The codebase is organized for easy addition of new custom items and features.
Requirements
- Minecraft server with Bukkit, Spigot, or Paper API
Current Limitations
- Only AutoSmelter and Backpack features are fully implemented as of now.
Credits