Skip to content

Troubleshooting Guide

This guide covers common issues with Glamour and their solutions.

Symptoms:

  • Mod doesn’t appear in mod list
  • No Glamour commands available
  • Server crashes on startup

Common Causes & Solutions:

Check that all required mods are installed:

Required:
- Fabric Loader 0.16.14+
- Fabric API 0.116.4+1.21.1
- Fabric Kotlin 1.13.0+kotlin.2.1.0
- Cobblemon 1.7.0+1.21.1
- Ceremony 3.0.7+
- SGui 1.6.1+1.21.1
- Adventure Platform Fabric 5.14.2
- Impactor Libraries 5.3.0

Solution: Install any missing dependencies.

Error: Incompatible mod set!

Solution: Ensure you’re running Minecraft 1.21.1, not 1.21 or 1.21.2.

Error: Class loading errors or mixins failing

Solution:

  1. Remove other particle mods temporarily
  2. Check logs for specific conflicts
  3. Update all mods to latest versions

Error: ZipException or file reading errors

Solution: Re-download Glamour JAR from a trusted source.

Symptom: config/glamour/ folder doesn’t exist after first launch

Causes:

  1. Insufficient file permissions
  2. Glamour didn’t fully initialize
  3. Server crashed before config generation

Solutions:

  1. Check server has write permissions to config directory
  2. Look for initialization errors in logs
  3. Manually create config/glamour/ and restart server

Symptom: /particles command not found

Checklist:

  1. ✅ Glamour is loaded (/mods list or check logs)
  2. ✅ You have permission (op level 2+ or LuckPerms permission)
  3. ✅ Command syntax is correct

Solutions:

Terminal window
# If using LuckPerms
lp user YourName permission set glamour.command.particles true

Correct syntax:

/particles gui
/particles apply sendout particle_id
/persistentparticles reload

Not:

/particle gui ❌ (missing 's')
/glamour particles gui ❌ (no /glamour prefix)

“You don’t have permission to use this particle”

Section titled ““You don’t have permission to use this particle””

Symptom: Can open GUI but can’t apply particles

Cause: Missing particle-specific permission

Solution:

Terminal window
# Grant specific particle
lp user YourName permission set glamour.particles.confetti_burst true
# Or grant category
lp user YourName permission set glamour.particles.category.celebration.* true
# Or grant rarity level
lp user YourName permission set glamour.particles.rarity.common.* true
# Or grant all
lp user YourName permission set glamour.particles.* true

Symptom: Command fails when specifying slot number

Causes:

  1. Slot is empty
  2. Invalid slot number (must be 1-6)
  3. Pokemon is in PC, not party

Solutions:

  1. Check party has Pokemon in that slot
  2. Use slot 1-6 only
  3. Omit slot parameter to use selected Pokemon:
    /particles apply sendout confetti_burst

Symptom: Applied particles don’t render

Diagnostic Steps:

/particles manage

Check if particle is actually applied to Pokemon.

Are you within render distance?

  • Default: 32 blocks
  • Check particle config’s maxDistance setting
  • Get closer to Pokemon

Error in logs: Unknown particle: ...

Solution: Check particleResourceId in config matches Cobblemon’s particle pack:

{
"particleResourceId": "cobblemon:sparkle" // Must be valid Cobblemon particle
}

Common valid particles:

  • cobblemon:sparkle
  • cobblemon:flame
  • cobblemon:bubble
  • cobblemon:electric_spark

Cause: Client missing Cobblemon or resource pack

Solution: Ensure client has:

  • Cobblemon mod installed
  • Cobblemon resource pack loaded
  • Particles enabled in video settings

If using persistent particles with onlyWhenVisible: true:

  • Pokemon must be in your field of view
  • Turn to face Pokemon

If using requiresLOS: true:

  • Must have direct line of sight
  • Remove blocks between you and Pokemon

Symptom: Overwhelming particle spam

Solutions:

  1. Increase intervalTicks (spawn less frequently)

    "intervalTicks": 100 // Was 20
  2. Reduce particleCount

    "particleCount": 1 // Was 5
  3. Decrease radius

    "radius": 0.5 // Was 2.0

Symptom: Particles floating away from Pokemon

Cause: followEntity is false

Solution:

"followEntity": true // Particles follow Pokemon

Symptom: Particles too high/low

Solution: Adjust offsetY

"offsetY": 1.5 // Raise particles
"offsetY": 0.0 // Lower particles

Symptom: Conditions should match but no particles

Debugging:

/persistentparticles debug particle_id

Shows if config exists and its settings.

Common mistakes:

Species Name Format:

