This commit is contained in:
Jesse Boyd 2016-04-19 15:32:31 +10:00
parent 02d17b363d
commit 1c04b1a0e0
2 changed files with 11 additions and 2 deletions

View File

@ -75,4 +75,13 @@ public class BukkitEconHandler extends EconHandler {
public double getBalance(PlotPlayer player) {
return this.econ.getBalance(player.getName());
}
public void setPermission(String world, String player, String perm, boolean value) {
if (value) {
this.perms.playerAdd(world, player, perm);
} else {
this.perms.playerRemove(world, player, perm);
}
}
}

View File

@ -167,11 +167,11 @@ public class Settings {
/**
* SQLite enabled?
*/
public static boolean USE_SQLITE = false;
public static boolean USE_SQLITE = true;
/**
* MySQL Enabled?
*/
public static boolean USE_MYSQL = true; /* NOTE: Fixed connector */
public static boolean USE_MYSQL = false; /* NOTE: Fixed connector */
/**
* SQLite Database name
*/