RandomShop – Dynamic Randomized Shop Plugin
RandomShop is a dynamic Minecraft shop plugin that offers players a constantly changing selection of items through an intuitive GUI. The shop refreshes automatically, providing random offers based on configurable item pools, prices, and chances, creating a more engaging and balanced economy experience.Key Features
- Randomized Shop Offers
- Items are selected randomly from configurable definitions.
- Each refresh generates new offers with configurable limits.
- Supports price ranges and chance-based selection.
- Graphical User Interface (GUI)
- Clean inventory-based shop menu.
- Configurable size and layout.
- Uses a custom InventoryHolder to safely manage shop inventories.
- Economy Integration (Vault)
- Fully compatible with Vault-supported economy plugins.
- Automatic balance checks and transactions.
- Clear feedback messages for successful or failed purchases.
- Automatic Shop Refresh
- Periodic refresh using Paper/Folia schedulers.
- Configurable refresh interval.
- Shop updates live for all players.
- Command System
- Main shop command to open the GUI.
- Alias support for multiple command names.
- Permission-ready structure.
- Performance & Safety
- Uses thread-safe data structures.
- Designed with Folia compatibility in mind.
- Prevents invalid purchases and item duplication.
- Highly Configurable
- Item definitions via config (materials, amounts, prices, chances).
- Adjustable shop size, refresh amount, and behavior.
- Locale-aware formatting.
Ideal Use Cases
- Survival servers with rotating economies
- Servers that want to avoid static, predictable shops
- Economy-focused servers looking for item scarcity control
Technical Overview
- Platform: Paper / Folia
- Language: Java
- Dependencies: Vault
- Architecture: Manager-based design with listeners and holders
- Threading: Safe scheduling via Paper/Folia APIs