"species": ["pikachu"] // ✅ Correct
"species": ["Pikachu"] // ❌ Case matters
"species": ["pokemon:pikachu"] // ❌ Unless using namespace

Biome Names:

"biomes": ["minecraft:plains"] // ✅ Correct (namespaced)
"biomes": ["plains"] // ❌ Missing namespace

Time of Day:

"timeOfDay": ["night"] // ✅ Correct
"timeOfDay": ["Night"] // ❌ Case matters

Another config might have higher priority:

/persistentparticles debug higher_priority_config

If both match, higher priority wins.

/persistentparticles stats

Shows how many Pokemon are being tracked and renders per tick.

Symptom: TPS drops when many Pokemon are out

Diagnostics:

/persistentparticles stats

Check:

  • Renders This Tick: Should be < 100
  • LOS Tests: Should be < 50

Solutions:

"intervalTicks": 100 // Increase from 20
"particleCount": 2 // Decrease from 5
"maxDistance": 24 // Decrease from 64
"onlyWhenVisible": true // Cheap optimization
"requiresLOS": false // Don't use unless necessary

Symptom: Client lag when near many Pokemon

Cause: Too many particles rendering on client

Solutions:

  1. Reduce particleCount in configs
  2. Lower maxDistance to cull distant particles
  3. Increase intervalTicks for less frequent spawns
  4. Client: Lower particle setting in video options

Symptom: High memory usage or out-of-memory errors

Causes:

  1. Too many cached states
  2. Memory leak in configuration loading

Solutions:

  1. Restart server periodically
  2. Reduce number of persistent particle configs
  3. Increase JVM heap size:
    Terminal window
    java -Xmx4G -Xms4G -jar server.jar

Error: Expected ',' at line X

Cause: Invalid JSON syntax

Common Mistakes:

{
"id": "test"
"type": "SENDOUT" // ❌ Missing comma after "test"
}

Fix:

{
"id": "test",
"type": "SENDOUT" // ✅ Comma added
}
{
"id": "test",
"type": "SENDOUT", // ❌ Trailing comma before }
}

Fix:

{
"id": "test",
"type": "SENDOUT" // ✅ No trailing comma
}
{
"id": 'test' // ❌ Single quotes
}

Fix:

{
"id": "test" // ✅ Double quotes
}

Symptom: Particles don’t appear after creating config file

Checklist:

  1. ✅ File is in correct directory
  2. ✅ File has .json extension
  3. ✅ JSON is valid (use a validator)
  4. ✅ Ran reload command

Solutions:

✅ config/glamour/particles/my_particle.json
❌ config/glamour/my_particle.json
❌ config/particles/my_particle.json
/particles reload
/persistentparticles reload

Look for errors in logs/latest.log:

[Glamour] Failed to load particle config: my_particle.json

Symptom: Particles reset after server restart

Cause: Ceremony state not saving

Solutions:

Ensure Ceremony mod is installed and loaded.

Check Ceremony’s database configuration:

{
"database": {
"type": "sqlite",
"path": "ceremony_data.db"
}
}

Ensure server can write to database file.

Look for Ceremony database errors in logs.

Symptom: Permission granted but still denied

Solutions:

Terminal window
/lp reloadconfig
/particles reload
Terminal window
/lp user YourName permission info

Verify the permission is actually granted (not negated by higher priority).

Player may need to rejoin for permissions to update.

Symptom: glamour.particles.* doesn’t grant all particles

Cause: LuckPerms wildcard not properly configured

Solution:

Terminal window
# Use proper wildcard syntax
lp user YourName permission set glamour.particles.* true
# Verify
lp user YourName permission check glamour.particles.confetti_burst

Error: database is locked

Causes:

  1. Multiple servers accessing same database
  2. Improper shutdown left lock

Solutions:

  1. Ensure only one server instance running
  2. Delete .db-shm and .db-wal files
  3. Restart server

Error: Communications link failure

Solutions:

  1. Verify MySQL server is running
  2. Check connection credentials
  3. Ensure firewall allows connection
  4. Test connection with MySQL client

Error: Connection refused

Solutions:

  1. Verify MongoDB server is running
  2. Check connection string format
  3. Ensure database exists
  4. Check authentication credentials

If none of these solutions work:

  1. Check Logs: Look in logs/latest.log for errors
  2. Test Minimal Setup: Remove other mods to isolate issue
  3. Verify Versions: Ensure all mods are correct versions
  4. Create Issue: Report bug with:
    • Exact error message
    • Glamour version
    • Full mod list
    • Relevant log excerpts
    • Steps to reproduce