Troubleshooting
This page is written for server owners running production servers.
Plugin does not enable on startup
Symptoms:
- Plugin is red in
/plugins - Console shows enable-time errors
Checks:
- Confirm server version is Paper
1.21.4. - Confirm Java runtime is
21+(java -version). - Ensure only one factions plugin is installed to avoid command conflicts.
- Check
plugins/PvPIndexFactions/is writable.
Fix:
- Remove incompatible or duplicate factions jars.
- Update Java runtime to 21+.
- Restart and watch first error in console (root cause is usually the first stack trace).
Database connection errors
Symptoms:
- Startup logs show SQL connection timeout/authentication errors
- Factions data does not persist after restart
Checks:
- Open
plugins/PvPIndexFactions/database.yml. - Verify
typeis correct (h2ormysql). - For MySQL: host, port, database, username, password, firewall.
- Confirm MySQL user has permissions for schema/table creation.
Fix:
- Correct credentials and host settings.
- Test DB reachability from host machine.
- Restart server and verify initialization logs.
Invites are missing or expired unexpectedly
Symptoms:
- Players cannot accept invite they expected
/f joinshows no pending invites
Checks:
- Review
factions.invites.ttl-hoursinconfig.yml. - Confirm enough time has not passed since invite creation.
- Ask player to relog to trigger join notification summary.
Fix:
- Increase invite TTL if your server expects longer response times.
- Re-send invite if expired.
- Use
/f invite listto verify current active invites.
Claiming or unclaiming does not work
Symptoms:
/f claimor/f unclaimreturns denial messages- Map click-to-claim appears inactive
Checks:
- Confirm player is in a faction with required rank.
- Check claim limits and power.
- Verify economy costs can be paid (if enabled).
- Verify territory is not blocked by protection integrations.
- Confirm admin bypass state is not causing confusion during tests.
Fix:
- Resolve rank/permission limits.
- Adjust power/economy settings or faction bank balance.
- Review
integrations.*toggles for WorldGuard/LWC interactions.
/f map looks wrong or not updating
Symptoms:
- Map output is stale, clipped, or confusing
- Territory transitions are not shown
Checks:
- Verify map mode:
/f map once|on|off. - Confirm player notification settings:
/f notify territory on. - Confirm claims actually exist in nearby chunks.
Fix:
- Toggle map off/on to refresh stream mode.
- Re-test in an area with known claimed chunks.
- Restart server if recent config changes were not reloaded.
Economy and bank issues
Symptoms:
- Deposit/withdraw/transfer fails
- Bank tax behaves unexpectedly
Checks:
- Confirm Vault and an economy provider are installed.
- Verify economy toggles under
factions.economy.*. - Review tax settings:
factions.economy.tax.enabledfactions.economy.tax.ratefactions.economy.tax.interval-hoursfactions.economy.tax.min-bank-balance
Fix:
- Install/enable Vault ecosystem plugins.
- Tune tax values for your economy scale.
- Use
/f bank historyto inspect transaction flow.
Performance and stability checks
Symptoms:
- Lag spikes during high faction activity
- Slow command response in large datasets
Checks:
- Use MySQL for larger networks instead of embedded H2.
- Review server timings while players use
/f mapand claim modes. - Ensure host has enough memory and disk throughput.
Fix:
- Move to MySQL and tune pool size.
- Reduce aggressive map usage radius if configured high.
- Restart during low-traffic windows after major config updates.
When to escalate
Collect this before requesting support:
- Full startup log section for PvPIndex Factions.
- Current
config.yml,database.yml(with secrets removed). - Exact command used and player-facing output.
- Java version, Paper build, plugin version.