Add Faction vaults.

These can be accessed with /f vault <number>
Set a Faction's max vaults with /f setmaxvaults <faction> <number> - can be run from console so Buycraft can execute it.
* This is a not very tested implementation. Should be tested more in depth before being pushed to a release.
This commit is contained in:
Trent Hensler
2016-05-30 16:22:45 -07:00
parent 46805200dd
commit 0294a60675
11 changed files with 192 additions and 2 deletions

View File

@@ -356,6 +356,9 @@ public class Conf {
public static Set<String> worldsIgnorePvP = new LinkedHashSet<String>();
public static Set<String> worldsNoWildernessProtection = new LinkedHashSet<String>();
// faction-<factionId>
public static String vaultPrefix = "faction-%s";
public static Backend backEnd = Backend.JSON;
public static transient int mapHeight = 8;