Skip to content

Instantly share code, notes, and snippets.

View daboross's full-sized avatar

Dabo daboross

View GitHub Profile
[Desktop Entry]
Encoding=UTF-8
Name=Minecraft
Name[en_US]=Minecraft
Comment=Minecraft Gaming
Exec=java -jar '/opt/minecraft/minecraft.jar'
Icon=/opt/minecraft/minecraft.png
Categories=Application;Game
Version=1.0
Type=Application
if(event.getAction()!=Action.RIGHT_CLICK_BLOCK)
return;
Block b = event.getClickedBlock();
Block water = b.getRelative(event.getBlockFace());
if(water.getType()!=Material.getMaterial(&&water.getType()!=Material.getMaterial(9))
return;
Player player = event.getPlayer();
if(player.getItemInHand().getType()!=Material.BOWL)
return;
player.sendMessage("Panning for gold...");
if(event.getAction()!=Action.RIGHT_CLICK_BLOCK)
return;
Block b = event.getClickedBlock();
Block water = b.getRelative(event.getBlockFace());
if(water.getType()!=Material.getMaterial(&&water.getType()!=Material.getMaterial(9))
return;
Player player = event.getPlayer();
if(player.getItemInHand().getType()!=Material.BOWL)
return;
player.sendMessage("Panning for gold...");
@daboross
daboross / permissions.yml
Created June 24, 2013 01:03
PermissionsEx config.yml that isn't working completely
groups:
Banned:
prefix: '&4BAN&0#&4'
inheritance:
- McMMOPartyOnly
permissions:
- bukkit.command.(tps|plugins|version|seed)
- commandhelper.useralias
- essentials.(ping|info|suicide|help|motd|rules|spawn|depth|seen)
- essentials.afk(|.auto)
@daboross
daboross / permissions.yml
Created June 23, 2013 20:20
This is my permissions file without the groups
users: {}
groups:
Banned:
inheritance:
- NoMcMMOButChat_World
permissions:
- bukkit.command.(tps|plugins|version|seed)
- commandhelper.useralias
- essentials.(ping|info|suicide|help|motd|rules|spawn|depth|seen)
- essentials.afk(|.auto)
@daboross
daboross / gist:5140574
Created March 12, 2013 05:31
Spigot with only CommandHelper startup log.
$ java -jar Spigot.jar
210 recipes
27 achievements
22:31:07 [INFO] Starting minecraft server version 1.4.7
22:31:07 [INFO] Loading properties
22:31:07 [INFO] Default game type: SURVIVAL
22:31:07 [INFO] Generating keypair
22:31:07 [INFO] Starting Minecraft server on *:25565
22:31:08 [INFO] Using Netty NIO with 3 threads for network connections.
22:31:08 [INFO] This server is running CraftBukkit version git-Spigot-617 (MC: 1.4.7) (Implementing API version 1.4.7-R1.1-SNAPSHOT)
@daboross
daboross / gist:5140561
Created March 12, 2013 05:28
Pure craftbukkit with just commandhelper latest.
$ java -jar CraftBukkit.jar
210 recipes
27 achievements
22:27:19 [INFO] Starting minecraft server version 1.4.7
22:27:19 [INFO] Loading properties
22:27:19 [INFO] Default game type: SURVIVAL
22:27:19 [INFO] Generating keypair
22:27:19 [INFO] Starting Minecraft server on *:25565
22:27:19 [INFO] This server is running CraftBukkit version git-Bukkit-1.4.7-R1.0-b2624jnks (MC: 1.4.7) (Implementing API version 1.4.7-R1.0)
22:27:19 [INFO] [CommandHelper] Loading CommandHelper v1390-2d445ca
In the original Pokémon Red/Blue, when you encounter your rival in Lavender Town, he asks whether or not you know what it's like to have one of your Pokémon die. At this point in the game, he no longer has his Raticate that he used in previous battles. Your rival battle before this took place aboard the S.S. Anne. Your rival's Raticate sustained serious injuries from the battle…but, because of crowding and confusion on the luxury liner, he was unable to make it to a Pokémon Center in time and the Raticate passed away. The real reason your rival is in Lavender Town to begin with is to lay his deceased friend to rest.
Despite all of this, your rival never outwardly tells you that you're responsible for the death of his Pokémon. He hides his grief and instead channels that energy into the motivation he needed to continue his quest to become Indigo League Champion. The death of his Raticate effectively destroys your rival's impish, childhood innocence. Although he tells himself that he doesn't hold you responsibl
@daboross
daboross / gist:5058926
Created February 28, 2013 18:26
Crash 2
2013-02-27 17:59:17 [INFO] [Essentials] Enabling Essentials v2.10.1
2013-02-27 17:59:17 [INFO] Bukkit version format changed. Version not checked.
2013-02-27 17:59:17 [INFO] git-Spigot-484 (MC: 1.4.7)
2013-02-27 17:59:17 [INFO] 1.4.7-R1.1-SNAPSHOT
2013-02-27 17:59:18 [INFO] CButD: Version can't check use check-File
2013-02-27 17:59:18 [INFO] CButD: CraftBukkit is up to Date
2013-02-27 17:59:27 [INFO] Read timed out
2013-02-27 17:59:46 [INFO] The update-Check only work every 24 hours, the last check was 6 hours ago.
2013-02-27 17:59:48 [SEVERE] The server has stopped responding!
2013-02-27 17:59:48 [SEVERE] Please report this to md_5!
@daboross
daboross / gist:5058924
Created February 28, 2013 18:26
Crash
2013-02-27 17:55:41 [SEVERE] The server has stopped responding!
2013-02-27 17:55:42 [SEVERE] Please report this to md_5!
2013-02-27 17:55:42 [SEVERE] Spigot version: 1.4.7-R1.1-SNAPSHOT
2013-02-27 17:55:42 [SEVERE] Begin Exception Trace For All Threads:
2013-02-27 17:55:45 [SEVERE] ------------------------------
2013-02-27 17:55:45 [SEVERE] Current Thread: Thread-16
2013-02-27 17:55:45 [SEVERE] PID: 43 | Alive: true | State: TIMED_WAITING
2013-02-27 17:55:45 [SEVERE] Stack:
2013-02-27 17:55:45 [SEVERE] java.lang.Thread.sleep(Native Method)
2013-02-27 17:55:45 [SEVERE] net.coreprotect.thread.CacheCleanUp.run(CacheCleanUp.java:14)