- Download the SQLite driver .jar from here: https://bitbucket.org/xerial/sqlite-jdbc/downloads
- Open your BungeeCord/Waterfall jar with any archiver program
- Open the SQLite driver with any archiver program
- Copy the contents (the "org"-folder) from the SQLite driver to BungeeCord
- Now just use the SQLite settings in the ChangeSkin config.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INSERT INTO premium (Name, Premium, LastIp, UUID) SELECT | |
name AS Name, | |
/* Enable premium authentication only for those who want to be auto logged in, so | |
they have their cracked protection disabled */ | |
!protection AND premium AS Premium, | |
/* Not used at the moment */ | |
'' AS LastIp, | |
/* Remove the dashes - returns null if puuid is null too */ | |
REPLACE(puuid, '-', '') AS UUID | |
FROM gt_nicknames |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT | |
COLUMN, COUNT(*) | |
FROM | |
TABLE | |
GROUP BY | |
COLUMN | |
HAVING | |
COUNT(*) > 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
java -Xdebug -XX:+UnlockDiagnosticVMOptions -Xrunjdwp:transport=dt_socket,address=1000,server=y,suspend=n -jar fileName.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import com.google.common.base.Charsets; | |
import java.util.UUID; | |
public class OfflineUUID { | |
public static void main(String[] test) throws Exception { | |
UUID.nameUUIDFromBytes(("OfflinePlayer:" + "playerName").getBytes(Charsets.UTF_8)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOOS=windows GOARCH=386 go build -o hello.exe hello.go | |
#Supported architecture: https://golang.org/doc/install/source#environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<? | |
/** | |
* Generates a offline-mode player UUID. | |
* | |
* @param $username string | |
* @return string | |
*/ | |
public static function constructOfflinePlayerUuid($username) { | |
//extracted from the java code: | |
//new GameProfile(UUID.nameUUIDFromBytes(("OfflinePlayer:" + name).getBytes(Charsets.UTF_8)), name)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
cd /home/minecraft | |
mkdir tempdl | |
cd tempdl | |
wget https://ci.destroystokyo.com/job/PaperSpigot/lastSuccessfulBuild/artifact/paperclip.jar #Download the latest version of Spigot | |
wget https://ci.aquifermc.org/job/Waterfall/lastSuccessfulBuild/artifact/Waterfall-Proxy/bootstrap/target/Waterfall.jar #Download the latest version of BungeeCord | |
#Copy the .jars to the server folders | |
cp paperclip.jar /home/minecraft/paperclip.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
from pysimplesoap.client import SoapClient | |
location = 'http://fritz.box:49000/igdupnp/control/WANCommonIFC1' | |
namespace = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1' | |
action = 'urn:schemas-upnp-org:service:WANCommonInterfaceConfig:1#' | |
debug = False # display http/soap requests and responses | |
client = SoapClient(location, action, namespace, trace=debug) |
OlderNewer