Skip to content

Instantly share code, notes, and snippets.

@konsolas
konsolas / config.yml
Last active July 2, 2021 14:35
AAC5 configuration file
## AAC Configuration File (Generated by AAC ~VERSION)
#
# How AAC works:
# AAC's detection pipeline has three main stages: checks, database, and analysis
# - Checks analyse player behaviour and record any interesting data available.
# Some checks are additionally able to block cheats from being used. This is called mitigation.
# - The database stores a record of aggregate information generated by all enabled checks for every player.
# Old entries are automatically cleared when the server restarts.
# - AAC periodically analyses each player's database entries, generating an overall risk score and a report.
# If the generated risk score is greater than a configured threshold (see `yellow_score`, `red_score`), an alert
@literalplus
literalplus / CommandHelpBuilder.java
Last active December 28, 2015 00:13
Dirty help builder for OvercastNetwork/sk89q-command-framework using mkremins/fanciful
package me.sebi7224.minoduel;
import com.sk89q.minecraft.util.commands.CommandsManager;
import com.sk89q.minecraft.util.commands.NestedCommand;
import mkremins.fanciful.FancyMessage;
import org.apache.commons.lang.StringUtils;
import org.bukkit.ChatColor;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;