Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void load(){
- FileConfiguration config = Main.getInst().getConfig();
- port = config.getInt("mysql.port");
- user = config.getString("mysql.user");
- pass = config.getString("mysql.pass");
- host = config.getString("mysql.host");
- database = config.getString("mysql.database");
- addPercent = config.getDouble("pvp.addPercent");
- lostPrecent = config.getDouble("pvp.lostRank");
- startRank = config.getInt("pvp.startRank");
- }
Add Comment
Please, Sign In to add comment