Описание
# SMPCORE REVAMP BETA, Free!

- https://modrinth.com/plugin/smpcore-revamp
# InstaRestock
> Villager trades restock the moment a player opens the trading menu — no waiting for daily resets, workstation ticks, or server restarts.
---
## Features
- **Instant restock** — trades refresh on menu open, vanilla delays removed entirely
- **Configurable reload time** — set a custom delay with time units (seconds, minutes, hours, days) or keep it instant
- **Max trade control** — limit how many trade slots are refreshed per restock if needed (set to 2147483647 for unlimited)
- **Villager blacklist** — exclude specific villagers from auto-restocking
- **Price penalty toggle** — disable Minecraft's price increase penalty (1.18+)
- **Travelling merchant support** — optionally enable restocking for wandering traders
- **Universal villager support** — works on all villagers by default
- **Performance friendly** — minimal overhead, no background threads
---
## Installation
### Fabric
1. Download the `.jar` for your Minecraft version
2. Drop it into your `mods/` folder
3. Start your server or client
### Paper / Spigot
1. Download the `.jar` for your Minecraft version
2. Drop it into your `plugins/` folder
3. Restart your server
4. *(Optional)* Edit `plugins/InstaRestock/config.json`
---
## Configuration
```json
{
"maxTrades": 2147483647,
"reloadTime": "10 seconds",
"villagerBlacklist": [],
"disablePricePenalty": true,
"uninstallMode": false,
"allowTravellingMerchants": true,
"checkUpdate": true,
"allowMetrics": true,
"lang": "en_US"
}
```
---
## Config reference
| Option | Default | Description |
|---|---|---|
| `maxTrades` | `2147483647` | Max trade slots refreshed per restock event (2147483647 = unlimited) |
| `reloadTime` | `"10 seconds"` | Delay before restocking. Supports: `seconds`, `minutes`, `hours`, `days`. Decimals allowed (e.g., `"5.5 minutes"`). If no unit specified, defaults to minutes |
| `villagerBlacklist` | `[]` | List of villager UUIDs or coordinates to exclude from restocking |
| `disablePricePenalty` | `true` | Disable Minecraft's price increase penalty when restocking (1.18+) |
| `uninstallMode` | `false` | Set to true before removing plugin to clean up data |
| `allowTravellingMerchants` | `true` | Enable restocking for wandering traders |
| `checkUpdate` | `true` | Check for plugin updates on startup |
| `allowMetrics` | `true` | Send anonymous usage statistics |
| `lang` | `"en_US"` | Language code for plugin messages |
---
## Use cases
**SMP servers** — keep your economy flowing without frustrating restock timers
**Trading halls** — essential for shopping districts where fast trades are expected
**Custom economies** — pairs well with economy plugins that need reliable trade throughput
**Quality of life** — less tedium for players without changing game balance
---
## Permissions
| Node | Default | Description |
|---|---|---|
| `instarestock.admin` | OP | Access to admin commands |
---
## Compatibility
| Platform | Supported versions |
|---|---|
| Fabric | 1.18.x, 1.19.x, 1.20.x, 1.21.x |
| Paper | 1.18.x, 1.19.x, 1.20.x, 1.21.x |
| Spigot | 1.18.x, 1.19.x, 1.20.x, 1.21.x |
---
## Support
Found a bug or have a feature request? Use the **Issues** tab or join the Discord linked above.
---