Skip to content

Instantly share code, notes, and snippets.

View drtshock's full-sized avatar

Trent Hensler drtshock

View GitHub Profile
@drtshock
drtshock / slack.css
Last active October 31, 2018 21:43
Dark slack theme
@import url("https://fonts.googleapis.com/css?family=Bad+Script|Rajdhani");
:root {
/* Modify these to change your theme colors: */
--primary: #E5C17C;
--accent: #568AF2;
--text: #ABB2BF;
--background: #282C34;
--background-elevated: #3B4048;
/* These should be less important: */
--background-hover: #525964;
package com.drtshock.testplugin;
import org.bukkit.Location;
import org.bukkit.Material;
import org.bukkit.block.Block;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.PlayerMoveEvent;
import org.bukkit.inventory.ItemStack;
@drtshock
drtshock / latest.log
Created September 8, 2015 17:26
1.7.10 /f invite working
[12:24:46] [Server thread/INFO]: Starting minecraft server version 1.7.10
[12:24:46] [Server thread/INFO]: Loading properties
[12:24:46] [Server thread/INFO]: Default game type: SURVIVAL
[12:24:46] [Server thread/INFO]: This server is running CraftBukkit version git-PaperSpigot-1cb8e86 (MC: 1.7.10) (Implementing API version 1.7.10-R0.1-SNAPSHOT)
[12:24:46] [Server thread/INFO]: Debug logging is disabled
[12:24:46] [Server thread/INFO]: Server Ping Player Sample Count: 12
[12:24:46] [Server thread/INFO]: Using 4 threads for Netty based IO
[12:24:46] [Server thread/INFO]: Generating keypair
[12:24:46] [Server thread/INFO]: Starting Minecraft server on *:25565
[12:24:46] [Server thread/INFO]: Set PluginClassLoader as parallel capable
AAAAB3NzaC1kc3MAAAEBAMfzLfJXdVNKmY3TFpJl+u3Io8fVyx5jXVOQnEpePRj2CGeTrkk6noO7G3MCG6WMXupPysp/+ZYUfhQ1YkwkBdKQjk8TtwGJzl0c72GbnKKyKtWQeSGfWFX76RtO9Cvd7MZcWpVQzIKFVXYSdW4RFjIfwaAVzDItNQSB8n6qZkjk2vhhSPCXc59VgkJjasvIx4zcw3DK5COV8gfsN0YEeeGWsQhIg7IP7woB2XYqLgsGv5YsJ1j2PM9hmznfDvSbcUx8d0zFkSKdzRO3nijrMFvrq44mW4hAbgB4ZrtJJerohn0qDr7yj6o0JGnTzpHC6ZUdO0dAHrFof1M9j+5ljHcAAAAVANP2z/xF/I34kNJuKRDuyCchzYHjAAABAG592u50GlkPrACHVP0/pMN9Z1IaBnuXwJvi1w1KuuwkMhgdiwOIFd6QLW3BY1WpWeMU5RIMwdF4D45MApC7DgQrqrmPSXT0X0vo3U+6SOxIkjQjQ9BicuDLQuhjuuZvxECLC0LYRukZSGx4Sg3xMz8NWS7133QgerbawGwEL9adfHJUQ9hbzSR/j2u6OBlmNB6i8fDk9I6UXPyQx40L3EkEjlP95iauIgnyc7yAO/YTr3HO3XhrY3IuZXejeGUZjAdT1IiQAjNdbY0LDJCsmPqvZ/H9kgdmQQ2qjWNW57f+AkOBkU+C4Lj1g//0kWYdwjHMXJbH9lp0ddgp/dH+0jUAAAEAN9gHD7Fs3V+TBDeVJu2Ae9jv1Cnf5ccE5ZCDPL0ZP2/dyuiQRscgdv+S7AtycwIHykK0bjzkXJRiVKUwOecAt5fxuUeCkWBxFXa2UN9ex+deNdQS8uss4Y/ni073Y2lVq317mbjFRhtU0pcYX14G2nOMIw1rY4RQlOr0e3DKTd2lMYj5fTgvxaQzm89VduxlqZ31i8OVgwY9tWW6ainmnhRFsaWBzgPovp1vuGThPFH4aGJn9VH0iljjvUu77eUPReApqONW5n0lZ/656hBe
@drtshock
drtshock / gist:b25be37d0d5c8d8d2ca4
Created April 5, 2015 21:02
Invasion Tournament Final
mysql> select * from invasion_points order by points desc;
+-----+--------------------------------------+--------+
| id | uuid | points |
+-----+--------------------------------------+--------+
| 8 | 938de3a9-f6b5-4092-a2c1-e53f3f9b9d66 | 958 |
| 2 | 725c6481-8ee4-43ed-81e3-dd059341affb | 921 |
| 76 | c5f838c8-6f05-4ada-8496-1d2e3a374867 | 622 |
| 12 | 1076f4fc-649d-4555-8ca4-8c9bd3992cf2 | 573 |
| 11 | 5b5ba249-7929-46f5-be04-5248ff372866 | 523 |
| 33 | 3f205091-78f5-4570-9ff6-25c004f4fb38 | 464 |
@drtshock
drtshock / gist:8b3bd6723a655e9833a3
Created September 8, 2014 19:08
BukkitDev is Cursed

Curse,

I am just wondering the thought process behind replacing volunteers with years of experience of doing something with paid workers that have no clue what they're doing. You wouldn't have wanted to compensate us in any way with how much money you guys make on the platform. I also think it would've been wiser not to ask the volunteers you're replacing to train in the paid workers. That's just mean. On top of that, the paid workers won't do anything until the tools are fixed. We had been requesting changes to those tools for years yet nothing came of it.

Thanks!

@Override
public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
if(!(sender instanceof Player)) {
sender.sendMessage("Player only ;s");
return true;
}
Player player = (Player) sender;
if(args.length != 1) return false;
[01:09:45] <mengping> Hello. I am in need of help with the Plugin: ObsidianDestroyer. Are there any helpers, who could help me with this plugin? I can't successfully edit the configure file to make Creepers blow up Obisidian with a certain number of explosions unfortunately.
[01:10:02] <@drtshock> mengping: you need to edit the materials.yml
[01:10:08] <@drtshock> .paste your materials.yml please.
[01:10:09] <Lain> .paste: Please paste here and link to it http://hastebin.com
[01:11:23] <mengping> Okay. I am on a Chromebook now. So.... I can't paste the current files at the moment. I will eventually work it out. Thanks for the help "drthock". It was greatly appreciated! :)
[01:11:36] <@drtshock> drtshock* ;)
[01:11:38] <+LaxWasHere> mengping, just vim the file and copy it from there.
[01:11:47] <+LaxWasHere> You can do that from a chromebook.
[01:12:13] <+LaxWasHere> Or you can remote into your computer. You can do that too.
[01:13:05] <mengping> I will hopefully work this problem/situation
@drtshock
drtshock / lang.yml
Created July 11, 2014 22:06
Playervaults Dutch
# Use & for color codes.
# %p is where the player name will get inserted.
# %v is where the vault number will get inserted.
# %price is the price.
# %number is the vault number
# Made with love :)
title-name: "&4[&fPlayerVaults&4]:"
open-vault: "&fVault &a%v openen"
open-other-vault: "&fVault &a%v &van &a%p openen"
delete-vault: "&fVault &a%v verwijderd"
@drtshock
drtshock / gist:a1e36c741a78b1f5eebd
Last active August 29, 2015 14:03
Detailed Bug Report
When sending a bug report, please make sure to include all of this information. If you do not, your report will be ignored as it is not fun to try to guess at why things are wrong based off of incomplete or false reports.
Username
Short Description of Bug
Applicable Server(s)
When This Happened