Skip to content

Instantly share code, notes, and snippets.

View LaxWasHere's full-sized avatar
🍉
Watermelon

Lax LaxWasHere

🍉
Watermelon
View GitHub Profile
@LaxWasHere
LaxWasHere / BukkitSerialization.java
Created February 9, 2018 16:02 — forked from graywolf336/BukkitSerialization.java
Serialize and deserialize the player's inventory, including armor and content.
/**
* Converts the player inventory to a String array of Base64 strings. First string is the content and second string is the armor.
*
* @param playerInventory to turn into an array of strings.
* @return Array of strings: [ main content, armor content ]
* @throws IllegalStateException
*/
public static String[] playerInventoryToBase64(PlayerInventory playerInventory) throws IllegalStateException {
//get the main content part, this doesn't return the armor
String content = toBase64(playerInventory);
package net.poweredbyhate.bukkithighsierra;
import org.bukkit.Bukkit;
import org.bukkit.ChatColor;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.player.AsyncPlayerChatEvent;
import org.bukkit.metadata.FixedMetadataValue;
import org.bukkit.plugin.java.JavaPlugin;
import requests
from bs4 import BeautifulSoup
import re
testurl = "https://play.eslgaming.com/team/members/{}/".format(input("Please enter a team Id: ")) #11430231
def main():
print("Members")
try:
req = requests.get(testurl, headers={'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.115 Safari/537.36'})
import random
rekts = ["☐ Not rekt","☑ Rekt","☑ Really Rekt","☑ Tyrannosaurus Rekt","☑ Cash4Rekt.com","☑ Grapes of Rekt","☑ Ship Rekt","☑ Rekt markes the spot","☑ Caught rekt handed","☑ The Rekt Side Story","☑ Singin' In The Rekt","☑ Painting The Roses Rekt","☑ Rekt Van Winkle","☑ Parks and Rekt","☑ Lord of the Rekts: The Reking of the King","☑ Star Trekt","☑ The Rekt Prince of Bel-Air","☑ A Game of Rekt","☑ Rektflix","☑ Rekt it like it's hot","☑ RektBox 360","☑ The Rekt-men","☑ School Of Rekt","☑ I am Fire, I am Rekt","☑ Rekt and Roll","☑ Professor Rekt","☑ Catcher in the Rekt","☑ Rekt-22","☑ Harry Potter: The Half-Rekt Prince","☑ Great Rektspectations","☑ Paper Scissors Rekt","☑ RektCraft","☑ Grand Rekt Auto V","☑ Call of Rekt: Modern Reking 2","☑ Legend Of Zelda: Ocarina of Rekt","☑ Rekt It Ralph","☑ Left 4 Rekt","☑ www.rekkit.com","☑ Pokemon: Fire Rekt","☑ The Shawshank Rektemption","☑ The Rektfather","☑ The Rekt Knight","☑ Fiddler on the Rekt","☑ The Rekt Files","☑ The Good, the Bad, and The Rekt","☑ Fo
https://www.youtube.com/watch?v=UqyT8IEBkvY
https://www.youtube.com/watch?v=Ys304bfdo2g
https://www.youtube.com/watch?v=34Na4j8AVgA
https://www.youtube.com/watch?v=txOtZfq04-4
https://www.youtube.com/watch?v=PT2_F-1esPk
https://www.youtube.com/watch?v=SXiSVQZLje8
https://www.youtube.com/watch?v=11beyuGf3As
https://www.youtube.com/watch?v=MGaEf0CZfbQ
https://www.youtube.com/watch?v=ggr3UGgwSE4
https://www.youtube.com/watch?v=oB94lvJbETE
#!/bin/sh
wget https://hub.spigotmc.org/jenkins/job/BuildTools/lastSuccessfulBuild/artifact/target/BuildTools.jar && java -jar BuildTools.jar
@LaxWasHere
LaxWasHere / fix.java
Created September 23, 2015 05:18
Bukkit /reload fix
@EventHandler
public void onPreCom(PlayerCommandPreprocessEvent ev) {
if (ev.getMessage().equalsIgnoreCase("/reload")) {
Bukkit.getConsoleSender().sendMessage(ChatColor.MAGIC + "Stupid command detected! Shutting down");
Bukkit.shutdown();
}
}
package net.awesomepowered.kitpvp.Utilities;
import net.awesomepowered.kitpvp.KitPvP;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.event.EventHandler;
import org.bukkit.event.Listener;
import org.bukkit.event.entity.PlayerDeathEvent;
/**
@LaxWasHere
LaxWasHere / Tutorial.md
Last active August 29, 2015 14:22 — forked from vemacs/Tutorial.md
Instructions for setting up a Spigot server using mark2 on Windows.

Prerequisites

  • A flash drive or a Compact Disc
  • a vswap OpenVZ VPS or a KVM/Xen/VMware VPS with Ubuntu Server 14.04 LTS installed (architecture doesn't matter), or a dedicated server
  • patience and a willingness to learn
  • approximately 30 minutes of time

First off, install a better OS.

Follow the guide on this site then come back and follow the steps on this page

### Keybase proof
I hereby claim:
* I am LaxWasHere on github.
* I am laxwashere (https://keybase.io/laxwashere) on keybase.
* I have a public key whose fingerprint is 6F70 234E 498B 60EB 73C6 2D99 CDEC 64B1 2D09 4E96
To claim this, I am signing this object: