- Fougerite Compatibility
- 1.9.2 or +
- Plugin's Engine
- Jint2 (Jint)
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Description
Allows players to break down items back into their crafting materials. Supports stackable resources, durability items, multi-slot recycling and anti-abuse cooldowns.
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
- Stackable resources — subtracts the exact amount from the stack, removes slot only when empty
- Unique / durability items — materials scaled by item condition (0–100%)
- Multi-slot — if you have 3 M4s across different slots, /recycle m4 3 removes all of them
- Anti-abuse cooldown — 1.5s per player to prevent race condition dupes
- Max 500 per operation — prevents server lag from huge requests
- Spanish alias — /reciclar works identically to /recycle
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Commands
| Command | Description |
|---|---|
| /recycle <item> | Recycle 1 unit of an item |
| /recycle <item> <amount> | Recycle a specific quantity |
| /reciclar <item> [amount] | Spanish alias, works identically |
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Examples
| Input | What happens |
|---|---|
| /recycle m4 | Recycles 1 M4 using its current condition |
| /recycle m4 3 | Recycles 3 M4s across multiple inventory slots |
| /recycle torch 20 | Removes 20 torches, gives materials × 20 |
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
⚠ Items that cannot be recycled
Raw resources have no crafting blueprint, so they cannot be broken down further.
| Input | What happens |
|---|---|
| /recycle wood | ✗ Will not work — raw resources have no blueprint |
- Wood, Stones, Sulfur Ore, Metal Ore — base resources, no blueprint
- Cooked food — no blueprint
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Item type detection
● Stackable resource
maxStackable > 1 and no durability fields in datablock.
Subtracts amount from ritem.uses. Removes slot only when uses reach 0.
Examples: Wood, Metal Fragments, Cloth, Leather
● Unique / durability item
Removes whole slot per unit. Materials scaled by condition (0.0–1.0).
Examples: M4, Torch, Kevlar, P250, food items
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Open the plugin file and adjust these values at the top:
var COOLDOWN_MS = 1500;
var MAX_AMOUNT = 500;
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Installation
- Drop the Recycler folder into your JsPlugins folder
- Restart the server or reload plugins
- No external dependencies required
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