Troubleshooting Guide
Troubleshooting Guide
Section titled “Troubleshooting Guide”This guide covers common issues with Glamour and their solutions.
Installation Issues
Section titled “Installation Issues”Glamour Won’t Load
Section titled “Glamour Won’t Load”Symptoms:
- Mod doesn’t appear in mod list
- No Glamour commands available
- Server crashes on startup
Common Causes & Solutions:
Missing Dependencies
Section titled “Missing Dependencies”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.0Solution: Install any missing dependencies.
Wrong Minecraft Version
Section titled “Wrong Minecraft Version”Error: Incompatible mod set!
Solution: Ensure you’re running Minecraft 1.21.1, not 1.21 or 1.21.2.
Conflicting Mods
Section titled “Conflicting Mods”Error: Class loading errors or mixins failing
Solution:
- Remove other particle mods temporarily
- Check logs for specific conflicts
- Update all mods to latest versions
Corrupted JAR
Section titled “Corrupted JAR”Error: ZipException or file reading errors
Solution: Re-download Glamour JAR from a trusted source.
Configuration Not Generating
Section titled “Configuration Not Generating”Symptom: config/glamour/ folder doesn’t exist after first launch
Causes:
- Insufficient file permissions
- Glamour didn’t fully initialize
- Server crashed before config generation
Solutions:
- Check server has write permissions to config directory
- Look for initialization errors in logs
- Manually create
config/glamour/and restart server
Command Issues
Section titled “Command Issues”Commands Not Recognized
Section titled “Commands Not Recognized”Symptom: /particles command not found
Checklist:
- ✅ Glamour is loaded (
/mods listor check logs) - ✅ You have permission (op level 2+ or LuckPerms permission)
- ✅ Command syntax is correct
Solutions:
No Permission
Section titled “No Permission”# If using LuckPermslp user YourName permission set glamour.command.particles trueCommand Syntax Error
Section titled “Command Syntax Error”Correct syntax:
/particles gui/particles apply sendout particle_id/persistentparticles reloadNot:
/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:
# Grant specific particlelp user YourName permission set glamour.particles.confetti_burst true
# Or grant categorylp user YourName permission set glamour.particles.category.celebration.* true
# Or grant rarity levellp user YourName permission set glamour.particles.rarity.common.* true
# Or grant alllp user YourName permission set glamour.particles.* true“No Pokemon in that slot”
Section titled ““No Pokemon in that slot””Symptom: Command fails when specifying slot number
Causes:
- Slot is empty
- Invalid slot number (must be 1-6)
- Pokemon is in PC, not party
Solutions:
- Check party has Pokemon in that slot
- Use slot 1-6 only
- Omit slot parameter to use selected Pokemon:
/particles apply sendout confetti_burst
Particle Display Issues
Section titled “Particle Display Issues”Particles Not Showing
Section titled “Particles Not Showing”Symptom: Applied particles don’t render
Diagnostic Steps:
1. Verify Application
Section titled “1. Verify Application”/particles manageCheck if particle is actually applied to Pokemon.
2. Check Distance
Section titled “2. Check Distance”Are you within render distance?
- Default: 32 blocks
- Check particle config’s
maxDistancesetting - Get closer to Pokemon
3. Verify Particle Resource ID
Section titled “3. Verify Particle Resource ID”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:sparklecobblemon:flamecobblemon:bubblecobblemon:electric_spark
4. Client-Side Check
Section titled “4. Client-Side Check”Cause: Client missing Cobblemon or resource pack
Solution: Ensure client has:
- Cobblemon mod installed
- Cobblemon resource pack loaded
- Particles enabled in video settings
5. Visibility Settings
Section titled “5. Visibility 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
Particles Appearing Incorrectly
Section titled “Particles Appearing Incorrectly”Too Many Particles
Section titled “Too Many Particles”Symptom: Overwhelming particle spam
Solutions:
-
Increase
intervalTicks(spawn less frequently)"intervalTicks": 100 // Was 20 -
Reduce
particleCount"particleCount": 1 // Was 5 -
Decrease
radius"radius": 0.5 // Was 2.0
Particles in Wrong Location
Section titled “Particles in Wrong Location”Symptom: Particles floating away from Pokemon
Cause: followEntity is false
Solution:
"followEntity": true // Particles follow PokemonSymptom: Particles too high/low
Solution: Adjust offsetY
"offsetY": 1.5 // Raise particles"offsetY": 0.0 // Lower particlesPersistent Particles Not Triggering
Section titled “Persistent Particles Not Triggering”Symptom: Conditions should match but no particles
Debugging:
1. Check Configuration Loaded
Section titled “1. Check Configuration Loaded”/persistentparticles debug particle_idShows if config exists and its settings.
2. Verify Conditions Match
Section titled “2. Verify Conditions Match”Common mistakes:
Species Name Format:
"species": ["pikachu"] // ✅ Correct"species": ["Pikachu"] // ❌ Case matters"species": ["pokemon:pikachu"] // ❌ Unless using namespaceBiome Names:
"biomes": ["minecraft:plains"] // ✅ Correct (namespaced)"biomes": ["plains"] // ❌ Missing namespaceTime of Day:
"timeOfDay": ["night"] // ✅ Correct"timeOfDay": ["Night"] // ❌ Case matters3. Check Priority
Section titled “3. Check Priority”Another config might have higher priority:
/persistentparticles debug higher_priority_configIf both match, higher priority wins.
4. View Statistics
Section titled “4. View Statistics”/persistentparticles statsShows how many Pokemon are being tracked and renders per tick.
Performance Issues
Section titled “Performance Issues”Server Lag
Section titled “Server Lag”Symptom: TPS drops when many Pokemon are out
Diagnostics:
/persistentparticles statsCheck:
- Renders This Tick: Should be < 100
- LOS Tests: Should be < 50
Solutions:
Reduce Render Frequency
Section titled “Reduce Render Frequency”"intervalTicks": 100 // Increase from 20Lower Particle Counts
Section titled “Lower Particle Counts”"particleCount": 2 // Decrease from 5Reduce Render Distance
Section titled “Reduce Render Distance”"maxDistance": 24 // Decrease from 64Enable Visibility Checks
Section titled “Enable Visibility Checks”"onlyWhenVisible": true // Cheap optimizationAvoid Expensive LOS
Section titled “Avoid Expensive LOS”"requiresLOS": false // Don't use unless necessaryClient FPS Drops
Section titled “Client FPS Drops”Symptom: Client lag when near many Pokemon
Cause: Too many particles rendering on client
Solutions:
- Reduce
particleCountin configs - Lower
maxDistanceto cull distant particles - Increase
intervalTicksfor less frequent spawns - Client: Lower particle setting in video options
Memory Issues
Section titled “Memory Issues”Symptom: High memory usage or out-of-memory errors
Causes:
- Too many cached states
- Memory leak in configuration loading
Solutions:
- Restart server periodically
- Reduce number of persistent particle configs
- Increase JVM heap size:
Terminal window java -Xmx4G -Xms4G -jar server.jar
Configuration Issues
Section titled “Configuration Issues”JSON Parse Errors
Section titled “JSON Parse Errors”Error: Expected ',' at line X
Cause: Invalid JSON syntax
Common Mistakes:
Missing Comma
Section titled “Missing Comma”{ "id": "test" "type": "SENDOUT" // ❌ Missing comma after "test"}Fix:
{ "id": "test", "type": "SENDOUT" // ✅ Comma added}Trailing Comma
Section titled “Trailing Comma”{ "id": "test", "type": "SENDOUT", // ❌ Trailing comma before }}Fix:
{ "id": "test", "type": "SENDOUT" // ✅ No trailing comma}Wrong Quotes
Section titled “Wrong Quotes”{ "id": 'test' // ❌ Single quotes}Fix:
{ "id": "test" // ✅ Double quotes}Config Not Loading
Section titled “Config Not Loading”Symptom: Particles don’t appear after creating config file
Checklist:
- ✅ File is in correct directory
- ✅ File has
.jsonextension - ✅ JSON is valid (use a validator)
- ✅ Ran reload command
Solutions:
Wrong Directory
Section titled “Wrong Directory”✅ config/glamour/particles/my_particle.json❌ config/glamour/my_particle.json❌ config/particles/my_particle.jsonRun Reload Command
Section titled “Run Reload Command”/particles reload/persistentparticles reloadCheck Logs
Section titled “Check Logs”Look for errors in logs/latest.log:
[Glamour] Failed to load particle config: my_particle.jsonEffects Not Persisting
Section titled “Effects Not Persisting”Symptom: Particles reset after server restart
Cause: Ceremony state not saving
Solutions:
Check Ceremony Installation
Section titled “Check Ceremony Installation”Ensure Ceremony mod is installed and loaded.
Verify Database
Section titled “Verify Database”Check Ceremony’s database configuration:
{ "database": { "type": "sqlite", "path": "ceremony_data.db" }}Check File Permissions
Section titled “Check File Permissions”Ensure server can write to database file.
Review Logs
Section titled “Review Logs”Look for Ceremony database errors in logs.
LuckPerms Issues
Section titled “LuckPerms Issues”Permissions Not Working
Section titled “Permissions Not Working”Symptom: Permission granted but still denied
Solutions:
Clear Permission Cache
Section titled “Clear Permission Cache”/lp reloadconfig/particles reloadCheck Permission Inheritance
Section titled “Check Permission Inheritance”/lp user YourName permission infoVerify the permission is actually granted (not negated by higher priority).
Rejoin Server
Section titled “Rejoin Server”Player may need to rejoin for permissions to update.
Wildcard Permissions Not Working
Section titled “Wildcard Permissions Not Working”Symptom: glamour.particles.* doesn’t grant all particles
Cause: LuckPerms wildcard not properly configured
Solution:
# Use proper wildcard syntaxlp user YourName permission set glamour.particles.* true
# Verifylp user YourName permission check glamour.particles.confetti_burstDatabase Issues
Section titled “Database Issues”SQLite Lock Errors
Section titled “SQLite Lock Errors”Error: database is locked
Causes:
- Multiple servers accessing same database
- Improper shutdown left lock
Solutions:
- Ensure only one server instance running
- Delete
.db-shmand.db-walfiles - Restart server
MySQL Connection Failures
Section titled “MySQL Connection Failures”Error: Communications link failure
Solutions:
- Verify MySQL server is running
- Check connection credentials
- Ensure firewall allows connection
- Test connection with MySQL client
MongoDB Connection Issues
Section titled “MongoDB Connection Issues”Error: Connection refused
Solutions:
- Verify MongoDB server is running
- Check connection string format
- Ensure database exists
- Check authentication credentials
Getting Help
Section titled “Getting Help”If none of these solutions work:
- Check Logs: Look in
logs/latest.logfor errors - Test Minimal Setup: Remove other mods to isolate issue
- Verify Versions: Ensure all mods are correct versions
- Create Issue: Report bug with:
- Exact error message
- Glamour version
- Full mod list
- Relevant log excerpts
- Steps to reproduce