prism-server.yml reference
General
The file is config/prism-server.yml; most options take effect again with /prism reload, those that need a restart say so.
| Option | Default | What it does |
|---|---|---|
language | auto | The language of Prism's messages, in the console and in the game: auto follows the machine (French on a machine set to French, English anywhere else), fr or en choose one. |
config-version | 6 | The layout of this file, so that Prism can update it. Leave it as it is. |
commands
| Option | Default | What it does |
|---|---|---|
disabled | icanhasbukkit debug jfr perf publish test | Commands taken off the server at startup, with their namespaced forms (minecraft:, bukkit:, paper:, spigot:) and their tab completion. Any command works, plugin commands included; write a namespaced name (bukkit:version) to take off that form only. A command comes back only after a restart. |
aliases | none | Commands of your own that run others, one per line as "alias: command": "spawn: warp spawn". $1, $2... are the words typed after the alias, $1- all of them from the first. Several lines with the same alias run several commands. This replaces Bukkit's commands.yml. |
command-block-overrides | none | Commands that command blocks run as Minecraft's own, not a plugin's, by name; "*" for all. |
ignore-vanilla-permissions | false | Minecraft's commands only ask for their Bukkit permission, not for the operator level. |
presentation
| Option | Default | What it does |
|---|---|---|
motd | empty | The message of the server list, in MiniMessage, over the one in server.properties when set. Plain colours read best, by name or in hex: "<#7b2ff7>Prism <gray>survival <white>26.3". |
server-links | none | Links of the pause menu (Minecraft 1.21 and later), one per line as "Name | address": - "Discord | https://discord.gg/yourserver" |
startup
| Option | Default | What it does |
|---|---|---|
jvm-advice | true | At startup, compare the Java settings with what a Minecraft server needs and say what is missing. |
plugin-report | true | Once started, list the plugins that did not load and why. Prism runs regions on several threads, like Folia, and only loads the plugins that declare they support it. |
report | true | Once started, say where the start went: launch, game data, worlds, plugins, and the slowest plugins. |
parallel-init | true | Build, on a thread of its own, what the start otherwise waits for later (Mojang's DataFixer). |
plugin-updates | true | Ask Modrinth, a minute after the start and then regularly, whether the plugins have newer versions for this Minecraft version. Only the fingerprints (SHA-1) of the plugins' files are sent. The console says which, and the dashboard's Maintenance page shows them with a link. |
plugin-updates-every | 6h | Time between two of those checks: "6h", "1d". 30 minutes at the least. |
plugin-updates-ignore | none | Plugins never asked about, by name: those you keep at a version on purpose. |
chat
| Option | Default | What it does |
|---|---|---|
format | true | Chat lines read "name: message" instead of Minecraft's "<name> message". Messages keep their signature, so the chat stays secure. A chat plugin that sets its own format takes over. |
op-name-color | red | Colour of operators' names in the chat: a colour name (red) or hex (#ff5555). Empty: none. |
name | {name} | The name before each message, in MiniMessage; {name} is the player's: "<gray>[{name}]</gray>". |
separator | : | Between the name and the message, in MiniMessage: ": ", " <dark_gray>»</dark_gray> ". |
chat-spam
| Option | Default | What it does |
|---|---|---|
enabled | true | Stops a player who talks or runs commands too fast, or says the same thing again and again, and calms messages in capitals. The player is told why. prism.chat.bypass lets a player through. |
messages | 5 | Messages a player may send within "seconds"; the next ones are stopped. 0: no limit. |
seconds | 5 | The time the limits of messages and commands count over, in seconds. |
repeats | 2 | Times a player may say the same thing within "repeat-seconds"; once more is stopped. 0: no limit. |
repeat-seconds | 30 | How long a message is remembered to tell it again, in seconds. |
caps | 70 | A message of 8 letters or more with at least this share of capitals, in %, goes out in lower case. 0: never. |
commands | 8 | Commands a player may run within "seconds"; the next ones are stopped. 0: no limit. |
ignored-commands | none | Commands not counted, by name. |
mute-after | 4 | A player stopped this many times within "mute-within-seconds" is muted for "mute-for". 0: never. |
mute-within-seconds | 60 | The time those stops count over, in seconds. |
mute-for | 5m | How long such a mute lasts: "5m", "1h". |
chat-filter
| Option | Default | What it does |
|---|---|---|
enabled | true | Words, links and server addresses kept out of the chat and of the chat commands below. |
words | none | Words the chat does not let through, found however they are written: any case, accents, letters doubled, spaces or dots between them, 0 for o, 3 for e, @ for a... A * at an end lets the word go on ("idiot*"). An entry starting with re: is a regular expression. |
action | censor | censor: the message goes out with stars in place of the word. block: it is not sent. |
addresses | true | Stops messages that carry an IP address, as server advertising does. |
links | false | Stops messages that carry a link, but to the domains of "allowed-domains". |
allowed-domains | youtube.com youtu.be twitch.tv imgur.com | Domains links may go to when links are stopped, with their subdomains: "youtube.com". |
commands | msg tell w r reply m t pm whisper mail me teammsg tm | Chat commands checked too, by name; one carrying what the filter stops is not run. |
log-stopped | true | Writes in the console each message stopped or censored, with who sent it. |
console
| Option | Default | What it does |
|---|---|---|
colors | true | Colour the console: the time, the level and the source of each line, in plain colours. A panel that shows the colour codes as text instead: false. |
hide-routine | true | Keep the routine lines out of the console: keypair, thread counts, preparing the spawn, each world saved at shutdown... logs/latest.log keeps every line. |
hidden | none | More lines to keep out of the console, as regular expressions: "^Can't keep up". |
dashboard
| Option | Default | What it does |
|---|---|---|
enabled | true | Prism's web dashboard: the server live, its regions, players, console and maintenance, in a browser. "/prism dashboard" gives a sign-in link; nobody gets in without one. |
port | 0 | 0: the dashboard answers on the game port, nothing else to open. Another number: a port of its own (the game port keeps serving the resource pack). |
bind | empty | With a port of its own: the address to listen on. Empty: every address. |
public-address | empty | The dashboard's address in the links of "/prism dashboard", like "panel.example.com:25565" or "https://panel.example.com". Empty: the address the player typed to join; for the console, this server's server-ip, or localhost. |
session-days | 14 | Days a browser stays signed in after opening a link. |
session-idle | 3d | A session not used for this long ends before its days are up (30m, 12h, 3d...). 0: only session-days ends it. |
bind-sessions | false | A session works only from the address that opened it: a token taken from a browser is of no use elsewhere. A phone whose address changes signs in again. |
trusted-proxies | none | The addresses of the reverse proxies (nginx, Caddy...) in front of the dashboard: from them only, the browser's own address is read in X-Forwarded-For (sign-in lockout, audit, bind-sessions). Empty: none trusted. |
tls-certificate | empty | HTTPS for the dashboard, on the same port as plain HTTP: the certificate chain, a PEM file (Let's Encrypt's fullchain.pem for instance), its path from the server folder, with tls-key. Read again after a reload or when the file changes. Empty: plain HTTP, in which a sign-in link travels in clear. |
tls-key | empty | The certificate's private key, a PEM file in PKCS#8 ("BEGIN PRIVATE KEY"), its path from the server folder. |
link-minutes | 15 | Minutes a link of "/prism dashboard" can be opened in, once. The console's link, which opens everything, lasts 5 minutes at the most. A new link of the same person replaces the ones not opened yet. |
alerts | lag leaks memory redstone simulation sanctions crash update exploit | The alerts the open dashboards get at once (the bell, a toast, a notification of the browser if asked for): lag, leaks, memory, redstone, simulation, sanctions, crash, update, exploit. Empty: none. |
install-plugins | true | The plugins page may install, update and remove plugins from Modrinth, for a session whose owner has prism.dashboard.plugins. false: nobody may, the console's sessions neither. |
edit-plugin-files | true | The plugins page may edit the plugins' text files, for a session whose owner has prism.dashboard.config. false: nobody may. |
metrics
| Option | Default | What it does |
|---|---|---|
enabled | true | The server's figures for Prometheus and Grafana at /metrics, on the dashboard's port: TPS, tick times, players, entities, chunks per world, memory, processor, disk, garbage collection, backups. Without a token below, only this machine can read them (not through a proxy). |
token | empty | Asked of the scraper as "Authorization: Bearer <token>" (bearer_token in Prometheus). Empty: only this machine may read the figures. |
performance
| Option | Default | What it does |
|---|---|---|
mob-ai | true | Mobs far from players think less often: they keep moving smoothly, but choose what to do next every few ticks instead of every tick. Within full-ai-distance of a player nothing changes. |
full-ai-distance | 12 | Within this many blocks of a player, mobs think every tick. |
ai-step | 8 | Every this many blocks further, they think one tick less often... |
max-ai-interval | 10 | ...and at least once every this many ticks. |
ai-exclude | ender_dragon wither warden elder_guardian villager allay copper_golem | Mobs that always think every tick, by type. Villagers are in by default: iron farms and breeders depend on the exact timing of their brain. Allays and copper golems work for players, so they stay too. |
region-pressure | true | A region whose ticks run long (over 30 ms, then 40, then 50) cuts secondary work first, step by step: far mobs think even less often, natural spawning slows down (one tick in two, four, then eight), crops and leaves grow slower. All of it comes back once the region keeps up. |
pressure-mspt | 30 40 50 | The tick times, in milliseconds, that start each of the three steps. |
pressure-spawn-every | 2 4 8 | At each step, natural spawning runs one tick in this many. |
pressure-random-ticks | 100 66 33 | At each step, the share of the random tick speed (crops, leaves, ice...) kept, in percent. |
pressure-max-ai-interval | 40 | Under pressure, far mobs still think at least once every this many ticks. |
crowd-search | true | In a crowd (a pen, a farm, a pile of items), the entities a mob pushes and the items a hopper takes are found through a grid of the crowd made once a tick, looking only at the blocks around: the same entities, in the same order, as Minecraft finds them. |
crowd-threshold | 32 | Entities in a chunk section (16 blocks a side) from which its searches use the grid. |
tick-budget | true | Each region's tick has a budget. Past it, what can wait does: mobs far from players let a turn to think go by (they keep moving), paths to compute again wait a tick (the old one is still followed), and so do beds and job sites to look for; natural spawning waits on the tick after. A spike then costs a little of what nobody sees rather than ticks. Nothing near a player changes. |
tick-budget-ms | 45 | The budget, in milliseconds of the 50 a tick lasts at 20 ticks a second. |
locator-bar-by-block | true | Work out the players' places on the locator bar once a tick, when they entered another block. Minecraft does it at every position the server sets while it handles a move, the passing ones included, for every other player: with 20 players walking, 78 % of the packets they got were the bar's, and a sixth of their region's tick. What the bar shows is the same, at most a tick later. |
entity-caps
| Option | Default | What it does |
|---|---|---|
enabled | true | Cap the mobs of each chunk: once a chunk holds this many of a kind, no more of that kind spawn there from natural spawning, spawners, breeding, thrown eggs, portals, slime splits, zombie reinforcements, patrols or sieges. Commands, plugins, spawn eggs, raids and mobs that turn into another one are never refused. 0: no cap for that kind. |
monsters | 60 | |
animals | 60 | |
water | 30 | |
ambient | 20 | |
villagers | 40 | |
types | none | Caps for one type of mob, counted on its own, over its kind's: "chicken: 20", "iron_golem: 8". 0: that type has no cap at all. |
reasons | natural spawner trial_spawner breeding egg dispense_egg village_invasion nether_portal slime_split reinforcements patrol ender_pearl silverfish_block ocelot_baby | How a mob comes into the world for the caps to apply, by Bukkit's spawn reasons in lower case: natural, spawner, breeding... Spawn reasons left out are never refused. |
villagers
| Option | Default | What it does |
|---|---|---|
rest-when-trapped | true | A villager shut in, that can go nowhere (a trading hall cell, a boat, a minecart), rests its brain: no looking around, gossiping or path finding for nothing. It still trades, levels up, and restocks at its job site during its working hours when the job site is within reach, as its brain would have it do. |
only-traded | true | Only villagers players have traded with rest: those of iron farms and breeders, never traded with, keep their whole brain. |
check-seconds | 5 | Seconds between two looks at whether a villager is shut in; those found free often are looked at less. |
trapped-room | 2 | Spots a villager can stand on, its own included, and still count as shut in: 2 takes a cell of one or two blocks. |
search-wait-seconds | 10 | A villager without a bed or a job site looks for one every second or two. When it finds none, it waits this long before looking again, unless a bed or a job site is placed, freed or loaded near it. 0: never waits. |
farms
| Option | Default | What it does |
|---|---|---|
detect | true | Find the farms on their own: every few seconds, each region counts the mobs of its chunks, and a chunk holding many of them is a farm until it holds less than half as many. The dashboard's load map outlines them and "/prism health" sums them up: where the mobs of the server gather, and of which kind. |
mobs | 32 | Mobs in a chunk that make it a farm. |
check-seconds | 10 | Seconds between two counts. |
simulation
| Option | Default | What it does |
|---|---|---|
adaptive | true | A region that keeps up badly for a while lowers the simulation distance of its players, a chunk at a time: the chunks furthest from them stop ticking (mobs, crops, redstone), the region gets lighter, and nothing near a player changes. Once the region keeps up for a while, the distance comes back, a chunk at a time, to what each player had. The console says when. |
min-distance | 6 | The simulation distance is never lowered under this, in chunks. |
pressure | 2 | How hard a region must be pushed for it, as the steps of performance.pressure-mspt: 1 (30 ms a tick), 2 (40 ms), 3 (50 ms) by default. |
lower-after-seconds | 10 | Seconds in a row that hard before a chunk is taken off. |
raise-after-seconds | 60 | Seconds in a row back under the first step before a chunk comes back. |
items
| Option | Default | What it does |
|---|---|---|
rest | true | An item or an experience orb lying still on the ground, out of water, lava and fire, does its full work (gravity, collisions, block effects) one tick in a few, the ticks Minecraft already moves resting items on; in between, only its timers go on. An orb rests only while no player is near enough to draw it. |
rest-interval | 4 | One full tick in this many for what lies still, from 2 to 4. 4 is Minecraft's own rhythm for resting items: above it, the speed a resting item gathers calls for a full tick at the fourth anyway. |
merge-radius | 2.5 | Items of the same kind merge into one stack within this many blocks of each other, so a farm leaves fewer entities on the ground. 0.5 is Minecraft's; spigot.yml's merge-radius.item applies when larger. |
orb-merge-radius | 3.0 | Experience orbs of any value merge into one as they appear, within this many blocks: the experience is the same, carried by fewer orbs. -1: only Minecraft's own merging; spigot.yml's merge-radius.exp applies when larger. |
merge-through-walls | false | Let items and orbs merge through walls with Prism's radii. false: they merge only in sight of each other. |
redstone
| Option | Default | What it does |
|---|---|---|
enabled | true | Freeze redstone clocks that run too fast: when the repeaters, comparators, observers and torches of one chunk tick more than ticks-per-second for several seconds, they stop for a while and admins are told where. Nothing is broken: the clock stays stopped until something powers it again. Redstone dust itself runs on Alternate Current, many times cheaper than Minecraft's: misc.redstone-implementation in config-from-forks/paper-world-defaults.yml, alternate_current by default with Prism (vanilla to go back). |
ticks-per-second | 400 | Ticks of redstone components a second, in one chunk, that make a clock suspect. |
seconds | 5 | Seconds in a row over that before the clock is frozen. |
freeze-seconds | 30 | How long the chunk's redstone components stay frozen. |
vehicles
| Option | Default | What it does |
|---|---|---|
rest | true | A plain or chest minecart that stood still for a second, on its rail or on the ground, empty, does its full work one tick in four, as items at rest do. It moves again at once when it is pushed, hit or ridden, or when the rail or the block under it changes (powered, broken). Hopper, furnace, TNT, spawner and command block carts always tick. |
max-cart-collisions | 8 | The carts a minecart pushes away in a tick, at the most, as Paper's max-entity-collisions does for mobs: in a pile of carts, each pushed every other one every tick. 0: no limit, as Minecraft does. |
hoppers
| Option | Default | What it does |
|---|---|---|
sleep | true | A hopper that could move nothing (empty with nothing to take, full with nowhere to put, locked by redstone) sleeps until something around it changes: its items, the container it takes from or gives to, an item or a cart coming over it, a block next to it. It wakes at once and moves items on the very tick Minecraft's would: storage rooms full of idle hoppers cost next to nothing. |
recheck-ticks | 20 | A sleeping hopper looks again this often anyway, in ticks, for a change nothing told it of (a plugin's). |
cleanup
| Option | Default | What it does |
|---|---|---|
enabled | false | Remove what lies on the ground on a schedule, after warnings in the chat: dropped items, experience orbs, arrows stuck in blocks. Named items and the items shops display are never removed. Off by default: players lose what they leave lying around. |
every | 15m | Time between two cleanups: "15m", "1h". |
items | true | |
experience | true | |
arrows | true | |
min-age-seconds | 60 | Only what has been on the ground for at least this long: a fresh drop is safe. |
warnings | 60 30 10 | Seconds before a cleanup when the chat is warned. The texts are in config/prism-messages.yml. |
worlds | none | The worlds cleaned, by name. Empty: all of them. |
keep-items | none | Items never removed, by their names in the game: "diamond", "netherite_ingot", "elytra". |
memory
| Option | Default | What it does |
|---|---|---|
enabled | true | When the memory still used after garbage collection passes pressure-percent of the heap, Prism lowers the view distance of the worlds, two chunks at a time down to min-view-distance, so chunks unload, and brings it back once memory is free again. Admins are told in the console and on Discord. |
pressure-percent | 85 | Share of the heap, in percent, still used after a collection that means pressure. |
min-view-distance | 6 | The view distance is never lowered under this. |
step | 2 | Chunks of view distance taken off at a time. |
recover-percent | 75 | Once the memory still used after a collection is under this share of the heap, the view distance comes back. |
sanctions
| Option | Default | What it does |
|---|---|---|
muted-commands | msg tell w me teammsg tm r reply m t pm whisper mail | Commands a muted player cannot use either, by name: private messages and the like. A player is muted with /mute, /tempmute or /mute-ip, and talks again after /unmute or when the time is up. |
forget-addresses-days | 180 | Days Prism remembers the address a player last joined from, which /ban-ip and /mute-ip use on a player who is offline. It forgets those of players who have not joined for longer. |
history | true | Every sanction (ban, IP ban, mute, kick, and their lifting), from the console, in game or from the dashboard, written down in logs/sanctions.log and shown on the player's sheet of the dashboard. |
async
| Option | Default | What it does |
|---|---|---|
pathfinding | false | Mobs that wander at random search their path on other threads, so their region does not wait for it. Paths to a target (a player, food, a door) stay on the region's thread. Off by default: measured on 805 wandering cows, the region's tick was the same with it (8.76 and 9.14 ms) as without (9.02 ms). |
tracking | true | In a region that tracks many entities, tracking them is shared between threads: deciding which players see each entity, and sending those players its moves and data. The more players and entities in one place, the more it saves. Item frames and withers stay on the region's thread. |
tracking-threshold | 128 | Entities a region tracks before it shares the work: below, threads would cost more than they save. |
tracking-batch | 32 | Entities in one share of the work: smaller shares spread better, larger ones cost less to hand out. |
tracking-visibility | true | Share deciding which players see each entity too. It stays on the region's thread on its own while a plugin listens to PlayerTrackEntityEvent or PlayerUntrackEntityEvent. |
tracking-players | true | Share the tracking of players themselves too. They stay on the region's thread on its own while a plugin listens to PlayerVelocityEvent. |
tracking-min-work | 300 | The work, in microseconds a tick, from which a region shares its tracking, measured on its last ticks; it tracks alone again below half of it. The number of entities says little: a hundred cows with one player in sight is next to no work, and sharing it costs more than it saves. 0: share from the threshold on. |
tracking-grouped | true | Hand each player's tracking packets over in one go once the threads are done: one task on the player's network thread instead of one for every packet. |
threads | 0 | Threads for both. 0: a quarter of the processor's cores, between 1 and 4. |
regions
| Option | Default | What it does |
|---|---|---|
format | prism | How worlds are kept on disk. "anvil": Minecraft's .mca files, which every tool reads (MCA Selector, BlueMap, squaremap...). "prism": .prism files, about a third smaller: the same compressed chunks, packed in 256-byte blocks instead of 4 KB ones, each checked against a checksum when read. A region is converted when the server opens it, both ways, and all the others are converted in the background when the server starts: to go back, set anvil and restart. Tools that read .mca files directly (BlueMap, MCA Selector) do not see .prism ones: set anvil while you use them. |
lag
| Option | Default | What it does |
|---|---|---|
enabled | true | Watch the regions' ticks and write a report when the server lags: the slowest regions, what they hold, memory and processor at that moment. In the console, in logs/prism-lag/, and on Discord with a webhook. |
tps | 15.0 | A lag starts when the slowest region stays under this many ticks per second... |
seconds | 10 | ...for this many seconds in a row. |
profile | 30 | When a lag starts, spark profiles the server for this many seconds and its link joins the report. spark puts the profile on its own site (spark.lucko.me), as /spark profiler does. 0: no profile. |
cooldown-minutes | 15 | Minutes between two reports, so a long lag makes one report and not fifty. |
recover-seconds | 10 | Seconds in a row back over tps before the lag counts as over. |
keep-files | 100 | Reports kept in logs/prism-lag/, the newest. 0: all of them. |
leaks
| Option | Default | What it does |
|---|---|---|
enabled | true | Watch each plugin's threads and listeners, and the memory left after garbage collection, and warn when one keeps growing: what a leak looks like. "/prism leaks" shows the counts. |
check-minutes | 10 | Minutes between two checks. A warning takes three checks in a row that grow. |
thread-growth | 20 | Threads a plugin must have added over those checks for a warning. |
listener-growth | 100 | Listeners a plugin must have added over those checks for a warning. |
memory-growth-mb | 256 | Megabytes the memory left after collections must have grown by for a warning (and by a fifth). |
discord
| Option | Default | What it does |
|---|---|---|
webhook | empty | A Discord webhook (channel settings, Integrations, Webhooks, copy its URL). Prism posts its alerts there. Empty: nothing goes to Discord. |
events | lag leaks memory redstone simulation sanctions crash update exploit | The alerts that go to Discord: lag (a lag report), leaks (a plugin that keeps growing), memory (the view distance lowered to free memory), redstone (a clock frozen), simulation (a region lowered its players' simulation distance), sanctions (bans, mutes, kicks), crash (the server stopped on an error, or a safe start), update (a newer build of Prism), exploit (a flood or a crash attempt stopped). |
mention | empty | Put before the alerts of mention-events: a role as <@&id>, a member as <@id>, @here or @everyone. Empty: nobody. |
mention-events | crash | The alerts that carry the mention. |
updates
| Option | Default | What it does |
|---|---|---|
check | true | Asks Prism's site, a minute after the start and every "every", whether a newer build of Prism exists for this Minecraft version, and says so in the console, on the dashboard and on Discord, with where to get it. Its jar, sent from the dashboard's Maintenance page, replaces the server's jar as the server stops, once checked against the SHA-256 the site gives; the server is never restarted for it. |
every | 6h | Time between two checks: "6h", "1d". 1 hour at the least. |
manifest | https://prism.celestis.dev/api/releases | The list of Prism's builds: number, notes, size and SHA-256 of each, never the jar. A copy kept elsewhere can be given to Java instead, -Dprism.updates.mirror=https://... |
crashes
| Option | Default | What it does |
|---|---|---|
safe-mode-after | 3 | After this many crashes in a row that a plugin is in cause of, each within "early-minutes" of a start and all within "loop-minutes" (a port already taken or a damaged world does not count), the next start is a safe one: no plugin is loaded and only operators may join, so the server comes up and the dashboard shows what crashed. The start after it is a normal one again. 0: never. |
loop-minutes | 15 | The time those crashes must fall within, in minutes. |
early-minutes | 5 | How soon after a start a crash counts as one of a loop, in minutes. |
exploits
| Option | Default | What it does |
|---|---|---|
enabled | true | Prism's guards against crashing, lagging or flooding the server, on top of Paper's own (its packet limiter, the checks of books, names and oversized items, the dupes it leaves off). What they stop is said in the console, a few lines a minute at the most, and as the "exploit" alert. |
packet-limits | edit-book: 8 per 4s sign-update: 12 per 4s rename-item: 60 per 2s tab-complete: 60 per 2s container-click: 240 per 2s container-button: 40 per 2s use-item-on: 120 per 2s use-item: 120 per 2s player-action: 160 per 2s pick-item: 30 per 2s select-bundle-item: 80 per 2s creative-slot: 240 per 2s interact: 120 per 2s attack: 80 per 2s swing: 120 per 2s tag-query: 30 per 2s custom-payload: 240 per 2s chat: 40 per 2s seen: 60 per 2s admin-blocks: 30 per 2s | How many packets of each kind a player may send: "kind: N per Ss", N packets over S seconds, the next ones dropped; "off" for none. Normal play stays far below. A kind left out keeps its default, and paper-global.yml's packet-limiter overrides win for the kinds they name. |
connections-per-address | 10 | Connections open at once from one address, players and server list pings alike. 0: no limit. Behind Velocity or BungeeCord every connection comes from the proxy: these two limits are the proxy's then. |
connections-per-minute | 120 | New connections from one address in a minute, pings included. 0: no limit. |
creative-item-kb | 256 | The largest item a player in creative may make, in kilobytes of data. A far larger one, copied into chests and chunks, makes the packets that carry it too large for clients to join (a "chunk ban"). 0: no limit. |
plugins
| Option | Default | What it does |
|---|---|---|
non-folia | true | Load the plugins not made for region threading, those whose plugin.yml lacks folia-supported: true, which Folia refuses. Their Bukkit tasks run on Folia's schedulers: on the entity, the block or the region they concern when Prism can tell, else on the global region. A teleport is made asynchronously, a command sent from a thread that may not run it runs where it may. What still touches a region from another one's thread fails: each plugin's errors are said once in the console and listed on the dashboard's Plugins page. A plugin that reacts to its players' events mostly works; one that walks the whole world from a timer does not. Off: Folia's behaviour, such plugins are not loaded. |
excluded | none | Plugins not made for region threading to keep out all the same, by their name: [Essentials, Jobs]. |
legacy-version | true | Such plugins read the Minecraft version as 1.26.3 rather than 26.3. Many carry libraries (PaperLib) that read only 1.x versions: they take 26.3 for a very old Minecraft and fall back to loading chunks the old way, which Folia refuses from another region (EssentialsX's /tp from the console, /home far away). |
maintenance
| Option | Default | What it does |
|---|---|---|
kick-online | true | When the maintenance mode is turned on (/prism maintenance on, or the dashboard), the players online who may not stay are sent away with its message. Operators, the players allowed and prism.maintenance.bypass stay. |
hide-players | true | While it is on, the server list hides how many players are online. |
restarts
| Option | Default | What it does |
|---|---|---|
enabled | false | Restart the server every day at the times below, after a countdown players see. The server stops, then the restart-script of spigot.yml starts it again; without one, Prism exits with code 75, which panels, services and start scripts with a loop take as a cue to start it again. Off by default. "/prism restart 5m" restarts once, whatever this says. |
times | 04:00 | Times of day, on a 24-hour clock: "04:00", "16:30". |
time-zone | empty | Time zone of those times, like "Europe/Paris". Empty: the machine's. |
warnings | 1800 900 600 300 120 60 30 10 5 4 3 2 1 | Seconds before the restart when the countdown speaks in chat. The texts are in config/prism-messages.yml. |
boss-bar-seconds | 60 | For the last seconds, a bar at the top of the screen counts down too. 0: no bar. |
boss-bar-color | purple | Colour of that bar: pink, blue, red, green, yellow, purple or white. |
boss-bar-style | progress | Look of that bar: progress (in one piece), notched_6, notched_10, notched_12 or notched_20. |
quiet-after-start-minutes | 10 | A daily time this close after the start waits for the next day: a restart at 04:00 does not restart again at 04:01. |
exit-code | 75 | The status Prism exits with for a restart, without a restart script: 75 by default, which most panels and start scripts with a loop take as a cue to start again. 0 for those that start again after any stop. |
backups
| Option | Default | What it does |
|---|---|---|
enabled | true | Back the worlds up on a schedule while the server runs, in zip files; the oldest go once there are more than keep, and none is made when the disk is nearly full. "/prism backup" makes one now. |
every | 6h | Time between two backups: "30m", "6h", "1d". 10 minutes at the least. |
keep | 5 | How many backups to keep; the oldest go first. |
folder | backups | Where the backups go, from the server folder. |
extra-paths | none | Files or folders to back up with the worlds, from the server folder: "plugins", "server.properties". |
min-free-space-gb | 2 | A backup is skipped when it could leave less free disk space than this, in GB. |
worlds | none | The worlds backed up, by name. Empty: all of them. |
compression | 1 | How hard the zip files are compressed, from 0 (not at all, fastest) to 9 (smallest, slowest). |
compress-regions | false | Compress the region files too. Minecraft already compresses the chunks in them: compressing them again saves about a tenth of their size for some ten times the processor's time (measured: 26.5 MB to 23.6 MB, 0.42 s against 0.03 s). false: they go into the backup as they are, the other files compressed. |
restore-countdown | 1m | The countdown before the restart that puts a backup back, when the dashboard asks for it right away. The backup's parts are put in place at the start, before the worlds load. |
scheduled-commands
| Option | Default | What it does |
|---|---|---|
enabled | true | Run the commands below on their own, as the console does, on the global region's thread. |
commands | none | One line each: when, a colon, then the command without its slash. "every 30m: say Vote for the server!" runs every 30 minutes from the start (1 minute at the least); "at 04:00: save-all" runs every day at that time, and "at 08:00, 20:00: ..." at both, in the time zone of the daily restarts. The dashboard's Maintenance page shows when each runs next. |
pregen
| Option | Default | What it does |
|---|---|---|
resume | true | Generate a world ahead of the players with "/prism pregen <world> <radius>", or from the dashboard. It slows down by itself when the regions' ticks get long, and keeps where it is: an unfinished one goes on after a restart, unless this is false. |
parallel | 0 | Chunks asked for at once, at the most. 0: twice the processor's cores, between 4 and 48. |
slow-down-mspt | 45 | When the slowest region's ticks take longer than this, in milliseconds, it asks for half as many at once... |
speed-up-mspt | 30 | ...and under this, a few more. |
resource-pack
| Option | Default | What it does |
|---|---|---|
enabled | true | Send players a resource pack that the server serves itself, on its game port: nothing to host elsewhere. Players get it while they join, before the world shows. Without the file, nothing happens. |
file | resource-pack.zip | The pack, a .zip, from the server folder. After changing it: "/prism reload", then "/prism pack send" for the players already on. |
required | false | Players who refuse the pack are disconnected. The text shown with the question is in config/prism-messages.yml. |
public-address | empty | The address players reach this server's game port at, as "host:port". Empty: the address each player typed, which is right when players join this server directly. Behind a proxy (Velocity, BungeeCord), players typed the proxy's address: set an address of this server's own port. |
downloads-per-address | 4 | How many downloads of the pack one address may have running at once. Players behind one address (a family, a school, a LAN party) share it. A player refused joins without the pack, and the console says so: "/prism pack send" sends it again. |
downloads-at-once | 32 | How many downloads of the pack may run at once, all players together. |