PaperMC / Paper

The most widely used, high performance Minecraft server that aims to fix gameplay and mechanics inconsistencies
https://papermc.io/
Other
9.88k stars 2.29k forks source link

Chunks problem #5950

Closed ghost closed 3 years ago

ghost commented 3 years ago

Stack trace

[19:38:59 ERROR]: Caught exception in thread Thread[Worker-Main-374,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:38:59 ERROR]: Caught exception in thread Thread[Worker-Main-375,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:38:59 ERROR]: Caught exception in thread Thread[Worker-Main-376,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:38:59 ERROR]: Caught exception in thread Thread[Worker-Main-377,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:38:59 ERROR]: Caught exception in thread Thread[Worker-Main-373,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:38:59 ERROR]: Caught exception in thread Thread[Worker-Main-378,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:39:00 ERROR]: Caught exception in thread Thread[Worker-Main-379,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:39:00 ERROR]: Caught exception in thread Thread[Worker-Main-381,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:39:00 ERROR]: Caught exception in thread Thread[Worker-Main-382,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:39:00 ERROR]: Caught exception in thread Thread[Worker-Main-383,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:39:00 ERROR]: Caught exception in thread Thread[Worker-Main-384,4,main]
java.lang.ArrayIndexOutOfBoundsException: null
[19:39:01 ERROR]: Caught exception in thread Thread[Worker-Main-385,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]

Here is the stack trace when the player joining the game:

[19:43:44 WARN]: UUID of added entity already exists: EntitySheep['Sheep'/55, uuid='fd4dcaf4-cfd3-4c47-ab93-e6fbd646f12f', l='ServerLevel[world]', x=256.02, y=71.00, z=-199.96, cpos=[16, -13], tl=75939, v=false, rR=null]
[19:43:44 INFO]: UUID of player UnviZz is 4d1bf2fd-2d5b-3f15-b8eb-a158b143834e
[19:43:45 INFO]: UnviZz joined the game.
[19:43:45 INFO]: UnviZz[/IP:64774] logged in with entity id 68 at ([world_nether]286.30000001192093, 67.0, -7.5)
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-1,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-2,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-4,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-3,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-6,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-7,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-8,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-9,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketInfoAntiXray.run(ChunkPacketInfoAntiXray.java:28) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
        at java.lang.Thread.run(Thread.java:831) [?:?]
[19:43:46 ERROR]: Caught exception in thread Thread[Worker-Main-10,4,main]
java.lang.ArrayIndexOutOfBoundsException: Index 16 out of bounds for length 16
        at com.destroystokyo.paper.antixray.ChunkPacketInfo.isWritten(ChunkPacketInfo.java:79) ~[patched_1.17.jar:git-Paper-"a9394b8"]
        at com.destroystokyo.paper.antixray.ChunkPacketBlockControllerAntiXray.obfuscate(ChunkPacketBlockControllerAntiXray.java:250) ~[patched_1.17.jar:git-Paper-"a9394b8"]

Plugin list

> plugins
[19:52:54 INFO]: Plugins (10): CoreProtect, LoginSecurity*, PlaceholderAPI, SimpleLay, SkinsRestorer, TAB

Actions to reproduce (if known)

No response

Paper version

> version
[19:51:52 INFO]: Checking version, please wait...
[19:51:52 INFO]: This server is running Paper version git-Paper-"f110140" (MC: 1.17) (Implementing API version 1.17-R0.1-SNAPSHOT)
You are running the latest version
Previous version: git-Paper-"a9394b8" (MC: 1.17)

Agreements

Other

Hello, my server started to endure problems today. Chunks appear on the map that simply do not load. If you enter them, then you just start to fall, and tons of messages are sent to the console.

My paper.yml:

verbose: false
use-display-name-in-quit-message: true
config-version: 20
settings:
  load-permissions-yml-before-plugins: true
  region-file-cache-size: 256
  save-empty-scoreboard-teams: false
  bungee-online-mode: false
  incoming-packet-spam-threshold: 300
  console-has-all-permissions: true
  max-joins-per-tick: 3
  track-plugin-scoreboards: false
  suggest-player-names-when-null-tab-completions: true
  use-alternative-luck-formula: false
  fix-entity-position-desync: true
  chunk-tasks-per-tick: 1000
  enable-player-collisions: true
  player-auto-save-rate: -1
  max-player-auto-save-per-tick: -1
  async-chunks:
    threads: -1
  unsupported-settings:
    allow-headless-pistons: false
    allow-permanent-block-break-exploits: false
    allow-piston-duplication: false
    allow-headless-pistons-readme: This setting controls if players should be able
      to create headless pistons.
    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
  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: 2560
    total-multiplier: 0.98
  console:
    enable-brigadier-highlighting: true
    enable-brigadier-completions: true
  item-validation:
    display-name: 8192
    loc-name: 8192
    lore-line: 8192
    book:
      title: 8192
      author: 8192
      page: 16384
  velocity-support:
    enabled: false
    online-mode: false
    secret: ''
  loggers:
    deobfuscate-stacktraces: true
