Skip to content

Instantly share code, notes, and snippets.

command-block-overrides:
- '*'
command-block-overrides:
- summon
- give
@EvilSeph
EvilSeph / commands.yml
Last active August 29, 2015 13:56
commands.yml Aliases Example
aliases:
# Set the /give command to the Minecraft version
give:
- minecraft:give
# Set the /time command to the /time command provided by
# the plugin ScrapBukkit
time:
- scrapbukkit:time
# Set the /version command to the Bukkit version
version:
@EvilSeph
EvilSeph / log4j2.xml
Created December 11, 2013 13:05
Minecraft 1.6 style logging log4j2 configuration
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN" packages="net.minecraft,com.mojang">
<Appenders>
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" />
</Console>
<Queue name="ServerGuiConsole">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" />
</Queue>
<RandomAccessFile name="File" fileName="server.log">
@EvilSeph
EvilSeph / log4j2.xml
Created December 11, 2013 12:57
Bukkit 1.6 style logging log4j2 configuration
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN" packages="net.minecraft,com.mojang">
<Appenders>
<Console name="WINDOWS_COMPAT" target="SYSTEM_OUT"></Console>
<Queue name="TerminalConsole">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" />
</Queue>
<RandomAccessFile name="File" fileName="server.log">
<PatternLayout pattern="%d{yyyy-MM-dd HH:mm:ss} [%level] %msg%n" />
</RandomAccessFile>
@EvilSeph
EvilSeph / log4j2.xml
Created December 11, 2013 11:55
Minecraft 1.7 default log4j2.xml
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN" packages="net.minecraft,com.mojang">
<Appenders>
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level]: %msg%n" />
</Console>
<Queue name="ServerGuiConsole">
<PatternLayout pattern="[%d{HH:mm:ss} %level]: %msg%n" />
</Queue>
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">