Install
Lightpaper is a Pterodactyl egg: one JSON file your panel imports. It's built for Pterodactyl 1.11 or newer with Wings. Pelican can import Pterodactyl eggs too. You need to be a panel administrator.
- Download
egg-lightpaper.json. - In the admin area, open Nests. Pick the nest for Minecraft (or create one), then choose Import Egg and select the file.
- Create a server with the Lightpaper egg. Choose a profile and the Docker image for your Minecraft version (see Java versions).
- Start the server. On the first start Paper stops and asks you to accept the Minecraft EULA. Accept it in the panel's pop-up if you agree. Lightpaper never accepts it for you.
Your nodes need outgoing HTTPS to fill.papermc.io and fill-data.papermc.io for downloads, and Paper itself fetches the Minecraft server from Mojang on its first start. The installer runs in ghcr.io/pterodactyl/installers:alpine, and the server in the ghcr.io/pterodactyl/yolks Java images.
Java versions
Each Minecraft version needs a minimum Java version. The installer reads it from PaperMC and prints it at the end of the install log, and the guard tells you on start-up if the server's Java is too old.
| Minecraft | Docker image |
|---|---|
| 26.1 and newer | Java 25 (the default) |
| 1.20.5 to 1.21.x | Java 21 |
| 1.18 to 1.20.4 | Java 17 |
| 1.17 | Java 16 |
| 1.16 and older | Java 8 or Java 11 |
Change it on the server's Startup page under Docker Image, then start again.
Variables
These appear on the server's Startup page. Server owners can change all of them.
| Variable | Default | What it does |
|---|---|---|
Minecraft VersionMINECRAFT_VERSION | latest | The version to install, like 26.3 or 1.21.11. latest picks the newest full release that has a stable Paper build. Takes effect on reinstall. A version Paper doesn't have stops the install with a clear message instead of installing something else. |
Build NumberBUILD_NUMBER | latest | latest installs the newest stable build and lets updates keep it current. A number pins that exact build and turns automatic updates off. |
Server Jar FileSERVER_JARFILE | server.jar | The file Paper is saved as and started from. A plain file name ending in .jar. |
Lightpaper ProfileLP_PROFILE | balanced | feather, balanced or faithful. Applies to a new server, or on reinstall with Reset Configs on. See Profiles. |
Reset Configs on ReinstallLP_RESET_CONFIGS | off | On: the next reinstall writes the profile's settings again, after backing up your files. Off: a reinstall never changes your settings. See Switching profile. |
Automatic Paper UpdatesLP_AUTO_UPDATE | on | On: each start installs the newest stable Paper build for your Minecraft version, checksum verified. See Updates. |
Smart MemoryLP_SMART_MEMORY | on | On: the Java heap is sized to the server's memory with room left for Java itself. Off: Java uses 80% of the memory. See Memory. |
Velocity SecretPAPER_VELOCITY_SECRET | empty | Only for servers behind a Velocity proxy: the proxy's forwarding secret. See Proxies. |
Startup command
The egg starts Java with the G1 garbage collector settings from PaperMC's recommended list (often called Aikar's flags), minus AlwaysPreTouch, so Java only claims memory as it needs it.
java -Xms128M -XX:MaxRAMPercentage=80.0 -XX:+UseG1GC -XX:+ParallelRefProcEnabled
-XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC
-XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M
-XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4
-XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90
-XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem
-XX:MaxTenuringThreshold=1 $(bash .lightpaper/boot.sh)
-Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}} --nogui
$(bash .lightpaper/boot.sh) runs the boot script. It prints the banner and its checks to the console, and hands back only a few extra Java flags: the heap size and, on Java 25 or newer, -XX:+UseCompactObjectHeaders, which makes every object smaller. If the script is missing, the server still starts, with 80% of its memory as heap.
Profiles
A profile is a set of settings the installer writes when a server is new. Lightpaper only writes the settings it changes; Paper fills in everything else with its own defaults on the first start.
- Feather: as light as possible, for 1 to 2 GB servers. Shorter distances, fewer mobs, armor stands don't tick, common junk items despawn after 15 seconds, and pathfinding doesn't refresh on every block change.
- Balanced (default): lighter, with gameplay kept close to vanilla. Uses the Alternate Current redstone engine, which behaves like vanilla redstone in almost every build but costs much less.
- Faithful: vanilla gameplay. Only the safety settings change.
All three turn on anti-xray (engine mode 1), the lag-machine save limits, the hidden plugin list and the other safety settings. Paper's own YAML settings are written for Minecraft 1.21 and newer. Older versions get server.properties, bukkit.yml and spigot.yml only.
Every setting, file by file
"default" means the profile leaves Paper's own value in place.
server.properties| Setting | Feather | Balanced | Faithful | Paper default |
|---|---|---|---|---|
| motd | A Lightpaper server | A Lightpaper server | A Lightpaper server | A Minecraft Server |
| online-mode | true | true | true | true |
| enforce-secure-profile | true | true | true | true |
| white-list | true | true | true | true |
| enforce-whitelist | true | true | true | false |
| enable-rcon | false | false | false | false |
| enable-query | false | false | false | false |
| accepts-transfers | false | false | false | false |
| max-players | 20 | 20 | 20 | 20 |
| spawn-protection | 16 | 16 | 16 | 16 |
| network-compression-threshold | 256 | 256 | 256 | 256 |
| view-distance | 6 | 8 | 10 | 10 |
| simulation-distance | 4 | 6 | 10 | 10 |
| pause-when-empty-seconds | 60 | 120 | -1 | -1 |
| Setting | Feather | Balanced | Faithful | Paper default |
|---|---|---|---|---|
| settings. | false | false | false | true |
| settings. | 4000 | 4000 | 4000 | 4000 |
| spawn-limits. | 35 | 50 | default | 70 |
| spawn-limits. | 8 | 10 | default | 10 |
| spawn-limits. | 3 | 5 | default | 5 |
| spawn-limits. | 5 | 10 | default | 20 |
| spawn-limits. | 3 | 5 | default | 5 |
| spawn-limits. | 3 | 5 | default | 5 |
| spawn-limits. | 2 | 5 | default | 15 |
| ticks-per. | 4 | default | default | 1 |
| ticks-per. | 4 | default | default | 1 |
| ticks-per. | 40 | 20 | default | 1 |
| ticks-per. | 4 | default | default | 1 |
| ticks-per. | 4 | default | default | 1 |
| ticks-per. | 40 | 20 | default | 1 |
| Setting | Feather | Balanced | Faithful | Paper default |
|---|---|---|---|---|
| settings. | true | true | true | false |
| commands. | false | false | false | true |
| world-settings. | 3.5 | 2.5 | default | 0.5 |
| world-settings. | 4.0 | 3.0 | default | -1.0 |
| world-settings. | 4000 | default | default | 6000 |
| world-settings. | 300 | 600 | default | 1200 |
| world-settings. | 16 | 24 | default | 32 |
| world-settings. | 24 | 28 | default | 32 |
| world-settings. | 48 | 48 | default | 64 |
| world-settings. | 8 | 12 | default | 16 |
| world-settings. | 8 | 12 | default | 16 |
| world-settings. | 16 | 24 | default | 32 |
| world-settings. | 32 | 32 | default | 32 |
| world-settings. | false | default | default | true |
| world-settings. | 64 | 96 | default | 128 |
| world-settings. | 48 | 64 | default | 96 |
| world-settings. | 48 | 64 | default | 96 |
| world-settings. | 32 | 32 | default | 96 |
| world-settings. | 64 | 96 | default | 128 |
| world-settings. | 32 | 48 | default | 64 |
| Setting | Feather | Balanced | Faithful | Paper default |
|---|---|---|---|---|
| anticheat. | true | true | true | false |
| anticheat. | 1 | 1 | 1 | 1 |
| chunks. | 16 | 16 | 16 | -1 |
| chunks. | 16 | 16 | 16 | -1 |
| chunks. | 16 | 16 | 16 | -1 |
| chunks. | 8 | 8 | 8 | -1 |
| chunks. | 8 | 8 | 8 | -1 |
| chunks. | 8 | 8 | 8 | -1 |
| chunks. | true | true | default | false |
| collisions. | 2 | 4 | default | 8 |
| entities. | false | false | default | true |
| entities. | false | default | default | true |
| entities. | 60 | 60 | default | default |
| entities. | 60 | 60 | default | default |
| entities. | 72 | 96 | default | default (128) |
| entities. | 28 | 32 | default | default (32) |
| entities. | true | default | default | false |
| entities. | cobblestone 300, cobbled_deepslate 300, netherrack 300, dirt 300, gravel 300, sand 300, red_sand 300, andesite 300, diorite 300, granite 300, tuff 300 | default | default | — |
| environment. | true | true | default | false |
| environment. | true | true | default | default |
| environment. | true | true | default | false |
| fixes. | true | true | default | false |
| hopper. | true | default | default | false |
| misc. | ALTERNATE_CURRENT | ALTERNATE_CURRENT | default | VANILLA |
| misc. | false | default | default | true |
| tick-rates. | 4 | 4 | default | 1 |
| tick-rates. | 60 | 60 | default | -1 |
| tick-rates. | 80 | 80 | default | 40 |
| Setting | Feather | Balanced | Faithful | Paper default |
|---|---|---|---|---|
| chunk-loading-basic. | 40.0 | -1.0 | -1.0 | -1.0 |
| misc. | 3 | 5 | 5 | 5 |
| Setting | Nether | End |
|---|---|---|
| anticheat. | true | false |
| anticheat. | 1 | — |
| anticheat. | 128 | — |
| anticheat. | ancient_debris, nether_gold_ore, nether_quartz_ore | — |
The Nether and End settings are added on the first start after Paper has created those dimensions, and only while their paper-world.yml is still untouched. Paper treats a dimension folder that already exists as an existing world, so the installer can't create them in advance.
Memory
Java needs memory outside its heap too: loaded classes, threads, network buffers and the garbage collector itself. If the heap takes everything, the container runs out of memory and Docker kills the server, usually without any error from Minecraft.
Smart Memory reads the container's real limit and keeps 300 MB + 8% of it free for Java, at most 1.5 GB. The rest becomes the heap (-Xmx). On a default Wings node, the container gets a little more than the plan (15% extra up to 2 GB, 10% up to 4 GB, 5% above), so for common plans that works out to:
| Server memory | Container limit | Kept for Java | Heap |
|---|---|---|---|
| 1 GB | 1177 MB | 394 MB | 783 MB |
| 1.5 GB | 1766 MB | 441 MB | 1325 MB |
| 2 GB | 2355 MB | 488 MB | 1867 MB |
| 4 GB | 4505 MB | 660 MB | 3845 MB |
| 8 GB | 8601 MB | 988 MB | 7613 MB |
The banner shows the result, for example Memory 2 GB · heap 1.8 GB. With Smart Memory off, or when the server has no memory limit, Java uses 80% of the memory instead.
Updates
Paper publishes new builds often, mostly fixes. With Automatic Paper Updates on and Build Number set to latest, each start does this:
- Asks PaperMC for the newest build of the Minecraft version you have installed. At most once every 30 minutes, so a crash loop doesn't hammer PaperMC.
- Uses it only if it's a stable build and newer than yours.
- Downloads it only from
papermc.ioover HTTPS, and checks it against PaperMC's SHA-256. A file that doesn't match is deleted and your current build starts. - If PaperMC can't be reached, your installed build starts as normal.
It never changes your Minecraft version. Worlds can't be moved back to an older version, so that step is always yours:
- Back up your world.
- On the Startup page, set Minecraft Version (or keep
latest). - Reinstall the server from its Settings page. Your worlds, plugins and settings stay.
To stay on one exact build, set Build Number to that number.
Boot guard
Before Paper starts, the boot script checks the server and prints what it finds under the banner. ✓ is fine, · is a note, ! deserves a look, ✗ needs fixing. It never stops the server from starting.
| Message | What to do |
|---|---|
| ✓ jar verified | Nothing. The jar matches the checksum Lightpaper recorded. |
| ! server.jar isn't the file Lightpaper installed, so it won't be auto-updated | Fine if you swapped it on purpose: Lightpaper never replaces a jar it didn't install. To go back to Paper, reinstall the server. |
| ✗ server.jar is missing | Reinstall the server to download Paper again. |
| ✗ online-mode is off: anyone can join with any name, even an op's | Set online-mode=true in server.properties, unless the server sits behind Velocity (see Proxies). |
| ✗ Velocity is on but has no secret | Paste the proxy's forwarding secret into the Velocity Secret variable. |
| ! BungeeCord forwarding can be faked | Only safe if nothing but the proxy can reach this server's port. Velocity is the safer choice. |
| ✗ RCON is on with a short or empty password | Set rcon.password to 12 or more characters, or enable-rcon=false. |
| · Query is on, so anyone can read the player list | Set enable-query=false unless a server list needs it. |
| · Whitelist is on | Let friends in with whitelist add <name> in the console, or set white-list=false for a public server. |
| ✗ Paper 26.3 needs Java 25, but this server has Java 21 | Startup page, Docker Image, pick the version shown, then start again. |
| ! Under 1 GB of memory: Paper will be tight | Give the server more memory, or switch to the Feather profile. |
| · Profile is set to feather, but balanced is applied | You changed the profile variable. Turn on Reset Configs and reinstall to apply it (see Switching profile). |
| ▸ First start: accept the Minecraft EULA when the panel asks | Read the EULA and accept it in the panel if you agree. |
| ↻ Updated Paper build 240 → 241 (checksum verified) | Nothing. A new stable build was installed. |
| ! The Paper update didn't download | Nothing urgent. Your current build starts, and the next check tries again. |
| ✗ The Paper download didn't match PaperMC's checksum | The file was deleted and your current build starts. If it keeps happening, the node's connection may be altering downloads. |
Safety settings
Every profile sets these on a new server. Paper's own protections (its packet limiter, spam limits, book and item size limits, and the exploit fixes it ships with) stay on as Paper sets them.
online-mode=trueandenforce-secure-profile=true: players must own their account, and chat is signed.white-list=truewithenforce-whitelist=true: only people you add can join, and removing someone kicks them at once. New Minecraft servers start with the whitelist on as well.enable-rcon=false,enable-query=falseandaccepts-transfers=false: no remote console, no public player list, no transfers from other servers.query-plugins: falseinbukkit.yml: your plugin list isn't shared with anyone who asks.send-namespaced: falseinspigot.yml: tab completion doesn't listplugin:commandduplicates. Typed commands still work.- Anti-xray, engine mode 1: ores players can't see yet are sent as stone, so x-ray clients find nothing. The Nether hides ancient debris and nether gold and quartz ore. The End has no ores, so it's off there.
entity-per-chunk-save-limit: one chunk saves at most 16 arrows, ender pearls and experience orbs and 8 fireballs and snowballs, so lag machines and chunk bans can't build up.
Proxies
Velocity (recommended)
- In Velocity's
velocity.toml, setplayer-info-forwarding-mode = "modern". - On this server, set
online-mode=falseinserver.properties. Velocity checks accounts instead. - In
config/paper-global.yml, setproxies.velocity.enabled: true(keeponline-mode: trueunder it). - Copy the contents of Velocity's
forwarding.secretfile into the Velocity Secret variable. Paper reads it from there, so the secret never sits in your config files. - Restart. The guard shows ✓ Velocity forwarding.
proxies:
velocity:
enabled: true
online-mode: true
secret: '' # leave empty: the Velocity Secret variable fills it
BungeeCord
Set settings.bungeecord: true in spigot.yml and online-mode=false. BungeeCord forwarding has no secret, so anyone who can reach this server's port directly can pretend to be any player. Only use it when the port is closed to everything but the proxy.
Switching profile
A reinstall normally keeps every file you have. To move to another profile:
- On the Startup page, pick the new Lightpaper Profile.
- Turn on Reset Configs on Reinstall.
- Reinstall the server from its Settings page.
- Turn Reset Configs off again, so later reinstalls leave your files alone.
The reset backs up each file it replaces to .lightpaper/backups/<date-time>/ first. It rewrites the YAML files the new profile sets, and the Nether and End settings. In server.properties it only puts back the four performance settings: view-distance, simulation-distance, pause-when-empty-seconds and network-compression-threshold. Your MOTD, whitelist, online mode and RCON choices stay yours.
Files it adds
Lightpaper keeps its own files in a .lightpaper folder next to your server:
| File | What it is |
|---|---|
boot.sh | The script that runs before Java on every start. A reinstall writes a fresh copy, so edits don't last. |
state | What was installed: Minecraft version, Paper build and its checksum, Java minimum, profile, last update check. |
dimensions/ | The Nether and End settings, waiting until Paper creates those worlds. |
backups/ | Your old settings, saved whenever a reset replaced them. |
README.txt | A short note on all of the above. |
Deleting the folder is safe. The server still starts, just without the banner, checks, updates and Smart Memory. A reinstall puts it back.
Troubleshooting
"The world defaults config file didn't have a version set, assuming latest"
Expected once, on the first start. Lightpaper writes only the settings it changes, and Paper adds its version number and all the other settings when it first reads the file.
The server stops straight away on its first start
Paper is waiting for the Minecraft EULA. Accept it in the panel's pop-up if you agree, or set eula=true in eula.txt yourself.
"Minecraft 26.1 and newer requires running the server with Java 25 or above"
Pick Java 25 under Startup, Docker Image. The Java table lists the rest.
Friends see "You are not whitelisted on this server!"
Type whitelist add <their name> in the console, or set white-list=false if anyone may join.
The install fails with "Couldn't reach PaperMC"
The node can't make outgoing HTTPS requests to fill.papermc.io. Check its firewall and DNS, then reinstall.
The install fails with "Paper has no Minecraft …"
That version doesn't exist on Paper. Pick one from PaperMC's list, or latest, and reinstall.
Plugins with timers stop when nobody is online
That's the pause when empty. Set pause-when-empty-seconds=-1 in server.properties to keep the world running.
Does Lightpaper send anything anywhere?
The egg only talks to PaperMC: to download Paper and to look for updates. Paper itself still does what it always does, like checking accounts with Mojang and its own update notice.
Changelog
1.0.0 · 4 November 2026
- First release.
- Feather, Balanced and Faithful profiles for
server.properties,bukkit.yml,spigot.ymland Paper's YAML (Minecraft 1.21 and newer). - SHA-256 verified downloads from PaperMC, pinned builds, and stable updates on start within your Minecraft version.
- Smart Memory, and compact object headers on Java 25.
- Boot guard and the Lightpaper banner.
- Nether and End anti-xray, including Paper 26's new world layout.
- Velocity secret through a variable.