apiVersion: v1
kind: ConfigMap
metadata:
  name: mc-events-config
  namespace: games
  labels:
    app: mc-events
data:
  server.properties: |
    #Minecraft server properties
    #Mon Nov 23 22:45:15 GMT 2020
    enable-jmx-monitoring=false
    rcon.port=25575
    level-seed=773757760568375
    gamemode=survival
    enable-command-block=true
    enable-query=false
    generator-settings=
    level-name=world/main
    motd=A Minecraft Server
    query.port=25565
    pvp=true
    generate-structures=true
    difficulty=normal
    network-compression-threshold=256
    max-tick-time=60000
    use-native-transport=true
    max-players=60
    online-mode=false
    enable-status=true
    allow-flight=false
    broadcast-rcon-to-ops=true
    view-distance=10
    max-build-height=256
    server-ip=
    allow-nether=true
    server-port=25565
    enable-rcon=false
    sync-chunk-writes=true
    op-permission-level=4
    prevent-proxy-connections=false
    resource-pack=
    entity-broadcast-range-percentage=100
    rcon.password=
    player-idle-timeout=0
    debug=false
    force-gamemode=false
    rate-limit=0
    hardcore=false
    white-list=false
    broadcast-console-to-ops=true
    spawn-npcs=true
    spawn-animals=true
    snooper-enabled=true
    function-permission-level=2
    level-type=default
    text-filtering-config=
    spawn-monsters=true
    enforce-whitelist=false
    resource-pack-sha1=
    spawn-protection=16
    max-world-size=29999984
  spigot.yml: |
    config-version: 12
    messages:
      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}
      restart: Server is restarting
    advancements:
      disable-saving: false
      disabled:
      - minecraft:story/disabled
    stats:
      disable-saving: false
      forced-stats: {}
    commands:
      log: true
      tab-complete: 0
      send-namespaced: true
      spam-exclusions:
      - /skill
      silent-commandblock-console: false
      replace-commands:
      - setblock
      - summon
      - testforblock
      - tellraw
    settings:
      bungeecord: true
      sample-count: 12
      player-shuffle: 0
      netty-threads: 4
      user-cache-size: 1000
      save-user-cache-on-stop-only: false
      moved-wrongly-threshold: 0.0625
      moved-too-quickly-multiplier: 10.0
      log-villager-deaths: true
      timeout-time: 60
      restart-on-crash: true
      restart-script: ./start.sh
      debug: false
      attribute:
        maxHealth:
          max: 2048.0
        movementSpeed:
          max: 2048.0
        attackDamage:
          max: 2048.0
    players:
      disable-saving: false
    world-settings:
      default:
        verbose: true
        wither-spawn-sound-radius: 0
        enable-zombie-pigmen-portal-spawns: true
        item-despawn-rate: 6000
        view-distance: default
        zombie-aggressive-towards-villager: true
        arrow-despawn-rate: 1200
        trident-despawn-rate: 1200
        mob-spawn-range: 8
        hanging-tick-frequency: 100
        nerf-spawner-mobs: false
        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
        end-portal-sound-radius: 0
        max-entity-collisions: 8
        entity-tracking-range:
          players: 48
          animals: 48
          monsters: 48
          misc: 32
          other: 64
        merge-radius:
          item: 2.5
          exp: 3.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:
          animals: 32
          monsters: 32
          raiders: 48
          misc: 16
          water: 16
          villagers: 32
          flying-monsters: 32
          villagers-work-immunity-after: 100
          villagers-work-immunity-for: 20
          villagers-active-for-panic: true
          tick-inactive-villagers: true
          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
        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: 50
          entity: 50
        squid-spawn-range:
          min: 45.0