This file contains hidden or 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
public static String inventoryToBase64(Inventory playerInventory) throws IllegalStateException { | |
//get the main content part, this doesn't return the armor | |
String content = toBase64(playerInventory); | |
return content; | |
} | |
public static String toBase64(Inventory inventory) throws IllegalStateException { | |
try { |
This file contains hidden or 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
public class ServersDaoImpl implements ServersDao { | |
@Inject | |
private Database db; | |
@Inject | |
private Logger logger; | |
@Override | |
public String[] getServers() { |
This file contains hidden or 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
public ConfigurationNode getConfig() | |
{ | |
try { | |
YAMLConfigurationLoader.Builder builder = YAMLConfigurationLoader.builder(); | |
builder.setPath(configDir); | |
YAMLConfigurationLoader loader = builder.build(); | |
return loader.load(); | |
} | |
catch (IOException ioe) | |
{ |
This file contains hidden or 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
//Get config from Config in plugin | |
String type =plugin.getConfig().getString(CONFIG_DATABASE_TYPE); | |
this.host = (String) plugin.getConfig().getString(CONFIG_DATABASE_IP); | |
this.port = String.valueOf(plugin.getConfig().getString(CONFIG_DATABASE_PORT)); | |
this.username = (String) plugin.getConfig().getString(CONFIG_DATABASE_USER_NAME); | |
this.password = (String) plugin.getConfig().getString(CONFIG_DATABASE_PASSWORD); | |
String name = (String) plugin.getConfig().getString(CONFIG_DATABASE_NAME); | |
this.prefix = (String) plugin.getConfig().getString(CONFIG_DATABASE_PREFIX); | |
if (plugin.getConfig().getString(CONFIG_DATABASE_TYPE).toUpperCase().equals("MYSQL")) { | |
dbUrl = "jdbc:mysql://" + this.host + ":" + this.port + "/" + name; |
This file contains hidden or 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
public enum Count { | |
ONE(1), | |
TWO(2), | |
THREE(3), | |
FOUR(4), | |
FIVE(5); | |
private int num; |
This file contains hidden or 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
# generated by Slic3r 1.3.0-dev on | |
avoid_crossing_perimeters = 0 | |
bed_shape = 109.397x11.4981,107.596x22.8703,104.616x33.9919,100.49x44.741,95.2628x55,88.9919x64.6564,81.7459x73.6044,73.6044x81.7459,64.6564x88.9919,55x95.2628,44.741x100.49,33.9919x104.616,22.8703x107.596,11.4981x109.397,0x110,-11.4981x109.397,-22.8703x107.596,-33.9919x104.616,-44.741x100.49,-55x95.2628,-64.6564x88.9919,-73.6044x81.7459,-81.7459x73.6044,-88.9919x64.6564,-95.2628x55,-100.49x44.741,-104.616x33.9919,-107.596x22.8703,-109.397x11.4981,-110x0,-109.397x-11.4981,-107.596x-22.8703,-104.616x-33.9919,-100.49x-44.741,-95.2628x-55,-88.9919x-64.6564,-81.7459x-73.6044,-73.6044x-81.7459,-64.6564x-88.9919,-55x-95.2628,-44.741x-100.49,-33.9919x-104.616,-22.8703x-107.596,-11.4981x-109.397,0x-110,11.4981x-109.397,22.8703x-107.596,33.9919x-104.616,44.741x-100.49,55x-95.2628,64.6564x-88.9919,73.6044x-81.7459,81.7459x-73.6044,88.9919x-64.6564,95.2628x-55,100.49x-44.741,104.616x-33.9919,107.596x-22.8703,109.397x-11.4981,110x0 | |
bed_temperature = 55 | |
bef |
This file contains hidden or 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
(1.5.2) Hexxit: HEX.APOCGAMING.ORG | |
(1.5.2) Voltz: VOL.APOCGAMING.ORG | |
(1.6.4) Agrarian Skies Softcore: AS.APOCGAMING.ORG | |
(1.6.4) Agrarian Skies Hardcore: ASHC.APOCGAMING.ORG | |
(1.6.4) Attack of the B-Team: BT.APOCGAMING.ORG | |
(1.6.4) Crash Landing: CL.APOCGAMING.ORG | |
(1.6.4) Tekkit Space/Main: TM.APOCGAMING.ORG | |
(1.6.4) Test Pack Please Ignore: TPPI.APOCGAMING.ORG | |
(1.6.4) Yogscast Complete: YCC.APOCGAMING.ORG | |
(1.7.10) APOC Tech & RPG (Custom Technic Pack): TRPG.APOCGAMING.ORG |
This file contains hidden or 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
A Strange Beginning | |
Rella, crouched down behind the sofa in the main entrance of the expensive hotel as her quarry began the labourious signing in process. | |
As with all Visitors from offworld he would be registering any implants and enhancements with the hotel computer and the registration would be checked with the central computer that had scans of her quarry as he entered through customs. The system had worked for many years but there were always ways around it, Sometimes people had dual control systems so that if a weapon had been disabled by the local Cyberfield it would still work. Others just modified their implants to be inert during travel and reactivate them once they had reached their destination. Rella's quarry was not one of those, although he had the highest amount of cyber implants she had ever heard of, Full body replacement was still a few years off and the interface control technology was not perfect but he was 90% cyber.. | |
Jared Steinwold finished booking into the hotel and after the hote |
This file contains hidden or 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
package com.github.theresajayne.citizens; | |
import com.badlogic.gdx.ApplicationAdapter; | |
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.files.FileHandle; | |
import com.badlogic.gdx.graphics.*; | |
import com.badlogic.gdx.graphics.g3d.*; | |
import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute; | |
import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; | |
import com.badlogic.gdx.graphics.g3d.attributes.IntAttribute; |
This file contains hidden or 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
package com.github.theresajayne.citizens; | |
import com.badlogic.gdx.ApplicationAdapter; | |
import com.badlogic.gdx.Gdx; | |
import com.badlogic.gdx.files.FileHandle; | |
import com.badlogic.gdx.graphics.*; | |
import com.badlogic.gdx.graphics.g3d.*; | |
import com.badlogic.gdx.graphics.g3d.attributes.BlendingAttribute; | |
import com.badlogic.gdx.graphics.g3d.attributes.ColorAttribute; | |
import com.badlogic.gdx.graphics.g3d.attributes.IntAttribute; |