Skip to content

Instantly share code, notes, and snippets.

View electronicboy's full-sized avatar

Shane Freeder electronicboy

View GitHub Profile
@electronicboy
electronicboy / 1.14.x-chunk-loading-final.md
Created February 9, 2021 22:21 — forked from Drovolon/1.14.x-chunk-loading-final.md
An overview of chunk loading mechanics in Minecraft 1.14, tested empirically in 1.14.4.

1.14.x Chunk Loading

Chunk loading operates differently in 1.14 than in previous Minecraft versions. This document is intended to be an overview of the 1.14 system.

In 1.14, chunk loading starts with tickets. A ticket is:

  • a ticket type
  • a load level
  • optionally, a time-to-live
@electronicboy
electronicboy / log4j2.xml
Last active June 13, 2017 06:41 — forked from RoboMWM/log4j2.xml
Bukkit 1.6 style logging log4j2 configuration (includes thread and log level in console and file) - Note that an update to log4j has caused the append parameter to be false by default
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="WINDOWS_COMPAT" target="SYSTEM_OUT"></Console>
<TerminalConsole name="TerminalConsole">
<PatternLayout pattern="%highlightError%d{yyyy-MM-dd HH:mm:ss} [%t/%level] %minecraftFormatting{%msg}%n%xEx" />
</TerminalConsole>
<RandomAccessFile name="File" fileName="server.log" append="true">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%t/%level] %minecraftFormatting{%msg}{strip}%n" />
</RandomAccessFile>