Repository navigation
Permissions and Roles
Requires CobbleGacha Expanded 4.0.3 or later · Fabric and NeoForge · Minecraft 1.21.1
Give moderators access to selected parts of CobbleGacha using individual permissions. Moderators do not need Minecraft operator status. These permissions control in-game tools; web-panel accounts remain separate full-administration accounts.
As the server console or a level-4 operator, run:
/cobblegacha permissions role PlayerName banner_editorThe player can open /gachabanner editor, create banners, edit existing banners and upload backgrounds. This role cannot delete banners, change prices/pity, change wallets or manage other systems. Use an online name or a UUID; unknown/offline names are rejected rather than guessed.
Built-in roles:
| Role | Access |
|---|---|
banner_editor |
View, create and edit banners; upload backgrounds |
shop_manager |
Shop/Auto Shop/Potential Prism settings; banner rarity weights and Wishprism prices |
quest_manager |
Quest editor and quest resets |
machine_manager |
Admin machine setup/editing, protected machine management, global templates and directory controls |
moderator |
View banners, manage banner rotation, enable/disable rankings |
manager |
All listed management features except assigning permissions |
Machine management includes unlimited admin rewards and access to other players' machine service controls. Economy management allows wallet changes. Grant these capabilities deliberately.
Assigning a role replaces that player's local role list. It preserves individual permission overrides. To remove a local role:
/cobblegacha permissions role PlayerName noneIndividual capabilities can be added, denied or cleared:
/cobblegacha permissions grant PlayerName cobblegacha.banners.delete
/cobblegacha permissions deny PlayerName cobblegacha.economy.manage
/cobblegacha permissions unset PlayerName cobblegacha.banners.delete
/cobblegacha permissions check PlayerName
/cobblegacha permissions listReopen the menu after an access change. The server rechecks each operation, including already-open editor sessions. Permission-management commands require cobblegacha.permissions.manage, which is not included in any built-in role. Level-4 operators and the console retain recovery access.
All nodes start with cobblegacha.:
| Suffix | Allows |
|---|---|
banners.view |
Read banner editor catalog, detail and search |
banners.create |
Create and duplicate banners |
banners.edit |
Save existing banner settings; reload/repair banner configuration |
banners.delete |
Delete banners |
banners.rotation |
Start, stop, extend and manage the Banner Schedule calendar, availability, automatic rotation and presets |
banners.backgrounds |
Upload background artwork |
banners.balance |
Change rarity tier switches/weights and Wishprism pricing overrides |
shop.edit |
Edit shops, Auto Shop and Potential Prism settings; reset purchase/use limits |
quests.edit |
Edit quests and reset quest progress/claims |
loot.edit |
Configure structure chest loot and use the simulator |
rankings.manage |
Enable or disable public rankings |
economy.manage |
Inspect private bank reports and adjust banked balances |
machines.manage |
Admin machine service, protected breaking, templates and machine directory controls |
pity.edit |
Configure pity thresholds, modes and wish settings |
rewards.edit |
Configure daily login rewards |
network.view |
Read the server sync status panel |
permissions.manage |
Assign roles and grant/deny permissions |
Banner create/edit/rotation/balance/background permissions also allow the catalog/search needed to operate those tools. Some shared editor navigation remains visible; operations outside the user's permissions are refused by the server.
config/cobblegacha/permissions.json generates automatically. The file lists available nodes, predefined roles and UUID-based player assignments. A player entry looks like this:
"players": {
"00000000-0000-0000-0000-000000000001": {
"roles": ["banner_editor"],
"permissions": {
"cobblegacha.banners.delete": true,
"cobblegacha.shop.edit": false
}
}
}Replace the example UUID with the real player UUID. Custom roles are named objects under roles, mapping permission names to true or false. Wildcards such as cobblegacha.banners.* are supported. Exact rules take priority over broader rules. Within multiple roles, an applicable denial wins; individual player overrides take priority over roles.
After editing the file, run:
/cobblegacha permissions reloadThe file is server-local and is not included in SQL settings synchronization. For a network, use LuckPerms with its shared storage or maintain matching local policies on each backend.
Existing level-2 operators keep management access by default. Set operatorDefaults to false to require explicit capabilities for those operators. Level-4 operators always retain full recovery access.
Install the matching LuckPerms mod on each backend server. No additional CobbleGacha dependency is required. Example:
/lp group moderator permission set cobblegacha.banners.view true
/lp group moderator permission set cobblegacha.banners.create true
/lp group moderator permission set cobblegacha.banners.edit true
/lp group moderator permission set cobblegacha.banners.delete falseLuckPerms' active-context permission result is checked first. An explicit LuckPerms false overrides a local role or ordinary operator fallback. An undefined result uses the local policy. Level-4 recovery access remains available. A provider failure denies delegated access rather than granting extra access.
LuckPerms installed only on a proxy cannot supply permissions to a backend mod; it must also run on the game server. Web login names are not Minecraft player identities and do not receive these roles.
- Home
- 4.0 Update + Media
- Gacha + Claw Machines
- Machine Crafting
- Banner Rates, Prices + Items
- Quick Start
- Gacha + Banners
- Pull Cinematic + Cards
- Pity + Guarantee
- Wish Bank + Currencies
- Wish Exchange
- Potential Prism
- Quest System
- Daily Rewards
- Banner Editor
- Banner Schedule
- Backgrounds + Uploads
- Rankings + Admin Banks
- Chest Loot + Simulator
- Banner Reward Pools
- Shop Editor
- Pokémon Offer Settings
- Auto Shop Management
- Admin / Server Guide
- Permissions + Roles (4.0.3+)
- Web Admin Panel
- Network Sync + PostgreSQL
- Config + Data
- Compatibility + Updating
- GIF Gallery
- FAQ
- Licensing