Skip to content

Instantly share code, notes, and snippets.

View gravitylow's full-sized avatar

Adam Fendley gravitylow

View GitHub Profile
@gravitylow
gravitylow / gist:8508753
Created January 19, 2014 18:18
AntiCheat 2.0 Changelog
API
- Added Groups instead of levels
Logging
- API logs more info to files
- File and console toggles available via command
- More details when kicking
- More debug information
- Notice permission
Fixes
- Respect potions
@gravitylow
gravitylow / enterprise.yml
Last active December 23, 2015 14:08
AntiCheat Enterprise Configuration File
# AntiCheat configuration file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
# Server-specific settings
server:
# An identifiable name for this server
name: 'server-1'
# Database settings
database:
@gravitylow
gravitylow / things-not-to-do-in-irc
Last active December 18, 2015 22:49
Things not to do in IRC
1) Not use complete sentences.
2) Use the enter button as a period.
3) Use txt spch.
4) Use away messages (especially auto-away).
5) Ping people who don't need your attention.
6) Make 'your mom' jokes.
@gravitylow
gravitylow / BlockLocation
Created May 1, 2013 01:23
BlockLocation barebones
public class BlockLocation {
private double x;
private double y;
private double z;
public BlockLocation(Block block) {
x = block.getLocation().getX();
y = block.getLocation().getY();
z = block.getLocation().getZ();
import net.minecraft.server.v1_4_R1.CrashReport;
import net.minecraft.server.v1_4_R1.MinecraftServer;
import org.apache.commons.lang.exception.ExceptionUtils;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_4_R1.CraftServer;
import org.bukkit.plugin.Plugin;
import org.bukkit.plugin.PluginLogger;
import org.bukkit.plugin.java.JavaPlugin;
import org.json.simple.JSONObject;
import org.json.simple.JSONValue;
@gravitylow
gravitylow / lang.yml
Created March 1, 2013 22:26
AntiCheat: English Lang.yml
# AntiCheat language file
# Please report any bugs: http://dev.bukkit.org/server-mods/anticheat/
alert:
- '&player has just entered the &level hack level.'
- '&player''s last failed check was: &check.'
- 'Type ''/anticheat report &player'' for more information.'
warning:
player_warning:
- '[AntiCheat] Hacking is not permitted.'
- '[AntiCheat] If you continue to hack, action will be taken.'