messages:
  no-permission: '§cNot enough permissions.'
  kick:
    authentication-servers-down: ''
    connection-throttle: '§cPlease, reconnect in 10 seconds.'
    flying-player: '§cPlease, rejoin the server.'
    flying-vehicle: '§cPlease, rejoin the server.'
timings:
  enabled: true
  verbose: true
  server-name-privacy: false
  hidden-config-entries:
  - database
  - settings.bungeecord-addresses
  - settings.velocity-support.secret
  history-interval: 300
  history-length: 3600
  server-name: 'LandHand'
world-settings:
  default:
    disable-teleportation-suffocation-check: false
    should-remove-dragon: false
    max-auto-save-chunks-per-tick: 8
    baby-zombie-movement-modifier: 0.5
    optimize-explosions: true
    fixed-chunk-inhabited-time: -1
    use-vanilla-world-scoreboard-name-coloring: false
    remove-corrupt-tile-entities: false
    experience-merge-max-value: -1
    prevent-moving-into-unloaded-chunks: true
    count-all-mobs-for-spawning: false
    per-player-mob-spawns: true
    ender-dragons-death-always-places-dragon-egg: false
    allow-using-signs-inside-spawn-protection: false
    falling-block-height-nerf: 0
    tnt-entity-height-nerf: 0
    filter-nbt-data-from-spawn-eggs-and-related: true
    max-entity-collisions: 2
    disable-creeper-lingering-effect: false
    duplicate-uuid-resolver: saferegen
    duplicate-uuid-saferegen-delete-range: 32
    phantoms-do-not-spawn-on-creative-players: true
    phantoms-only-attack-insomniacs: true
    update-pathfinding-on-block-update: true
    fix-wither-targeting-bug: false
    entities-target-with-follow-range: false
    map-item-frame-cursor-limit: 128
    zombie-villager-infection-chance: -1.0
    all-chunks-are-slime-chunks: false
    non-player-arrow-despawn-rate: 60
    creative-arrow-despawn-rate: 60
    seed-based-feature-search: true
    seed-based-feature-search-loads-chunks: true
    water-over-lava-flow-speed: 5
    grass-spread-tick-rate: 4
    use-faster-eigencraft-redstone: true
    nether-ceiling-void-damage-height: 0
    only-players-collide: false
    allow-vehicle-collisions: true
    fix-items-merging-through-walls: false
    keep-spawn-loaded: true
    armor-stands-do-collision-entity-lookups: false
    parrots-are-unaffected-by-player-movement: false
    allow-non-player-entities-on-scoreboards: false
    portal-search-radius: 128
    portal-create-radius: 16
    portal-search-vanilla-dimension-scaling: true
    container-update-tick-rate: 3
    disable-thunder: false
    skeleton-horse-thunder-spawn-chance: 0.01
    disable-ice-and-snow: false
    keep-spawn-loaded-range: 3
    disable-explosion-knockback: false
    fix-climbing-bypassing-cramming-rule: true
    prevent-tnt-from-moving-in-water: false
    iron-golems-can-spawn-in-air: false
    max-leash-distance: 10.0
    zombies-target-turtle-eggs: true
    spawner-nerfed-mobs-should-jump: false
    armor-stands-tick: false
    delay-chunk-unloads-by: 10s
    mob-spawner-tick-rate: 2
    enable-treasure-maps: true
    treasure-maps-return-already-discovered: false
    light-queue-size: 20
    auto-save-interval: -1
    generator-settings:
      flat-bedrock: false
    entity-per-chunk-save-limit:
      experience_orb: 16
      snowball: 16
      ender_pearl: 16
      arrow: 16
    game-mechanics:
      scan-for-legacy-ender-dragon: true
      fix-curing-zombie-villager-discount-exploit: true
      disable-pillager-patrols: false
      disable-chest-cat-detection: true
      nerf-pigmen-from-nether-portals: false
      shield-blocking-delay: 5
      disable-player-crits: false
      disable-sprint-interruption-on-attack: false
      disable-end-credits: false
      disable-unloaded-chunk-enderpearl-exploit: true
      disable-relative-projectile-velocity: false
      disable-mob-spawner-spawn-egg-transformation: false
      pillager-patrols:
        spawn-chance: 0.2
        spawn-delay:
          per-player: false
          ticks: 12000
        start:
          per-player: false
          day: 5
    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
    max-growth-height:
      cactus: 3
      reeds: 3
      bamboo:
        max: 16
        min: 11
    fishing-time-range:
      MinimumTicks: 100
      MaximumTicks: 600
    despawn-ranges:
      soft: 28
      hard: 96
    frosted-ice:
      enabled: true
      delay:
        min: 20
        max: 40
    lootables:
      auto-replenish: false
      restrict-player-reloot: true
      reset-seed-on-fill: true
      max-refills: -1
      refresh-min: 12h
      refresh-max: 2d
    mobs-can-always-pick-up-loot:
      zombies: false
      skeletons: false
    hopper:
      cooldown-when-full: true
      disable-move-event: true
    spawn-limits:
      monsters: -1
      animals: -1
      water-animals: -1
      water-ambient: -1
      ambient: -1
    alt-item-despawn-rate:
      enabled: true
      items:
        COBBLESTONE: 300
    unsupported-settings:
      fix-invulnerable-end-crystal-exploit: true
    anti-xray:
      enabled: true
      engine-mode: 1
      max-block-height: 256
      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
    viewdistances:
      no-tick-view-distance: -1
    squid-spawn-height:
      maximum: 0.0

