Wiki 9Minecraft Wiki 9Minecraft

How to Manage Server Lag Protection and Migrate Old Data

Keeping extra chunks loaded and running multiple mob spawners simultaneously can strain server hardware. The plugin includes automated performance safeguards and tools for administrators upgrading from older setups.

How Automatic Lag Protection Works

You do not need to manually watch server performance while fake players are running farms:

  • Automatic Removal: If the server's tick rate (TPS) drops too low, the plugin automatically removes active fake players from the world to let the server recover.
  • Dynamic Spawn Limits: During low tick rate events, the plugin also lowers the active spawn limits automatically so players cannot immediately re-spawn bots into a struggling server.
  • Rank-Based Limits: Server owners can configure personal spawn limits across different player ranks in the plugin settings files to prevent too many fake players from being created at once.

Importing Legacy Fake Player Data

If your server previously used the original minecraft-fakeplayer plugin, you can carry over your existing SQLite database records without remaking everything from scratch:

1. Before running any migration commands, make a backup copy of your old data files in case you need to restore them.

2. Once the server is running with FakePlayerPlus installed, ensure the legacy SQLite files are in place.

3. Run /fp import with administrator permissions to read and import the legacy SQLite database entries into the new system.