Gacha Daily Limit
Limits Cobbled Gacha pulls to 5 per player per day, automatically resetting every day at midnight (00:00).
Unofficial addon for Cobbled Gacha that adds a per-player daily pull limit, designed for servers that want to control progression pacing without modifying the original mod.
✨ Features
- 5 pulls per day per player (configurable) on any Cobbled Gacha machine.
- Automatic reset at 00:00 (server's local time) — no commands, no external plugins needed.
- When inserting currency after the daily limit has been reached, the insertion is cancelled before the item is consumed, and the player gets a clear on-screen warning.
- Every completed pull shows how many are left for the day.
- Hopper/redstone automation is not affected by the limit (the limit applies to real players, not machines).
- Admin commands for operators.
- Config and data stored as JSON, editable by hand if needed.
📦 Requirements
- Minecraft 1.21.1
- Fabric Loader 0.16.9 or newer
- Fabric API
- Cobbled Gacha (required dependency — this mod does nothing on its own)
- Java 21
🔧 Installation
- Install Fabric Loader and Fabric API for 1.21.1.
- Place both
cobbledgacha-*.jarandgacha-daily-limit-*.jarin your server'smods/folder. - Done! The limit is applied automatically, no extra configuration required.
⚙️ Commands (require operator permission)
| Command | Description |
|---|---|
/gachalimit check <player> |
Shows how many pulls a player has left today. |
/gachalimit reset <player> |
Resets the daily counter for a specific player. |
/gachalimit reset |
Resets the daily counter for all players. |
/gachalimit setmax <amount> |
Changes the daily pull limit (default 5). |
📁 Configuration
Data is stored under config/gachadailylimit/:
config.json— the daily pull limit (maxDailyRolls).data.json— each player's pulls used for the current day (don't edit while the server is running).
❓ Notes
- This is a server-side mod, intended for multiplayer environments that want to limit gacha machine usage.
- It does not modify or replace any Cobbled Gacha files: it's a fully separate mod, compatible with future updates to the original as long as its internal structure doesn't change.
- Not affiliated with the authors of Cobbled Gacha (hisroyalty, DogtorBloo).
📜 License
MIT
Gacha Daily Limit / Spanish
Limita las tiradas diarias de Cobbled Gacha a 5 por jugador, con reinicio automático cada día a las 00:00.
Addon no oficial para Cobbled Gacha que añade un límite diario de tiradas por jugador, pensado para servidores que quieran controlar el ritmo de progresión sin tener que tocar el mod original.
✨ Características
- 5 tiradas al día por jugador (configurable) en cualquier máquina gacha de Cobbled Gacha.
- Reinicio automático a las 00:00 (hora local del servidor) — sin comandos, sin plugins externos.
- Al insertar la moneda cuando ya no quedan tiradas, la inserción se cancela antes de gastar el objeto, y el jugador recibe un aviso claro en pantalla.
- Cada tirada completada muestra cuántas quedan disponibles ese día.
- La automatización mediante hoppers/redstone no se ve afectada por el límite (el límite es por jugador real, no por máquina).
- Comandos de administración para operadores.
- Configuración y datos guardados en JSON, editables a mano si hace falta.
📦 Requisitos
- Minecraft 1.21.1
- Fabric Loader 0.16.9 o superior
- Fabric API
- Cobbled Gacha (dependencia obligatoria — este mod no funciona por sí solo)
- Java 21
🔧 Instalación
- Instala Fabric Loader y Fabric API para 1.21.1.
- Coloca en la carpeta
mods/de tu servidor tantocobbledgacha-*.jarcomogacha-daily-limit-*.jar. - ¡Listo! El límite se aplica automáticamente, sin configuración adicional necesaria.
⚙️ Comandos (requieren permiso de operador)
| Comando | Descripción |
|---|---|
/gachalimit check <jugador> |
Muestra cuántas tiradas le quedan hoy a un jugador. |
/gachalimit reset <jugador> |
Reinicia el contador diario de un jugador concreto. |
/gachalimit reset |
Reinicia el contador diario de todos los jugadores. |
/gachalimit setmax <cantidad> |
Cambia el límite diario de tiradas (por defecto 5). |
📁 Configuración
Los datos se guardan en config/gachadailylimit/:
config.json— límite diario de tiradas (maxDailyRolls).data.json— contador de tiradas usadas por cada jugador en el día actual (no editar mientras el servidor está encendido).
❓ Notas
- Este es un mod de servidor, pensado para entornos multijugador donde se quiera limitar el uso de las máquinas gacha.
- No modifica ni sustituye ningún archivo de Cobbled Gacha: es completamente independiente y compatible con futuras actualizaciones del mod original, siempre que no cambien su estructura interna.
- No afiliado con los autores de Cobbled Gacha (hisroyalty, DogtorBloo).
📜 Licencia
MIT

