Skip to main content
SentrySettings generates heavily documented configuration files. This guide will walk you through the core backend functionality, from disabling specific toggles in the GUI to tuning the dangerous PvP packet optimizers.
Looking for the full default code templates? Check out the complete, downloadable versions by running the jar.

1. Main Configuration (config.yml)

The config.yml controls the database connection and the default states for every single toggle in the GUI.

1.1 Database Selection

SentrySettings needs a place to store the personal preferences of every player.
config.yml
Frequently Asked Questions:
  • Which database should I use? If you run a single survival/factions server, use H2. It’s fast, embedded, and requires zero setup. If you run a network (e.g., multiple servers connected via BungeeCord/Velocity) and want settings (like hidden chats) to sync across them, you must use MYSQL.

1.2 Default Player States

What happens when a new player logs in for the first time? The defaults block determines whether a setting is automatically turned true or false before they ever open the menu.
config.yml
If a player manually toggles a setting in-game, it is saved to the database and will override this default value forever.
If you do not want your players to have access to specific settings (e.g., you want to force everyone to see global chat), you can remove the item from the GUI entirely using the toggles block:
config.yml

2. Packet Optimizers & PvP Engines

SentrySettings uses ProtocolLib to intercept incoming and outgoing packets. By manipulating these packets, we can artificially lower a player’s ping or optimize the hit-registration of their sword swings and end crystals.
Anti-Cheat Flag Warning: SentrySettings overrides standard Minecraft physics packets. If you set the optimizer intensity to EXTREME, standard anti-cheats (like Vulcan or GrimAC) WILL falsely ban your players for Reach or KillAura!

2.1 Optimizer Tuning

You can control the intensity of the network manipulation in the optimizer-tuning section.
config.yml
String
Disables all packet manipulation. Reverts to vanilla hit-registration, is a “fake” spoofer optimizer.
String
required
The recommended default. Safely optimizes packet order to reduce latency without triggering anti-cheats.
String
Aggressive packet spoofing. Provides the best competitive advantage but requires you to whitelist players or disable your anti-cheat’s combat checks.

Screenshot 2026 07 26 173813
Last modified on July 28, 2026