Skip to content

Instantly share code, notes, and snippets.

air
stone
grass
dirt
cobblestone
wood
sapling
bedrock
water
stationarywater
interact.milkcow - total cows and mushroom cows milked with a bucket
interact.milkmushroomcow - empty bowl on a cow = mushroom soup
dye.total - total sheep dyed
sheared.sheep - total sheep sheared
sheared.mushroomcow - total mooshrooms sheared
New items in 1.2
Blocks:
redstonelampon
@tehbeard
tehbeard / server.log
Created April 14, 2012 21:58
RCON error
2012-04-14 22:56:05 [INFO] Starting remote control listener
2012-04-14 22:56:05 [INFO] RCON running on 0.0.0.0:25575
2012-04-14 22:56:09 [INFO] Rcon connection from: /127.0.0.1
2012-04-14 22:56:15 [INFO] IO: Connection reset
2012-04-14 22:56:15 [INFO] IO: Connection reset
2012-04-14 22:56:15 [INFO] IO: Connection reset
2012-04-14 22:56:15 [INFO] IO: Connection reset
2012-04-14 22:56:15 [INFO] IO: Connection reset
2012-04-14 22:56:15 [INFO] IO: Connection reset
2012-04-14 22:56:15 [INFO] IO: Connection reset
@tehbeard
tehbeard / test.vocalise.yml
Created April 22, 2012 10:37
Vocalise File format
#Vocalise File Format, Version 1.0
id: "start" # Id addressable nodes
type: "bool" # Branching options!
text: "Do you wish to continue?"
t: # inline nodes
type: "msg"
text: "ok, carry on"
next:
type: "menu"
options:
BlockState bs = signBlock.getState(); // get state of block
Sign s = (Sign)bs; // we know it's a sign already, cast the state to a signs State (org.bukkit.block.Sign)
s.setLine(0,"Hello World");//set first line
byte b = s.getRawData(); //get the byte of data this block holds (sign direction);
b += 1; // increment it (rotate sign slightly)
b = b & 0xf; //Keep lower 4 bits only (0-16)
@tehbeard
tehbeard / chat
Created April 30, 2012 21:25
config
Expected:
type /voice
Message appears here
What happens:
type /voice
Message appears here, space between dependant on number of "hidden" prompts it passed through.
F378 E9E5 EAD4 EBC5 EBF6 95B5 9AE4 9F43 EE82 F324 EC5E F24A EE2A EE55 F0D1 EF4F
FF2E FE5E FEB4 FF67 FC56 0100 02B9 FD16 0100 FBB3 FACD FC7D 0216 FF7D 022E FDD2
FBD5 00AB 014F F8D8 FDE7 F21F F75E FB4B FA65 FCB1 00BB 0338 F430 FD61 FF71 FE0B
F1A0 EED6 EFC2 F5F3 EAC0 A036 F684 F6DE F4A8 A8F6 EBCE EA66 F527 F304 F18C EEC4
F549 F3F7 F97B F941 F77B C126 BEC6 F5F1 F217 C279 F20A F3B9 F294 F218 F0C6 FA28
E893 F295 EB05 F874 F89D A2CB 9FF8 F083 9EAB F1F0 A107 F6B7 F5E0 EF8B F35E EDC4
102C 07E5 02D5 FE36 0FA7 3625 02A8 3296 3AA5 36ED 3D21 02E3 066E 0E50 0CE6 07B9
FACD FDF8 FF14 FFA2 F8D8 E978 EFF6 FCE0 F8F7 FE61 F2E5 EC56 F85B FD87 F951 F87F
0855 0A92 0714 105F 0CDF 45A4 4129 38DE 0D02 0815 0E27 43A4 0E4A 085F 0F1A 0120
F687 FB2F F782 FB02 F906 D9A4 F561 FE20 DD41 FDEE FBAC E3FA F602 F43C F9A6 FCD2
for(PlayerStatBlob pb : writeCache.values()){
try {
prepSetPlayerStat.clearBatch();
for(PlayerStat ps : pb.getStats()){ //ConcurrentModificationException here
prepSetPlayerStat.setString(1, pb.getName());
prepSetPlayerStat.setString(2, ps.getCat());
prepSetPlayerStat.setString(3, ps.getName());
prepSetPlayerStat.setInt(4, ps.getValue());
2012-07-04 01:26:10 [INFO] Starting minecraft server version 1.2.5
2012-07-04 01:26:10 [INFO] Loading properties
2012-07-04 01:26:10 [INFO] Starting Minecraft server on *:25565
2012-07-04 01:26:10 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R4.0-b2222jnks (MC: 1.2.5) (Implementing API version 1.2.5-R4.0)
2012-07-04 01:26:10 [INFO] [Citizens] Loading Citizens v2.0
2012-07-04 01:26:10 [INFO] [Vault] Loading Vault v1.2.16-b184
2012-07-04 01:26:10 [INFO] [Towny] Loading Towny v0.80.1.0
2012-07-04 01:26:10 [INFO] [iConomy] Loading iConomy v7.0
2012-07-04 01:26:10 [INFO] [EscapePlug] Loading EscapePlug v0.3.0
2012-07-04 01:26:10 [INFO] [Vault] Enabling Vault v1.2.16-b184
@tehbeard
tehbeard / gist:3227109
Created August 1, 2012 14:04
documentation of trait storage for CitiTrader
wallet: //More info when it becomes it's own plugin, just copy paste for now
type: PRIVATE
amount: '0.0'
account: ''
//meat of chest based traders
stockroom:
enableRightClick: true //enable right click to purchase items (T/F)
enableLeftClick: false //enable left click to sell items (T/F)