Still loading

SBlock and an iron golem guard a locked village gate.
Minecraft · Guide

Secure a Paper server from grief and exploits

Lock down online-mode, chat signing, RCON, book byte limits, packet rate limits, LibertyBans, and CoreProtect before public players join.

On this page

Essential security and logging downloads

Before opening a public Paper server, review authentication, network access, administrator permissions, backups and the protection settings for your version. Moderation and logging plugins can help investigate incidents, but they do not replace tested backups or a secured host .

Core server security and audit stack

PaperMC official project iconPaperMCBuilt-in packet rate limiting, book byte limits, and proxy forwarding security.DocsLibertyBans official plugin iconLibertyBansFast SQL-backed bans, mutes, warnings, and alt detection.ModrinthCoreProtect official plugin iconCoreProtectBlock, chest, entity, and chat logging for post-grief rollbacks.Modrinth

Lock authentication and RCON in server.properties

For a standalone public server, keep online-mode=true so the server authenticates Java players. An exposed offline-mode backend can allow impersonation. A proxy setup requires correct forwarding and separately protected backend ports . Keep enable-rcon=false unless you need remote administration and have secured it on a private network or tunnel. Grant staff only the permissions they need, and test them using a non-operator account.

Standalone security posture in server.properties before public opening
online-mode=true
enforce-secure-profile=true
white-list=true
enforce-whitelist=true
enable-rcon=false
enable-query=false
op-permission-level=4

Configure packet rate limits and book caps in Paper

Paper provides packet limits and book validation settings in config/paper-global.yml. Defaults and paths can change between releases: compare your generated configuration with the documentation for your exact version before editing. Back up the file, restart after changes, and test legitimate clients .

Example from current Paper documentation; compare with your version before editing.
packet-limiter:
  all-packets:
    action: KICK
    interval: 7.0
    max-packet-rate: 500.0
item-validation:
  book-size:
    page-max: 2560
    total-multiplier: 0.98

Remove operator status and restrict dangerous commands

Limit operator status and grant staff the permissions their duties require. Review access to your hosting panel, console and credentials as well. Restricting plugin-list commands can reduce casual disclosure, but it is not a substitute for updating and securing plugins.

Data table

High-risk commands and safer administration habits

High-risk commands and safer administration habits
Command or vectorRiskRecommended control
/op <player>Full server takeover on breachRemove permanent op; use scoped LuckPerms roles
enable-rcon=true open portBrute-force remote console executionKeep false or bind strictly to private VPN/SSH
/plugins and /verExposes exact plugin stack to exploitersNegate bukkit.command.plugins and version nodes
Untrusted plugin JARsSilent backdoors in plugins/Install only verified Modrinth, Hangar, or official JARs

Install CoreProtect and LibertyBans early for evidence

CoreProtect can record supported block and container activity for later investigation and rollback. Install a compatible build, check its configuration, and test that the actions you care about are recorded; it cannot reconstruct events that were never logged . LibertyBans can provide moderation records and commands when configured appropriately . Keep backups separately.

Firewall ports and verify pre-public security

Allow only the ports your server and administration actually need in the host and cloud firewalls. Java Paper commonly uses TCP 25565; voice chat and Geyser use separate ports. For current Geyser NetherNet, the configured port needs both TCP and UDP. Check your transport and hosting documentation before opening ports. Secure SSH with key-based authentication and restrict administration access.

Pre-public server hardening steps

  • Confirm online-mode=true and enforce-secure-profile=true on standalone Paper .
  • Keep white-list=true enabled until claims, permissions, and spawn protection are live .
  • Verify packet-limiter and book-size remain active in config/paper-global.yml .
  • Keep enable-rcon=false and enable-query=false unless strictly required .
  • Boot CoreProtect and LibertyBans cleanly so logging starts on day one .

Frequently asked questions

Is online-mode=false safe if I only enable a login password plugin?

Running online-mode=false without Mojang authentication exposes UUID spoofing and brute-force risks unless carefully isolated behind a properly firewalled Velocity proxy handling online authentication.

Should builders or moderators receive server op status?

Give staff only the permissions needed for their duties, and test those permissions with a non-operator account. Scoped permissions reduce the damage a compromised account can cause.

Will Paper packet-limiter kick players with high ping?

Packet limits can affect legitimate players if configured too strictly. Check the kick reason and logs, compare your settings with the documentation for your Paper version, and test changes before applying them broadly.

Why install CoreProtect before any grief happens?

CoreProtect cannot roll back block breaks or chest thefts that occurred before the plugin was loaded and recording transactions.

Keep hardening your setup

Java SMP server setup guidePaper plugin troubleshooting

Sources & evidence

Was this article helpful?

Share this post