2013-04-22 16:26:44 +02:00
|
|
|
package com.massivecraft.factions.entity;
|
|
|
|
|
2013-04-22 16:58:22 +02:00
|
|
|
import java.util.Map;
|
|
|
|
import java.util.Set;
|
|
|
|
|
|
|
|
import com.massivecraft.factions.Const;
|
|
|
|
import com.massivecraft.factions.FFlag;
|
|
|
|
import com.massivecraft.factions.FPerm;
|
|
|
|
import com.massivecraft.factions.Rel;
|
2013-04-22 16:26:44 +02:00
|
|
|
import com.massivecraft.mcore.store.Entity;
|
|
|
|
|
|
|
|
public class UConf extends Entity<UConf>
|
|
|
|
{
|
|
|
|
// -------------------------------------------- //
|
|
|
|
// META
|
|
|
|
// -------------------------------------------- //
|
|
|
|
|
2013-04-22 16:58:22 +02:00
|
|
|
public static UConf get(Object oid)
|
2013-04-22 16:26:44 +02:00
|
|
|
{
|
2013-04-22 16:58:22 +02:00
|
|
|
return UConfColls.get().get2(oid);
|
2013-04-22 16:26:44 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
// -------------------------------------------- //
|
2013-04-22 16:58:22 +02:00
|
|
|
// CORE
|
2013-04-22 16:26:44 +02:00
|
|
|
// -------------------------------------------- //
|
|
|
|
|
2013-04-22 16:58:22 +02:00
|
|
|
public Map<FFlag, Boolean> factionFlagDefaults = FFlag.getDefaultDefaults();
|
|
|
|
public Map<FPerm, Set<Rel>> factionPermDefaults = FPerm.getDefaultDefaults();
|
|
|
|
|
|
|
|
public String playerDefaultFactionId = Const.FACTIONID_NONE;
|
|
|
|
public Rel playerDefaultRole = Rel.RECRUIT;
|
|
|
|
|
|
|
|
public boolean canLeaveWithNegativePower = true;
|
2013-04-22 16:26:44 +02:00
|
|
|
|
2013-04-22 16:58:22 +02:00
|
|
|
public int factionTagLengthMin = 3;
|
|
|
|
public int factionTagLengthMax = 10;
|
|
|
|
public boolean factionTagForceUpperCase = false;
|
|
|
|
|
|
|
|
public boolean newFactionsDefaultOpen = false;
|
|
|
|
|
|
|
|
public int factionMemberLimit = 0;
|
2013-04-22 16:26:44 +02:00
|
|
|
|
2013-04-22 16:58:22 +02:00
|
|
|
}
|