Skip to main content
Paper provides additional commands beyond vanilla Minecraft for server administration, debugging, and performance monitoring.

Paper Commands

The /paper command provides access to Paper-specific functionality. All subcommands require the bukkit.command.paper permission or specific subcommand permissions.

Syntax

Subcommands

Display Paper server version information.
Permission: bukkit.command.paper.versionOutput includes:
  • Paper version and build number
  • Minecraft version
  • Git commit information
  • Previous version (if updated)
Reload Paper configuration files without restarting the server.
Permission: bukkit.command.paper.reloadReloads:
  • config/paper-global.yml
  • config/paper-world-defaults.yml
  • Per-world configurations
Some settings require a full server restart. Reloading may not apply all changes and can cause issues in some cases.
Generate a heap dump for memory analysis.
Permission: bukkit.command.paper.heapCreates a .hprof file in the server directory for analysis with tools like:
  • Eclipse Memory Analyzer (MAT)
  • VisualVM
  • JProfiler
Use this to diagnose memory leaks or high memory usage. The dump is created instantly and can be very large.
Display entity information and statistics for the current world.
Permission: bukkit.command.paper.entityShows:
  • Entity count by type
  • Chunk locations with high entity counts
  • Entity distribution analysis
Useful for identifying:
  • Entity farms causing lag
  • Chunk errors with excessive entities
  • Mob spawner issues
Display current mob caps and spawn information.
Permission: bukkit.command.paper.mobcapsShows:
  • Current mob counts per category
  • Mob cap limits
  • Per-player mob counts (if per-player spawning is enabled)
Categories: MONSTER, CREATURE, AMBIENT, WATER_CREATURE, WATER_AMBIENT, UNDERGROUND_WATER_CREATURE, AXOLOTLS
Dump NBT data of the item you’re holding.
Permission: bukkit.command.paper.dumpitemOutputs complete NBT data of the held item to console and provides a paste link. Useful for:
  • Plugin development
  • Custom item debugging
  • Understanding item data structure
Dump information about all loaded plugins.
Permission: bukkit.command.paper.dumppluginsInformation includes:
  • Plugin name and version
  • Authors
  • Dependencies
  • Load order
  • Registered listeners
  • Commands
  • Permissions
Creates a detailed report for troubleshooting plugin conflicts.
Dump all registered event listeners.
Permission: bukkit.command.paper.dumplistenersShows which plugins are listening to which events, useful for:
  • Identifying performance bottlenecks
  • Finding event conflicts
  • Debugging event-related issues
Display information about synchronous chunk loads.
Permission: bukkit.command.paper.syncloadinfoShows:
  • Plugins causing synchronous chunk loads
  • Stack traces of sync load locations
  • Count of sync loads
Synchronous chunk loads cause server lag. This command helps identify problematic plugins.

Performance Monitoring

MSPT Command

Check server tick performance in milliseconds per tick.
Permission: bukkit.command.mspt Output:
  • Current tick time
  • 1-minute average
  • 5-minute average
  • 15-minute average
Understanding MSPT:
  • 50ms = 20 TPS (target)
  • < 40ms = Excellent performance
  • 40-45ms = Good performance
  • 45-50ms = Acceptable
  • > 50ms = Server is lagging
Monitor MSPT during peak hours to identify performance issues. Consistent values over 50ms indicate you need to optimize or upgrade.

Timings

Generate detailed performance reports (legacy, but still available).
Permission: bukkit.command.timings
Timings adds overhead while recording. Use Spark profiler for modern performance analysis.

Vanilla Commands Enhanced

Paper enhances several vanilla commands:

Version Command

Shows Paper version, build info, and checks for updates.

Plugins Command

Lists all loaded plugins with Paper-specific formatting.

Chunk Management

While not Paper-specific, these vanilla commands are essential for administration:

Force Load Chunks

Permission: minecraft.command.forceload Keep chunks loaded even when no players are nearby.
Force-loaded chunks consume resources continuously. Use sparingly.

World Management

Save Commands

Permission: minecraft.command.save Options:
  • flush - Force write to disk immediately
Disable auto-saving during:
  • Large WorldEdit operations
  • Backup creation
  • Mass chunk generation
Remember to run /save-on when finished!

Difficulty

Permission: minecraft.command.difficulty Options: peaceful, easy, normal, hard Changes take effect immediately without restart.

Permission Management

Op Commands

Permission: minecraft.command.op / minecraft.command.deop
Operator status grants all permissions. Use a permissions plugin (LuckPerms) for fine-grained control.

Whitelist

Permission: minecraft.command.whitelist

Player Management

Kick and Ban

Teleportation

Debugging Commands

Debug

Permission: minecraft.command.debug Creates .zip files with profiling data for Java VisualVM.

Perf

Permission: minecraft.command.perf Java Flight Recorder profiling (requires JFR-enabled JVM).

Server Control

Stop Server

Permission: minecraft.command.stop Gracefully shuts down the server:
  1. Kicks all players with optional reason
  2. Saves all worlds
  3. Unloads all chunks
  4. Stops the server

Restart (Script Required)

Paper doesn’t have a built-in /restart command. Use a server wrapper script:

Command Blocks

Paper provides additional configuration for command blocks (WorldConfiguration.java:561-566): config/paper-world-defaults.yml:
Permission Levels:
  • 1 - Bypass spawn protection
  • 2 - Use command blocks, /gamemode, /give
  • 3 - Operator commands (/ban, /kick, etc.)
  • 4 - All commands including /stop

Permissions Reference

All Paper command permissions follow the format:

Default Permissions

All permissions default to OP. Configure with a permissions plugin for non-op access.

Command Tips

Daily monitoring routine:
  1. /mspt - Check current performance
  2. /paper mobcaps - Verify mob spawning is healthy
  3. /paper entity - Look for entity buildup
  4. Review console for errors
When investigating lag:
  1. /spark profiler --timeout 300 - 5-minute profile
  2. /paper syncloadinfo - Check for sync chunk loads
  3. /paper entity - Find entity hotspots
Useful for plugin developers:
Before making backups:
After updating Paper:

Performance Tuning

Optimize based on command output

Paper Config

Global configuration reference

World Config

Per-world settings