Fixed Point Alias, and Fixed Faction Object Being Registered in TL calling the JsonFaction
This commit is contained in:
parent
61f13c92d1
commit
e7bfac7bfd
@ -158,19 +158,16 @@ public class Conf {
|
|||||||
public static boolean territoryEnemyPainBuild = false;
|
public static boolean territoryEnemyPainBuild = false;
|
||||||
public static boolean territoryEnemyPainBuildWhenOffline = false;
|
public static boolean territoryEnemyPainBuildWhenOffline = false;
|
||||||
public static boolean territoryEnemyDenyUseage = true;
|
public static boolean territoryEnemyDenyUseage = true;
|
||||||
public static boolean territoryEnemyProtectMaterials = true;
|
|
||||||
public static boolean territoryAllyDenyBuild = true;
|
public static boolean territoryAllyDenyBuild = true;
|
||||||
public static boolean territoryAllyDenyBuildWhenOffline = true;
|
public static boolean territoryAllyDenyBuildWhenOffline = true;
|
||||||
public static boolean territoryAllyPainBuild = false;
|
public static boolean territoryAllyPainBuild = false;
|
||||||
public static boolean territoryAllyPainBuildWhenOffline = false;
|
public static boolean territoryAllyPainBuildWhenOffline = false;
|
||||||
public static boolean territoryAllyDenyUseage = true;
|
public static boolean territoryAllyDenyUseage = true;
|
||||||
public static boolean territoryAllyProtectMaterials = true;
|
|
||||||
public static boolean territoryTruceDenyBuild = true;
|
public static boolean territoryTruceDenyBuild = true;
|
||||||
public static boolean territoryTruceDenyBuildWhenOffline = true;
|
public static boolean territoryTruceDenyBuildWhenOffline = true;
|
||||||
public static boolean territoryTrucePainBuild = false;
|
public static boolean territoryTrucePainBuild = false;
|
||||||
public static boolean territoryTrucePainBuildWhenOffline = false;
|
public static boolean territoryTrucePainBuildWhenOffline = false;
|
||||||
public static boolean territoryTruceDenyUseage = true;
|
public static boolean territoryTruceDenyUseage = true;
|
||||||
public static boolean territoryTruceProtectMaterials = true;
|
|
||||||
public static boolean territoryBlockCreepers = false;
|
public static boolean territoryBlockCreepers = false;
|
||||||
public static boolean territoryBlockCreepersWhenOffline = false;
|
public static boolean territoryBlockCreepersWhenOffline = false;
|
||||||
public static boolean territoryBlockFireballs = false;
|
public static boolean territoryBlockFireballs = false;
|
||||||
@ -206,8 +203,6 @@ public class Conf {
|
|||||||
public static boolean ownedAreaModeratorsBypass = true;
|
public static boolean ownedAreaModeratorsBypass = true;
|
||||||
public static boolean ownedAreaDenyBuild = true;
|
public static boolean ownedAreaDenyBuild = true;
|
||||||
public static boolean ownedAreaPainBuild = false;
|
public static boolean ownedAreaPainBuild = false;
|
||||||
public static boolean ownedAreaProtectMaterials = true;
|
|
||||||
public static boolean ownedAreaDenyUseage = true;
|
|
||||||
public static boolean ownedMessageOnBorder = true;
|
public static boolean ownedMessageOnBorder = true;
|
||||||
public static boolean ownedMessageInsideTerritory = true;
|
public static boolean ownedMessageInsideTerritory = true;
|
||||||
public static boolean ownedMessageByChunk = false;
|
public static boolean ownedMessageByChunk = false;
|
||||||
@ -332,7 +327,6 @@ public class Conf {
|
|||||||
public static Set<String> worldsNoWildernessProtection = new LinkedHashSet<>();
|
public static Set<String> worldsNoWildernessProtection = new LinkedHashSet<>();
|
||||||
|
|
||||||
// faction-<factionId>
|
// faction-<factionId>
|
||||||
public static String vaultPrefix = "faction-%s";
|
|
||||||
public static int defaultMaxVaults = 0;
|
public static int defaultMaxVaults = 0;
|
||||||
public static boolean useCustomDefaultPermissions = true;
|
public static boolean useCustomDefaultPermissions = true;
|
||||||
public static boolean usePermissionHints = false;
|
public static boolean usePermissionHints = false;
|
||||||
|
@ -12,7 +12,6 @@ public class CmdPoints extends FCommand {
|
|||||||
public CmdPoints(){
|
public CmdPoints(){
|
||||||
super();
|
super();
|
||||||
this.aliases.add("points");
|
this.aliases.add("points");
|
||||||
this.aliases.add("point");
|
|
||||||
|
|
||||||
this.disableOnLock = false;
|
this.disableOnLock = false;
|
||||||
this.disableOnSpam = false;
|
this.disableOnSpam = false;
|
||||||
|
@ -44,7 +44,7 @@ public class CmdPointsAdd extends FCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
faction.setPoints(faction.getPoints() + argAsInt(1));
|
faction.setPoints(faction.getPoints() + argAsInt(1));
|
||||||
fme.msg(TL.COMMAND_POINTS_SUCCESSFUL, argAsInt(1), faction, faction.getPoints());
|
fme.msg(TL.COMMAND_POINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ public class CmdPointsRemove extends FCommand {
|
|||||||
}
|
}
|
||||||
|
|
||||||
faction.setPoints(faction.getPoints() - argAsInt(1));
|
faction.setPoints(faction.getPoints() - argAsInt(1));
|
||||||
fme.msg(TL.COMMAND_REMOVEPOINTS_SUCCESSFUL, argAsInt(1), faction, faction.getPoints());
|
fme.msg(TL.COMMAND_REMOVEPOINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ public class CmdPointsSet extends FCommand{
|
|||||||
}
|
}
|
||||||
|
|
||||||
faction.setPoints(faction.getPoints() - argAsInt(1));
|
faction.setPoints(faction.getPoints() - argAsInt(1));
|
||||||
fme.msg(TL.COMMAND_SETPOINTS_SUCCESSFUL, argAsInt(1), faction, faction.getPoints());
|
fme.msg(TL.COMMAND_SETPOINTS_SUCCESSFUL, argAsInt(1), faction.getTag(), faction.getPoints());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user