diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java index 145c04842..830afe93c 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/util/BukkitEconHandler.java @@ -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); + } + } + } diff --git a/Core/src/main/java/com/intellectualcrafters/plot/config/Settings.java b/Core/src/main/java/com/intellectualcrafters/plot/config/Settings.java index 87f873cce..909404670 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/config/Settings.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/config/Settings.java @@ -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 */