Skip to content

Instantly share code, notes, and snippets.

@gphg
Last active April 28, 2022 20:55
Show Gist options
  • Save gphg/fb777b63997835babfad7e52ad1d0dd1 to your computer and use it in GitHub Desktop.
Save gphg/fb777b63997835babfad7e52ad1d0dd1 to your computer and use it in GitHub Desktop.
PaperMC Poorman's Server configurations.
# Based on: https://shockbyte.com/billing/knowledgebase/154/Optimizing-bukkityml-to-Reduce-Lag.html
settings:
allow-end: true
warn-on-overload: true
permissions-file: permissions.yml
update-folder: update
plugin-profiling: false
connection-throttle: 4000
query-plugins: true
deprecated-verbose: default
shutdown-message: Server closed
minimum-api: none
spawn-limits:
monsters: 50
animals: 8
water-animals: 3
water-ambient: 20
water-underground-creature: 3
axolotls: 3
ambient: 1
chunk-gc:
period-in-ticks: 400
ticks-per:
animal-spawns: 400
monster-spawns: 2
water-spawns: 2
water-ambient-spawns: 2
water-underground-creature-spawns: 2
axolotl-spawns: 2
ambient-spawns: 2
autosave: 6000
aliases: now-in-commands.yml
# This is the main configuration file for Paper.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
#
# If you need help with the configuration or have any questions related to Paper,
# join us in our Discord or IRC channel.
#
# Discord: https://discord.gg/papermc
# IRC: #paper @ irc.esper.net ( https://webchat.esper.net/?channels=paper )
# Website: https://papermc.io/
# Docs: https://docs.papermc.io/
# Optimiziation note: most of options are modified and adjust based on article bellow:
# https://shockbyte.com/billing/knowledgebase/155/Optimize-paperyml-to-Reduce-Lag.html
verbose: false
messages:
kick:
authentication-servers-down: ''
connection-throttle: Connection throttled! Please wait before reconnecting.
flying-player: Flying is not enabled on this server
flying-vehicle: Flying is not enabled on this server
no-permission: '&cI''m sorry, but you do not have permission to perform this command.
Please contact the server administrators if you believe that this is in error.'
timings:
enabled: true
verbose: true
url: https://timings.aikar.co/
server-name-privacy: false
hidden-config-entries:
- database
- settings.bungeecord-addresses
- settings.velocity-support.secret
history-interval: 300
history-length: 3600
server-name: Unknown Server
config-version: 25
settings:
fix-target-selector-tag-completion: true
send-full-pos-for-hard-colliding-entities: true
time-command-affects-all-worlds: false
velocity-support:
enabled: false
online-mode: false
secret: ''
console-has-all-permissions: false
player-auto-save-rate: -1
max-player-auto-save-per-tick: -1
lag-compensate-block-breaking: true
log-player-ip-addresses: true
console:
enable-brigadier-highlighting: true
enable-brigadier-completions: true
suggest-player-names-when-null-tab-completions: true
watchdog:
early-warning-every: 5000
early-warning-delay: 10000
spam-limiter:
tab-spam-increment: 1
tab-spam-limit: 500
recipe-spam-increment: 1
recipe-spam-limit: 20
book-size:
page-max: 1280 #prevent bookban (half)
total-multiplier: 0.98
loggers:
deobfuscate-stacktraces: true
use-rgb-for-named-text-colors: true
item-validation:
display-name: 8192
loc-name: 8192
lore-line: 8192
book:
title: 8192
author: 8192
page: 16384
chunk-loading:
min-load-radius: 2
max-concurrent-sends: 2
autoconfig-send-distance: true
target-player-chunk-send-rate: 100.0
global-max-chunk-send-rate: -1.0
enable-frustum-priority: false
global-max-chunk-load-rate: -1.0
player-max-concurrent-loads: 20.0
global-max-concurrent-loads: 500.0
player-max-chunk-load-rate: -1.0
use-dimension-type-for-custom-spawners: false
max-joins-per-tick: 3
track-plugin-scoreboards: false
fix-entity-position-desync: true
use-display-name-in-quit-message: false
load-permissions-yml-before-plugins: true
region-file-cache-size: 256
enable-player-collisions: true
save-empty-scoreboard-teams: false
bungee-online-mode: true
incoming-packet-spam-threshold: 300
use-alternative-luck-formula: false
unsupported-settings:
allow-permanent-block-break-exploits: false
allow-piston-duplication: false
perform-username-validation: true
allow-headless-pistons: false
allow-permanent-block-break-exploits-readme: This setting controls if players
should be able to break bedrock, end portals and other intended to be permanent
blocks.
allow-piston-duplication-readme: This setting controls if player should be able
to use TNT duplication, but this also allows duplicating carpet, rails and potentially
other items
allow-headless-pistons-readme: This setting controls if players should be able
to create headless pistons.
async-chunks:
threads: -1
packet-limiter:
kick-message: '&cSent too many packets'
limits:
all:
interval: 7.0
max-packet-rate: 500.0
PacketPlayInAutoRecipe:
interval: 4.0
max-packet-rate: 5.0
action: DROP
world-settings:
default:
disable-teleportation-suffocation-check: false
use-vanilla-world-scoreboard-name-coloring: false
prevent-moving-into-unloaded-chunks: false
ender-dragons-death-always-places-dragon-egg: false
allow-using-signs-inside-spawn-protection: false
frosted-ice:
enabled: true
delay:
min: 20
max: 40
max-growth-height:
cactus: 3
reeds: 3
bamboo:
max: 16
min: 11
fishing-time-range:
MinimumTicks: 100
MaximumTicks: 600
despawn-ranges:
monster:
soft: 32
hard: 96
creature:
soft: 32
hard: 96
ambient:
soft: 32
hard: 96
axolotls:
soft: 32
hard: 96
underground_water_creature:
soft: 32
hard: 96
water_creature:
soft: 32
hard: 96
water_ambient:
soft: 32
hard: 64
misc:
soft: 32
hard: 96
falling-block-height-nerf: 0
tnt-entity-height-nerf: 0
slime-spawn-height:
swamp-biome:
maximum: 70.0
minimum: 50.0
slime-chunk:
maximum: 40.0
lootables:
auto-replenish: true # recommended by paper
restrict-player-reloot: true
reset-seed-on-fill: true
max-refills: -1
refresh-min: 12h
refresh-max: 2d
filter-nbt-data-from-spawn-eggs-and-related: true
max-entity-collisions: 2
duplicate-uuid-resolver: saferegen
duplicate-uuid-saferegen-delete-range: 32
game-mechanics:
disable-pillager-patrols: false
pillager-patrols:
spawn-chance: 0.2
spawn-delay:
per-player: false
ticks: 12000
start:
per-player: false
day: 5
disable-mob-spawner-spawn-egg-transformation: false
disable-chest-cat-detection: true
nerf-pigmen-from-nether-portals: false
disable-relative-projectile-velocity: false
disable-unloaded-chunk-enderpearl-exploit: true
scan-for-legacy-ender-dragon: true
fix-curing-zombie-villager-discount-exploit: true
disable-sprint-interruption-on-attack: false
disable-end-credits: false
disable-player-crits: false
shield-blocking-delay: 5
hopper:
cooldown-when-full: true
disable-move-event: true
ignore-occluding-blocks: false
mob-effects:
undead-immune-to-certain-effects: true
spiders-immune-to-poison-effect: true
immune-to-wither-effect:
wither: true
wither-skeleton: true
phantoms-do-not-spawn-on-creative-players: true
phantoms-only-attack-insomniacs: true
mobs-can-always-pick-up-loot:
zombies: false
skeletons: false
allow-player-cramming-damage: false
anticheat:
obfuscation:
items:
hide-itemmeta: false
hide-durability: false
disable-creeper-lingering-effect: false
update-pathfinding-on-block-update: true
map-item-frame-cursor-update-interval: 10
monster-spawn-max-light-level: -1
entities-target-with-follow-range: false
zombie-villager-infection-chance: -1.0
unsupported-settings:
fix-invulnerable-end-crystal-exploit: true
armor-stands-tick: false
non-player-arrow-despawn-rate: 120
creative-arrow-despawn-rate: 120
spawner-nerfed-mobs-should-jump: false
wateranimal-spawn-height:
maximum: default
minimum: default
zombies-target-turtle-eggs: true
all-chunks-are-slime-chunks: false
mob-spawner-tick-rate: 2
enable-treasure-maps: true
treasure-maps-return-already-discovered: false
generator-settings:
flat-bedrock: false
auto-save-interval: -1
nether-ceiling-void-damage-height: 0
keep-spawn-loaded-range: 10
anti-xray:
enabled: false
engine-mode: 1
max-block-height: 64
update-radius: 2
lava-obscures: false
use-permission: false
hidden-blocks:
- copper_ore
- deepslate_copper_ore
- gold_ore
- deepslate_gold_ore
- iron_ore
- deepslate_iron_ore
- coal_ore
- deepslate_coal_ore
- lapis_ore
- deepslate_lapis_ore
- mossy_cobblestone
- obsidian
- chest
- diamond_ore
- deepslate_diamond_ore
- redstone_ore
- deepslate_redstone_ore
- clay
- emerald_ore
- deepslate_emerald_ore
- ender_chest
replacement-blocks:
- stone
- oak_planks
- deepslate
armor-stands-do-collision-entity-lookups: true
allow-non-player-entities-on-scoreboards: false
disable-thunder: false
skeleton-horse-thunder-spawn-chance: 0.01
disable-ice-and-snow: false
use-faster-eigencraft-redstone: true
prevent-tnt-from-moving-in-water: false
grass-spread-tick-rate: 4
water-over-lava-flow-speed: 5
light-queue-size: 20
split-overstacked-loot: true
map-item-frame-cursor-limit: 128
per-player-mob-spawns: true
fixed-chunk-inhabited-time: -1
show-sign-click-command-failure-msgs-to-player: false
max-leash-distance: 10.0
iron-golems-can-spawn-in-air: false
piglins-guard-chests: true
should-remove-dragon: false
max-auto-save-chunks-per-tick: 8
baby-zombie-movement-modifier: 0.5
optimize-explosions: true
count-all-mobs-for-spawning: false
spawn-limits:
monster: -1
creature: -1
ambient: -1
axolotls: -1
underground_water_creature: -1
water_creature: -1
water_ambient: -1
experience-merge-max-value: -1
wandering-trader:
spawn-minute-length: 1200
spawn-day-length: 24000
spawn-chance-failure-increment: 25
spawn-chance-min: 25
spawn-chance-max: 75
door-breaking-difficulty:
zombie:
- HARD
vindicator:
- NORMAL
- HARD
fix-climbing-bypassing-cramming-rule: false
fix-items-merging-through-walls: false
container-update-tick-rate: 3
delay-chunk-unloads-by: 10s
only-players-collide: false
allow-vehicle-collisions: true
portal-search-radius: 128
portal-create-radius: 16
portal-search-vanilla-dimension-scaling: true
parrots-are-unaffected-by-player-movement: false
disable-explosion-knockback: false
keep-spawn-loaded: false
alt-item-despawn-rate:
enabled: true
items:
COBBLESTONE: 150
STONE: 150
DIRT: 150
COBBLED_DEEPSLATE: 200
NETHERRACK: 150
ROTTEN_FLESH: 200
ENDER_PEARL: 200
BONE: 200
CACTUS: 200
EGG: 200
tick-rates:
sensor:
villager:
secondarypoisensor: 40
behavior:
villager:
validatenearbypoi: -1
feature-seeds:
generate-random-seeds-for-all: false
entity-per-chunk-save-limit:
experience_orb: -1
snowball: -1
ender_pearl: -1
arrow: -1
fireball: -1
small_fireball: -1
#Minecraft server properties (as 1.18.2)
enable-jmx-monitoring=false
rcon.port=25575
level-seed=
gamemode=survival
enable-command-block=false
enable-query=false
generator-settings={}
level-name=world
motd=A Minecraft Server
query.port=25565
pvp=true
generate-structures=true
difficulty=hard
network-compression-threshold=256
require-resource-pack=false
max-tick-time=60000
use-native-transport=true
max-players=4
online-mode=false
enable-status=true
allow-flight=true
broadcast-rcon-to-ops=true
view-distance=8
server-ip=
resource-pack-prompt=
allow-nether=true
server-port=25565
enable-rcon=false
sync-chunk-writes=true
op-permission-level=4
prevent-proxy-connections=false
hide-online-players=false
resource-pack=
entity-broadcast-range-percentage=100
simulation-distance=5
rcon.password=
player-idle-timeout=0
debug=false
force-gamemode=false
rate-limit=0
hardcore=true
white-list=false
broadcast-console-to-ops=true
spawn-npcs=true
spawn-animals=true
function-permission-level=2
level-type=default
text-filtering-config=
spawn-monsters=true
enforce-whitelist=false
resource-pack-sha1=
spawn-protection=0
max-world-size=3584
# This is the main configuration file for Spigot.
# As you can see, there's tons to configure. Some options may impact gameplay, so use
# with caution, and make sure you know what each option does before configuring.
# For a reference for any variable inside this file, check out the Spigot wiki at
# http://www.spigotmc.org/wiki/spigot-configuration/
#
# If you need help with the configuration or have any questions related to Spigot,
# join us at the Discord or drop by our forums and leave a post.
#
# Discord: https://www.spigotmc.org/go/discord
# Forums: http://www.spigotmc.org/
# Optimization based on this: https://shockbyte.com/billing/knowledgebase/153/Optimizing-spigotyml-to-Reduce-Lag.html
world-settings:
default:
below-zero-generation-in-existing-chunks: true
verbose: false
end-portal-sound-radius: 0
zombie-aggressive-towards-villager: true
arrow-despawn-rate: 300
trident-despawn-rate: 300
hanging-tick-frequency: 100
nerf-spawner-mobs: true
view-distance: default
simulation-distance: default
thunder-chance: 100000
merge-radius:
item: 4.0
exp: 6.0
item-despawn-rate: 4000
enable-zombie-pigmen-portal-spawns: true
mob-spawn-range: 6
growth:
cactus-modifier: 100
cane-modifier: 100
melon-modifier: 100
mushroom-modifier: 100
pumpkin-modifier: 100
sapling-modifier: 100
beetroot-modifier: 100
carrot-modifier: 100
potato-modifier: 100
wheat-modifier: 100
netherwart-modifier: 100
vine-modifier: 100
cocoa-modifier: 100
bamboo-modifier: 100
sweetberry-modifier: 100
kelp-modifier: 100
twistingvines-modifier: 100
weepingvines-modifier: 100
cavevines-modifier: 100
glowberry-modifier: 100
entity-activation-range:
animals: 16
monsters: 24
raiders: 48
misc: 8
water: 16
villagers: 24
flying-monsters: 24
wake-up-inactive:
animals-max-per-tick: 4
animals-every: 1200
animals-for: 100
monsters-max-per-tick: 8
monsters-every: 400
monsters-for: 100
villagers-max-per-tick: 4
villagers-every: 600
villagers-for: 100
flying-monsters-max-per-tick: 8
flying-monsters-every: 200
flying-monsters-for: 100
villagers-work-immunity-after: 100
villagers-work-immunity-for: 20
villagers-active-for-panic: true
tick-inactive-villagers: false
ignore-spectators: false
entity-tracking-range:
players: 48
animals: 48
monsters: 48
misc: 32
other: 64
dragon-death-sound-radius: 0
seed-village: 10387312
seed-desert: 14357617
seed-igloo: 14357618
seed-jungle: 14357619
seed-swamp: 14357620
seed-monument: 10387313
seed-shipwreck: 165745295
seed-ocean: 14357621
seed-outpost: 165745296
seed-endcity: 10387313
seed-slime: 987234911
seed-nether: 30084232
seed-mansion: 10387319
seed-fossil: 14357921
seed-portal: 34222645
seed-stronghold: default
ticks-per:
hopper-transfer: 8
hopper-check: 1
hopper-amount: 1
hunger:
jump-walk-exhaustion: 0.05
jump-sprint-exhaustion: 0.2
combat-exhaustion: 0.1
regen-exhaustion: 6.0
swim-multiplier: 0.01
sprint-multiplier: 0.1
other-multiplier: 0.0
max-tnt-per-tick: 100
max-tick-time:
tile: 250
entity: 250
wither-spawn-sound-radius: 0
commands:
log: true
tab-complete: 0
send-namespaced: true
spam-exclusions:
- /skill
silent-commandblock-console: false
replace-commands:
- setblock
- summon
- testforblock
- tellraw
settings:
sample-count: 12
player-shuffle: 0
user-cache-size: 1000
save-user-cache-on-stop-only: true
moved-wrongly-threshold: 0.0625
moved-too-quickly-multiplier: 10.0
netty-threads: 4
attribute:
maxHealth:
max: 2048.0
movementSpeed:
max: 2048.0
attackDamage:
max: 2048.0
timeout-time: 60
restart-on-crash: true
restart-script: ./start.sh
log-villager-deaths: true
log-named-deaths: true
bungeecord: false
debug: false
messages:
restart: Server is restarting
whitelist: You are not whitelisted on this server!
unknown-command: Unknown command. Type "/help" for help.
server-full: The server is full!
outdated-client: Outdated client! Please use {0}
outdated-server: Outdated server! I'm still on {0}
players:
disable-saving: false
advancements:
disable-saving: false
disabled:
- minecraft:story/disabled
config-version: 12
stats:
disable-saving: false
forced-stats: {}
@gphg
Copy link
Author

gphg commented Apr 28, 2022

Today's learned lesson: max-world-size on server.properties is take top priority than console's /worldborder. It's the hard-limit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment