NyxarLegend666
📎 1 file 1,989 chars
📄
pasted-code-1770716630759.txt
txt 127 lines
▶
You are an expert Minecraft Java plugin developer.

Create a plugin named:
Custom Crafting Table Recipe

Platform support:
- Paper
- Spigot
- Bukkit

Minecraft versions:
- 1.8 to 1.21+

Goal:
Create an advanced custom recipe plugin.
Similar to “CustomCrafting”.
No recipe limits.
No paywalls.
No license checks.

CORE FEATURES

- Unlimited custom recipes
- YAML-based configuration
- Reload recipes without restart
- One recipe per YAML file

RECIPE TYPES

- Shaped crafting
- Shapeless crafting
- Furnace
- Blasting
- Smoking
- Campfire
- Smithing (version-safe)

RECIPE OPTIONS

- Custom name
- Lore
- Enchantments
- Item flags
- Unbreakable items
- Potion metadata
- NBT / PersistentDataContainer
- CustomModelData (1.14+)

CUSTOM ITEMS

- Custom items via YAML
- Usable as ingredients
- Custom textures
- Glow effect
- Attributes
- Stack size control
- Persistent across restarts

CONFIGURATION

- Folder:
  plugins/CustomCraftingTableRecipe/recipes/
- Clear error messages
- Config validation
- Comments supported
- Permission-based recipes

INVENTORY GUI

- Optional recipe INVENTORY GUI
- Pagination support
- Categories and search
- Recipe preview
- Permission visibility

COMMANDS

- /cctr reload
- /cctr give   [amount]
- /cctr recipes
- /cctr help
- Tab completion

PERFORMANCE

- Optimized for many recipes
- Async file loading
- Cached recipes
- No memory leaks

COMPATIBILITY

- Works from 1.8 to 1.21+
- Version-adaptive code
- Graceful feature fallback
- Minimal NMS usage

CODE STRUCTURE

- RecipeManager
- ItemManager
- GuiManager
- CommandManager
- VersionManager

OPTIONAL FEATURES

- Disable vanilla recipes
- Recipe conditions
- PlaceholderAPI
- bStats
- Debug mode

REQUIREMENTS

- Unlimited recipes
- Free and open
- No online checks
- Production-ready

DELIVER

- Full source code
- Example YAML files
- plugin.yml
- README
Kodari can make mistakes. Review important code before using.
Files

No files in this session

Code