Skip to content

Instantly share code, notes, and snippets.

Avatar

Matthias Söhnholz hydrox

  • Göttingen, Germany
View GitHub Profile
View crash-2014-11-29_01.12.27-server.txt
---- Minecraft Crash Report ----
// Ouch. That hurt :(
Time: 11/29/14 1:12 AM
Description: Ticking memory connection
java.lang.NullPointerException: Ticking memory connection
at net.minecraft.network.NetHandlerPlayServer.func_147346_a(NetHandlerPlayServer.java:620)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:60)
at net.minecraft.network.play.client.C08PacketPlayerBlockPlacement.func_148833_a(SourceFile:9)
View gist:2020851
Progress: 1.044776% (7 out of 671 regions) (r.-3.-1.mcr)
tagID 67 doesn't exist
FAILED to parse Tag with Name DERPED and Tag-ID 67
FAILED to parse Compound-Entry
FAILED to parse Entry of List (expected Tag-Id 10)
FAILED to parse Tag with Name Items and Tag-ID 9
FAILED to parse Compound-Entry
FAILED to parse Entry of List (expected Tag-Id 10)
FAILED to parse Tag with Name TileEntities and Tag-ID 9
FAILED to parse Compound-Entry
View gist:1653967
mysql> explain select count(*) from hawkeye where player_id in (46) and (x between 3170 and 3730) and (y between 58 and 78) and (z between 2995 and 3015);
+----+-------------+---------+-------+-------------------------------------------------+--------------+---------+------+------+--------------------------+
| id | select_type | table | type | possible_keys | key | key_len | ref | rows | Extra |
+----+-------------+---------+-------+-------------------------------------------------+--------------+---------+------+------+--------------------------+
| 1 | SIMPLE | hawkeye | range | player_action_world,x_y_z,player,player_x_y_z,x | player_x_y_z | 28 | NULL | 1 | Using where; Using index |
+----+-------------+---------+-------+-------------------------------------------------+--------------+---------+------+------+--------------------------+
1 row in set (0.00 sec)
mysql> drop index player_x_y_z on hawkeye;
@hydrox
hydrox / AnnoyingPluginBlockListener.java
Created Jan 18, 2012
Block Listener class - 242 else ifs.
View AnnoyingPluginBlockListener.java
package com.github.davejavu;
import org.bukkit.ChatColor;
import org.bukkit.Location;
import org.bukkit.World;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.block.BlockBreakEvent;
View dump
Thread dump 1/1 "Server thread" prio=10 tid=0x00007fcb101a4000 nid=0x929 runnable [0x00007fcb168d3000]
     java.lang.Thread.State: RUNNABLE
     at java.net.SocketInputStream.socketRead0(Native Method)
     at java.net.SocketInputStream.read(SocketInputStream.java:150)
     at java.net.SocketInputStream.read(SocketInputStream.java:121)
     at com.mysql.jdbc.util.ReadAheadInputStream.fill(ReadAheadInputStream.java:114)
     at com.mysql.jdbc.util.ReadAheadInputStream.readFromUnderlyingStreamIfNecessary(ReadAheadInputStream.java:161)
     at com.mysql.jdbc.util.ReadAheadInputStream.read(ReadAheadInputStream.java:189)
     - locked <0x00000004fcb08f88> (a com.mysql.jdbc.util.ReadAheadInputStream)
     at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2526)
View gist:1572973
blockalert:
enabled: true
worlds:
break:
survival:
- 1
- 2
place:
survival:
- 3
View tracks.yml
tracks:
royalty:
veteran: royaltyv
builder: royalty
nobility:
veteran: nobilityv
builder: nobility
artisan:
veteran: artisanv
builder: artisan
View groups.yml
groups:
default:
globalpermissions:
- /ach
- /stats
- achievements.check
- achievements.view.own
- commandbook.motd
- commandbook.time.check
- commandbook.who
View groupcommands
/changegroup addperm group permission [world]
/changegroup remperm group permission [world]
/changegroup addsub group subgroup
/changegroup remsub group subgroup
/changegroup new group
View config.yml
DataProvider: FlatFile
DefaultWorld: world
Mirrors:
hub:
world:
- nether