Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
etil.sol edited this page Aug 7, 2022 · 6 revisions

Welcome to the Mirai wiki!

Configuration Guide

# Mirai Configuration
# Join our Discord at https://discord.gg/DdH6Yfu9gM
# Download new builds at https://ci.codemc.io/job/etil2jz/job/Mirai-1.19/lastSuccessfulBuild/
info:
  
  version: '2.0'
# This value defines how many bees can fit in a hive.
# Allowing more bees in a hive can reduce the number of ticking hives.
max-bees-in-hive: 3
# Whether or not players can reset portal cooldown by
# walking to another block in case they are stuck.
player-fix-stuck-in-portal: false
# Whether or not entities should be able to use portals.
entities-can-use-portals: true
# Whether or not server should animate enchantment table book.
# Disabling it can save MSPT, especially with quite a lot of enchantment tables.
enchantment-table-book-animation-tick: false
# Whether or not player login location should be written in logs.
log-player-login-location: true
checks:
  # Whether or not vanilla anticheat should check for players flying.
  flight: true
  # Whether or not vanilla anticheat should check for passengers flying.
  vehicle-flight: true
logger:
  # Whether or not server should stop saying
  # 'Initializing Legacy Material Support. Unless you have legacy plugins and/or data this is a bug!'
  suppress-init-legacy-material-errors: false
  # Whether or not server should stop saying
  # 'Ignored advancement '{}' in progress file {} - it doesn't exist anymore?'
  suppress-ignored-advancement-warnings: false
  # Whether or not server should stop saying
  # 'Tried to load unrecognized recipe: {} removed now.'
  suppress-unrecognized-recipe-errors: false
  # Whether or not server should stop saying
  # 'Detected setBlock in a far chunk.'
  suppress-setblock-in-far-chunk-errors: false
  # Whether or not server should stop saying
  # '{} sent expired chat: '{}'. Is the client/server system time unsynchronized?'
  suppress-sent-expired-chat: false
# Whether or not server should use an alternative keepalive algorithm.
# This can drastically reduce players timeouts due to a bad connection.
use-alternate-keepalive: true
# This value defines how often a map refresh, in tick.
# A second is 20 ticks.
map-update-interval: 5
# Whether or not server should use a faster method
# to check when entity delta movement is null.
fast-speed-check: true
# Whether or not players should be able to report chat messages.
# It also disables the popup when joining a server without
# 'secure chat', such as offline-mode servers.
disable-chat-reports: false
# Whether or not Math.round should be replaced by a faster version.
optimize-math-round: true
# Whether or not Math.hypot should be replaced by a faster version.
optimize-math-hypot: true
criterion-trigger:
  # Whether or not server should listen to block enter triggers.
  enter-block: true
  # Whether or not server should listen to tick triggers.
  tick: true
  # Whether or not server should listen to location triggers.
  location: true
# Whether or not server should send entity packets with null movements.
dont-send-useless-entity-packets: true
Clone this wiki locally