Skip to content

Instantly share code, notes, and snippets.

View jwne's full-sized avatar
💭
I may be slow to respond.

jwne

💭
I may be slow to respond.
  • RIU
View GitHub Profile
package com.griffinpvp.hardcore.commands;
import com.griffinpvp.basic.util.Yaml;
import com.griffinpvp.hardcore.Hardcore;
import com.griffinpvp.hardcore.events.PlayerWarpEvent;
import com.griffinpvp.hardcore.util.LocationUtil;
import lib.fanciful.FancyMessage;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.Location;
@jwne
jwne / Ropes.java
Last active August 29, 2015 14:06 — forked from Goblom/Ropes.java
import net.minecraft.server.v1_7_R1.EntityBat;
import net.minecraft.server.v1_7_R1.EntityWitherSkull;
import net.minecraft.server.v1_7_R1.PacketPlayOutAttachEntity;
import net.minecraft.server.v1_7_R1.PacketPlayOutEntityDestroy;
import net.minecraft.server.v1_7_R1.PacketPlayOutSpawnEntity;
import net.minecraft.server.v1_7_R1.PacketPlayOutSpawnEntityLiving;
import net.minecraft.server.v1_7_R1.WorldServer;
import org.bukkit.Bukkit;
import org.bukkit.Location;
import org.bukkit.craftbukkit.v1_7_R1.CraftWorld;
package <you.package.path>;
import net.minecraft.server.v1_7_R1.ChatSerializer;
import net.minecraft.server.v1_7_R1.PacketPlayOutChat;
import org.bukkit.Bukkit;
import org.bukkit.craftbukkit.v1_7_R1.entity.CraftPlayer;
import org.bukkit.entity.Player;
//made by Gamecube762
//Simple way to send Json Chat messages to players
/*
* Copyright 2014 Goblom.
*/
import java.sql.SQLException;
/**
*
* @author Goblom
*/
@jwne
jwne / Crasher.java
Last active August 29, 2015 14:09 — forked from Xyene/Crasher.java
import java.util.ArrayList;
import org.bukkit.command.Command;
import org.bukkit.command.CommandSender;
import org.bukkit.entity.Player;
import org.bukkit.plugin.java.JavaPlugin;
public class Crasher extends JavaPlugin {
@Override
import java.awt.Image;
import java.awt.image.BufferedImage;
import java.io.File;
import java.io.IOException;
import java.net.MalformedURLException;
import java.net.URL;
import javax.imageio.ImageIO;
import org.bukkit.entity.Player;
/**
* The MIT License
* Copyright (c) 2015 Techcable
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
@jwne
jwne / Properties.java
Created January 6, 2016 15:21 — forked from SilverCory/Properties.java
Simple class for changing Minecraft server properties easily.
import org.bukkit.Bukkit;
import java.lang.reflect.InvocationTargetException;
public class Properties {
public static void savePropertiesFile() throws Exception {
Object propertyManager = getPropertyManager( getMinecraftServer() );
propertyManager.getClass().getDeclaredMethod( "savePropertiesFile" ).invoke( propertyManager );
}
package co.ryred.rybot;
import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.TimeUnit;
/**
* Created by rissa on 01/07/2015.
package co.ryred.util;
import lombok.Getter;
import lombok.Setter;
import java.util.logging.Level;
import java.util.logging.Logger;
/**
* Created by Admin on 20/05/2015.