My spigot.yml:

config-version: 12
settings:
  debug: false
  save-user-cache-on-stop-only: true
  moved-wrongly-threshold: 0.0625
  moved-too-quickly-multiplier: 10.0
  log-villager-deaths: false
  bungeecord: false
  sample-count: 12
  player-shuffle: 0
  user-cache-size: 1000
  timeout-time: 60
  restart-on-crash: true
  restart-script: ./start.sh
  netty-threads: 4
  attribute:
    maxHealth:
      max: 2048.0
    movementSpeed:
      max: 2048.0
    attackDamage:
      max: 2048.0
messages:
  whitelist: 'You are not whitelisted!'
  unknown-command: 'Unknown command.'
  server-full: 'Server is full'
  outdated-client: 'Use version{0}'
  outdated-server: 'Use version{0}'
  restart: 'Restart!'
commands:
  replace-commands:
  - setblock
  - summon
  - testforblock
  - tellraw
  log: true
  tab-complete: 0
  send-namespaced: false
  spam-exclusions:
  - /skill
  silent-commandblock-console: false
stats:
  disable-saving: false
  forced-stats: {}
advancements:
  disable-saving: false
  disabled:
  - minecraft:story/disabled
players:
  disable-saving: false
world-settings:
  default:
    max-entity-collisions: 2
    verbose: true
    mob-spawn-range: 4
    hopper-amount: 1
    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-bastion: 30084232
    seed-fortress: 30084232
    seed-mansion: 10387319
    seed-fossil: 14357921
    seed-portal: 34222645
    max-tnt-per-tick: 100
    enable-zombie-pigmen-portal-spawns: true
    item-despawn-rate: 4000
    view-distance: 4
    wither-spawn-sound-radius: 0
    hanging-tick-frequency: 100
    arrow-despawn-rate: 300
    trident-despawn-rate: 1200
    zombie-aggressive-towards-villager: true
    nerf-spawner-mobs: true
    end-portal-sound-radius: 0
    merge-radius:
      exp: 4.0
      item: 6.0
    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
    entity-activation-range:
      water: 12
      villagers: 16
      flying-monsters: 32
      villagers-work-immunity-after: 100
      villagers-work-immunity-for: 20
      villagers-active-for-panic: true
      animals: 16
      monsters: 24
      raiders: 48
      misc: 8
      tick-inactive-villagers: false
      wake-up-inactive:
        animals-max-per-tick: 2
        animals-every: 1200
        animals-for: 40
        monsters-max-per-tick: 4
        monsters-every: 400
        monsters-for: 60
        villagers-max-per-tick: 1
        villagers-every: 600
        villagers-for: 20
        flying-monsters-max-per-tick: 1
        flying-monsters-every: 200
        flying-monsters-for: 60
    ticks-per:
      hopper-transfer: 8
      hopper-check: 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-tick-time:
      tile: 1000
      entity: 1000
    squid-spawn-range:
      min: 45.0
    entity-tracking-range:
      players: 48
      animals: 48
      monsters: 48
      misc: 32
      other: 64

And bukkit.yml:

settings:
  allow-end: true
  warn-on-overload: false
  permissions-file: permissions.yml
  update-folder: update
  plugin-profiling: false
  connection-throttle: -1
  query-plugins: false
  deprecated-verbose: default
  shutdown-message: 'Restart!'
  minimum-api: none
spawn-limits:
  monsters: 15
  animals: 5
  water-animals: 5
  water-ambient: 5
  ambient: 1
chunk-gc:
  period-in-ticks: 400
ticks-per:
  animal-spawns: 400
  monster-spawns: 4
  water-spawns: 1
  water-ambient-spawns: 1
  ambient-spawns: 1
  autosave: 100
aliases: now-in-commands.yml

My start.sh file:

java -Dfile.encoding=UTF-8 -Xms8G -Xmx8G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -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 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true -jar paper-1.17-20.jar nogui
ghost commented 3 years ago

I just checked again if there are similar PRs, and I saw that there are. Closing that issue.