-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
This guide helps you diagnose and fix common issues with SpectatorPlusPlus. Follow these steps to resolve problems and get your plugin working smoothly.
- Plugin doesn't appear in
/pluginslist - Console shows error on startup
- "Plugin disabled" message
1. Check Server Version
# Verify your server version
/version
Fix: Ensure you're running Paper/Spigot 1.21 or newer
**2. Check Java Version**
```bash
# Check Java version
java -versionFix: Update Java if older than Java 17
3. Check Plugin File
- Ensure file ends with
.jar - Verify file size is reasonable (not 0KB)
- Download from Modrinth again
4. Check Dependencies
- Some servers require ProtocolLib or other dependencies
- Check console for dependency errors
-
/spectatorreturns "Unknown command" - Commands don't execute
- "No permission" even for OPs
Solutions:
- Verify Plugin is Enabled
text /plugins Look for "SpectatorPlusPlus" in the list
- Check Command Registration
bash
[00:00:00 INFO]: [SpectatorPlusPlus] Registered command: spectator 3. Fix Command Conflicts
- Check for other plugins using
/spectatorcommand - Try aliases:
/specor/spectate - Use
/minecraft:spectatorto force vanilla command
- Reload Plugin
text /spectator reload or
text /reload confirm Warning: /reload can cause issues on production servers
- "You don't have permission!"
- OPs can use but regular players can't
- Inconsistent permission behavior
1. Basic Permission Check
# For LuckPerms
/lp user <player> permission check spectatorplusplus.use
# For PermissionsEx
/pex user <player> check spectatorplusplus.use
- Permission Setup Examples
# Give basic access to all players
lp group default permission set spectatorplusplus.use true
# Staff with admin access
lp group staff permission set spectatorplusplus.admin true3. OP Status Conflicts
- Some permission systems require OP + permission
- Try giving OP temporarily:
/op <player> - Remove OP after testing:
/deop <player>
4. World/Context Permissions
- Check if permissions are world-specific
- Test in different worlds
- Use global context if needed
- Players spawn in wrong location
- "Lobby not set" message
- Teleport errors
1. Set Lobby Properly
/spectator lobby set
Requirements:
- Must be executed by OP/admin
- Must be in the intended lobby world
- Run command at exact spawn location
2. Verify Lobby Location Check plugins/SpectatorPlusPlus/config.yml:
lobby:
world: "world"
x: 100.5
y: 64.0
z: 200.53. World Protection Conflicts
- Check if world guard/plot protection blocks teleport
- Test with bypass permissions
- Adjust protection settings
4. Multi-World Servers
- Ensure lobby world is loaded
- Check Multiverse/other world manager settings
- Set lobby in each world if needed
- Right-click doesn't work
- Camera glitches
- Can't exit spectate mode
1. Enable Feature
Check config.yml:
first-person-spectating:
enabled: true
right-click-to-spectate: true2. Permission Check
# Verify player has permission
spectatorplusplus.firstperson
3. Control Issues
- Exit: Press Shift (sneak)
- Switch targets: Mouse wheel
- Inventory view: Right-click (if enabled)
4. Camera Problems
- Try
camera-inside-body: false - Adjust player perspective
- Check for conflicting camera plugins
- Compass doesn't open GUI
- GUI shows no players
- Items missing from hotbar
1. Hotbar Slot Configuration
hotbar-items:
compass-slot: 0 # Must be 0-8Fix: Ensure slot numbers are 0-8
2. GUI Permissions
# Required permissions
spectatorplusplus.use
spectatorplusplus.compass
3. GUI Content Issues
- Check
show-spectators: true/false - Verify
show-health: true - Ensure players are online and not vanished
4. Inventory Conflicts
- Clear player inventory before entering spectator
- Check for inventory save/restore plugins
- Try with empty inventory
- Lag when entering spectator
- Server performance drops
- Memory usage spikes
1. Reduce Update Intervals
# In config.yml, increase intervals
update-interval: 20 # ticks (20 = 1 second)2. Limit Features
# Disable non-essential features
first-person-spectating:
enabled: false
compass-gui:
show-health: false
show-gamemode: false3. Player Limits
- Limit simultaneous spectators
- Implement cooldowns
- Use permissions to restrict access
4. Server Optimization
- Allocate more RAM
- Use Paper with optimizations
- Reduce view-distance
- Conflicts with other plugins
- Features don't work together
- Unexpected behavior
1. Common Conflicts
- Vanish plugins: Adjust visibility settings
- Teleport plugins: Set priority/override
- World managers: Check world teleport settings
2. Plugin Load Order
# In paper.yml or spigot.yml
plugins:
- VanishNoPacket
- Multiverse-Core
- SpectatorPlusPlus # Load after dependencies
3. Feature-Specific Fixes
Chat issues: Check chat manager plugins
Flight conflicts: Disable other flight plugins
Inventory: Check inventory save plugins
π§ Advanced Troubleshooting Debug Mode Enable debug logging in config.yml:
debug:
enabled: true
log-spectator-events: true
log-spectating-events: trueCheck logs in:
logs/latest.log
plugins/SpectatorPlusPlus/debug.log
### Configuration Reset
1. Stop server
2. Rename `plugins/SpectatorPlusPlus` folder
3. Start server to generate new config
4. Compare with old config
5. Stop server and restore custom settings
### Plugin Testing Protocol
1. **Clean test**:
- Fresh server install
- Only SpectatorPlusPlus
- Default configuration
2. **Incremental test**:
- Add plugins one by one
- Test after each addition
- Identify conflict source
- Corrupted download
- Wrong Java version
- Missing dependencies
- Plugin built for different Minecraft version
- Incompatible server software
- Update Paper/Spigot
- Lobby world unloaded
- World name mismatch
- Case sensitivity issues
- Player offline
- Player in different world
- Vanish plugin interference
π οΈ Support Tools Diagnostic Commands text
/spectator version
/spectator help
/spectator reload
- Enable timestamps: Check exact error time
-
Search for errors:
[ERROR]or[WARN] - Check startup: Look for initialization errors
- Player actions: Trace player-triggered errors
# Basic server info
/timings report
# Memory usage
/gc
# Entity count
/entity
- Stop server
- Remove
.jarfrom plugins folder - Start server
- Replace with fresh download
# Remove player data files
plugins/SpectatorPlusPlus/playerdata/<uuid>.yml
- Warn players
- Save worlds
- Use
/reload confirm - Monitor for issues
- Backup current: Copy entire plugin folder
- Restore previous: Use backup from working state
- Test: Verify functionality
- Update carefully: Change one setting at a time
- β Check server version (1.21+)
- β Verify Paper/Spigot
- β Test with default config
- β Check console errors
- β Try clean install
-
Server version:
/version -
Plugin version:
/spectator version - Error log: Relevant console lines
- Config: Relevant config sections
- Steps: How to reproduce the issue
- GitHub Issues: Bug reports and feature requests
- Discord: Quick help and community support
- Wiki: Documentation and guides
- Weekly: Review error logs
- Monthly: Backup configurations
- Update: Check for new versions
- Test: Verify after server updates
- Track spectator count
- Monitor memory usage
- Check teleport lag
- Review player feedback
- Read changelog
- Backup current setup
- Test on development server
- Update during maintenance window
- Monitor after update
-
Set lobby:
/spectator lobby set -
Grant permissions:
spectatorplusplus.use - Check version: 1.21+ Paper/Spigot
- Fresh download: From Modrinth
- Debug mode: Enable in config
β οΈ Always backup before changes- π Read the changelog before updating
- π§ͺ Test in development environment first
- π Use
/spectator reloadnot/reload - π― One change at a time for testing
Still having issues? Check the Configuration Guide or Usage Guide for more detailed information.