paper.yml Anti-Xray engine-mode: 2 example

paper.yml Anti-Xray engine-mode: 2 example

unlisted ⁨1⁩ ⁨file⁩ 2020-08-23 18:47:35 UTC

paper.yml

Raw
# 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://paperdiscord.emc.gs
# IRC: #paper @ irc.spi.gt ( http://irc.spi.gt/iris/?channels=paper )
# Website: https://papermc.io/ 
# Docs: https://paper.readthedocs.org/ 

verbose: false
config-version: 20
settings:
  console-has-all-permissions: false
  save-player-data: true
  enable-player-collisions: true
  chunk-tasks-per-tick: 1000
  player-auto-save-rate: -1
  max-player-auto-save-per-tick: -1
  region-file-cache-size: 256
  incoming-packet-spam-threshold: 300
  save-empty-scoreboard-teams: false
  suggest-player-names-when-null-tab-completions: true
  load-permissions-yml-before-plugins: true
  bungee-online-mode: true
  use-alternative-luck-formula: false
  unsupported-settings:
    allow-permanent-block-break-exploits: false
    allow-piston-duplication: 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
  async-chunks:
    threads: -1
  velocity-support:
    enabled: false
    online-mode: false
    secret: ''
  watchdog:
    early-warning-every: 5000
    early-warning-delay: 10000
  spam-limiter:
    tab-spam-increment: 1
    tab-spam-limit: 500
  book-size:
    page-max: 2560
    total-multiplier: 0.98
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: Unknown Server
messages:
  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.'
  kick:
    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
    authentication-servers-down: ''
world-settings:
  default:
    grass-spread-tick-rate: 1
    disable-thunder: false
    keep-spawn-loaded-range: 3
    prevent-tnt-from-moving-in-water: false
    iron-golems-can-spawn-in-air: false
    water-over-lava-flow-speed: 5
    nether-ceiling-void-damage-height: 0
    allow-non-player-entities-on-scoreboards: false
    portal-search-radius: 128
    portal-create-radius: 16
    parrots-are-unaffected-by-player-movement: false
    disable-explosion-knockback: false
    keep-spawn-loaded: true
    skeleton-horse-thunder-spawn-chance: 0.01
    disable-ice-and-snow: false
    armor-stands-do-collision-entity-lookups: true
    container-update-tick-rate: 1
    remove-corrupt-tile-entities: false
    experience-merge-max-value: -1
    falling-block-height-nerf: 0
    tnt-entity-height-nerf: 0
    phantoms-do-not-spawn-on-creative-players: true
    phantoms-only-attack-insomniacs: true
    zombie-villager-infection-chance: -1.0
    spawner-nerfed-mobs-should-jump: false
    entities-target-with-follow-range: false
    non-player-arrow-despawn-rate: -1
    creative-arrow-despawn-rate: -1
    disable-teleportation-suffocation-check: false
    mob-spawner-tick-rate: 1
    armor-stands-tick: true
    all-chunks-are-slime-chunks: false
    enable-treasure-maps: true
    treasure-maps-return-already-discovered: false
    light-queue-size: 20
    auto-save-interval: -1
    per-player-mob-spawns: false
    prevent-moving-into-unloaded-chunks: false
    delay-chunk-unloads-by: 10s
    use-vanilla-world-scoreboard-name-coloring: false
    baby-zombie-movement-modifier: 0.5
    max-auto-save-chunks-per-tick: 24
    fixed-chunk-inhabited-time: -1
    optimize-explosions: false
    count-all-mobs-for-spawning: false
    duplicate-uuid-resolver: saferegen
    duplicate-uuid-saferegen-delete-range: 32
    max-entity-collisions: 8
    filter-nbt-data-from-spawn-eggs-and-related: true
    disable-creeper-lingering-effect: false
    anti-xray:
      enabled: true
      engine-mode: 2
      chunk-edge-mode: 2
      max-chunk-section-index: 2
      update-radius: 2
      hidden-blocks:
      # You can add air here such that many holes are generated.
      # This works well against cave finders but may cause client FPS drops for all players.
      - air
      - coal_ore
      - diamond_ore
      - emerald_ore
      - gold_ore
      - iron_ore
      - lapis_ore
      - mossy_cobblestone
      - redstone_ore
      replacement-blocks:
      # Chest is a tile entity and can't be added to hidden-blocks in engine-mode: 2.
      # But adding chest here will hide buried treasures, if max-chunk-section-index is increased.
      - chest
      - andesite
      - diorite
      - dirt
      - granite
      - gravel
      - oak_planks
      - stone
    viewdistances:
      no-tick-view-distance: -1
    game-mechanics:
      disable-unloaded-chunk-enderpearl-exploit: true
      disable-chest-cat-detection: false
      nerf-pigmen-from-nether-portals: false
      disable-player-crits: false
      shield-blocking-delay: 5
      disable-sprint-interruption-on-attack: false
      disable-end-credits: false
      disable-relative-projectile-velocity: false
      disable-pillager-patrols: false
      scan-for-legacy-ender-dragon: true
      pillager-patrols:
        spawn-chance: 0.2
        spawn-delay:
          per-player: false
          ticks: 12000
        start:
          per-player: false
          day: 5
    fishing-time-range:
      MinimumTicks: 100
      MaximumTicks: 600
    despawn-ranges:
      soft: 32
      hard: 128
    frosted-ice:
      enabled: true
      delay:
        min: 20
        max: 40
    squid-spawn-height:
      maximum: 0.0
    generator-settings:
      flat-bedrock: false
    max-growth-height:
      cactus: 3
      reeds: 3
    lootables:
      auto-replenish: false
      restrict-player-reloot: true
      reset-seed-on-fill: true
      max-refills: -1
      refresh-min: 12h
      refresh-max: 2d
    alt-item-despawn-rate:
      enabled: false
      items:
        COBBLESTONE: 300
    lightning-strike-distance-limit:
      sound: -1
      impact-sound: -1
      flash: -1
    hopper:
      cooldown-when-full: true
      disable-move-event: false
  # world_nether: needs to be changed if your world is named differently.
  world_nether:
    anti-xray:
      max-chunk-section-index: 7
      hidden-blocks:
      # See note about air above.
      - air
      # 1.16
      - ancient_debris
      # 1.16
      - bone_block
      - glowstone
      - magma_block
      - nether_bricks
      # 1.16
      - nether_gold_ore
      - nether_quartz_ore
      # 1.16
      - polished_blackstone_bricks
      replacement-blocks:
      # 1.16
      - basalt
      # 1.16
      - blackstone
      - gravel
      - netherrack
      - soul_sand
      # 1.16
      - soul_soil
  # world_the_end: needs to be changed if your world is named differently.
  world_the_end:
    anti-xray:
      enabled: false