RankForge optimization.yml – PacketEvents, Memory & Pruning
The plugins/RankForge/optimization.yml file configures performance fine-tuning and packet handler behaviors.
packetevents: enabled: true
memory: max-search-length: 32 cleanup-runtime-sessions: true prune-zero-inactive-players: enabled: false inactive-days: 90| Key | Default | Description |
|---|---|---|
packetevents.enabled |
true |
Enables virtual Sign GUI for player searching. Requires the PacketEvents plugin; falls back to chat if missing. |
memory.max-search-length |
32 |
Maximum character length for search queries in the GUI. |
memory.cleanup-runtime-sessions |
true |
Cleans up transient sessions (search prompts) when players disconnect or timeout. |
memory.prune-zero-inactive-players.enabled |
false |
Automatically purges empty player records who haven’t joined recently. |
memory.prune-zero-inactive-players.inactive-days |
90 |
Inactivity threshold in days. Minimum allowed is 7 days. |
Pruning Inactive Zero-Stat Players
Section titled “Pruning Inactive Zero-Stat Players”Only records matching all of the following criteria are pruned: 0 points, 0 kills, 0 deaths, 0 daily kills, no claimed rewards, and last seen longer than inactive-days. Any player with combat activity is permanently retained.
