[SEC/FUN] Factions 2.0.0 - Guilds, War and user-controlled antigrief [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by MassiveCraft, May 29, 2011.

  1. Offline

    cowzgowoof

    Hi guys I've installed Factions onto my server but I don't want to use it's full protection.

    I've played around with the conf.json fil but it's not working out for me :/ Can someone help me?

    Here's what I'm trying to do:
    -Disable chest, wooden door, trap door, gates inside an enemy's territory while at least one member of said enemy faction is online.
    -Disable TNT protection inside an enemy's territory while at least one member of said enemy faction is online.
    -Enable full protection of a faction's territory while all member's are offline.

    I want to do this so that strategised 'raids' are used, such as using a TNT cannon to siege a base or sneaking into a base to steal/ambush enemies.

    And also so that while everyone in the faction is offline, when they come online they don't see their base destroyed/griefed or items stolen. Can someone help me with this? I've been playing with the options for hours :(
     
  2. Offline

    dmitlantis

    How to get admin rights for protected materials bypassing (access to wooden doors, furnaces, etc.) of this plugin??

    factions.kit.admin and even factions.* - it's not working for this!!!

    Code:
    {
      "baseCommandAliases": [
        "f"
      ],
      "allowNoSlashCommand": true,
      "colorMember": "GREEN",
      "colorAlly": "LIGHT_PURPLE",
      "colorNeutral": "WHITE",
      "colorEnemy": "RED",
      "colorPeaceful": "GOLD",
      "colorWar": "DARK_RED",
      "powerPlayerMax": 15.0,
      "powerPlayerMin": -20.0,
      "powerPlayerStarting": 0.0,
      "powerPerMinute": 0.1,
      "powerPerDeath": 2.0,
      "powerRegenOffline": false,
      "powerOfflineLossPerDay": 4.0,
      "powerOfflineLossLimit": -20.0,
      "powerFactionMax": 0.0,
      "prefixAdmin": "**",
      "prefixMod": "*",
      "factionTagLengthMin": 3,
      "factionTagLengthMax": 10,
      "factionTagForceUpperCase": false,
      "newFactionsDefaultOpen": false,
      "newPlayerStartingFactionID": "0",
      "showMapFactionKey": true,
      "showNeutralFactionsOnMap": true,
      "showEnemyFactionsOnMap": true,
      "canLeaveWithNegativePower": true,
      "factionOnlyChat": true,
      "chatTagEnabled": false,
      "chatTagRelationColored": true,
      "chatTagReplaceString": "{FACTION}",
      "chatTagInsertAfterString": "",
      "chatTagInsertBeforeString": "",
      "chatTagInsertIndex": 1,
      "chatTagPadBefore": false,
      "chatTagPadAfter": true,
      "chatTagFormat": "%s",
      "factionChatFormat": "%s:§f %s",
      "allianceChatFormat": "§d%s:§f %s",
      "autoLeaveAfterDaysOfInactivity": 10.0,
      "removePlayerDataWhenBanned": true,
      "worldGuardChecking": true,
      "logFactionCreate": true,
      "logFactionDisband": true,
      "logFactionJoin": true,
      "logFactionKick": true,
      "logFactionLeave": true,
      "logLandClaims": true,
      "logLandUnclaims": true,
      "logMoneyTransactions": true,
      "homesEnabled": true,
      "homesMustBeInClaimedTerritory": true,
      "homesTeleportToOnDeath": true,
      "homesRespawnFromNoPowerLossWorlds": true,
      "homesTeleportCommandEnabled": true,
      "homesTeleportCommandSmokeEffectEnabled": true,
      "homesTeleportCommandSmokeEffectThickness": 3.0,
      "homesTeleportAllowedFromEnemyTerritory": true,
      "homesTeleportAllowedFromDifferentWorld": true,
      "homesTeleportAllowedEnemyDistance": 32.0,
      "homesTeleportIgnoreEnemiesIfInOwnTerritory": true,
      "disablePVPBetweenNeutralFactions": false,
      "disablePVPForFactionlessPlayers": false,
      "enablePVPAgainstFactionlessInAttackersLand": false,
      "noPVPDamageToOthersForXSecondsAfterLogin": 3,
      "peacefulTerritoryDisablePVP": true,
      "peacefulTerritoryDisableMonsters": false,
      "peacefulMembersDisablePowerLoss": true,
      "claimsMustBeConnected": false,
      "claimsCanBeUnconnectedIfOwnedByOtherFaction": true,
      "claimsRequireMinFactionMembers": 5,
      "considerFactionsReallyOfflineAfterXMinutes": 0.0,
      "actionDeniedPainAmount": 1,
      "territoryNeutralDenyCommands": [],
      "territoryEnemyDenyCommands": [
        "sethome",
        "home",
        "tpahere",
        "spawn",
        "tpaccept",
        "tpa"
      ],
      "territoryShieldFactor": 0.3,
      "territoryDenyBuild": true,
      "territoryDenyBuildWhenOffline": true,
      "territoryPainBuild": false,
      "territoryPainBuildWhenOffline": false,
      "territoryDenyUseage": true,
      "territoryEnemyDenyBuild": true,
      "territoryEnemyDenyBuildWhenOffline": true,
      "territoryEnemyPainBuild": false,
      "territoryEnemyPainBuildWhenOffline": false,
      "territoryEnemyDenyUseage": false,
      "territoryEnemyProtectMaterials": false,
      "territoryAllyDenyBuild": true,
      "territoryAllyDenyBuildWhenOffline": true,
      "territoryAllyPainBuild": false,
      "territoryAllyPainBuildWhenOffline": false,
      "territoryAllyDenyUseage": true,
      "territoryAllyProtectMaterials": true,
      "territoryBlockCreepers": false,
      "territoryBlockCreepersWhenOffline": false,
      "territoryBlockFireballs": false,
      "territoryBlockFireballsWhenOffline": false,
      "territoryBlockTNT": false,
      "territoryBlockTNTWhenOffline": false,
      "territoryDenyEndermanBlocks": true,
      "territoryDenyEndermanBlocksWhenOffline": true,
      "safeZoneDenyBuild": true,
      "safeZoneDenyUseage": true,
      "safeZoneBlockTNT": true,
      "safeZonePreventAllDamageToPlayers": false,
      "safeZoneDenyEndermanBlocks": true,
      "warZoneDenyBuild": true,
      "warZoneDenyUseage": true,
      "warZoneBlockCreepers": false,
      "warZoneBlockFireballs": false,
      "warZoneBlockTNT": true,
      "warZonePowerLoss": true,
      "warZoneFriendlyFire": false,
      "warZoneDenyEndermanBlocks": true,
      "wildernessDenyBuild": false,
      "wildernessDenyUseage": false,
      "wildernessBlockCreepers": false,
      "wildernessBlockFireballs": false,
      "wildernessBlockTNT": false,
      "wildernessPowerLoss": true,
      "wildernessDenyEndermanBlocks": false,
      "ownedAreasEnabled": true,
      "ownedAreasLimitPerFaction": 0,
      "ownedAreasModeratorsCanSet": false,
      "ownedAreaModeratorsBypass": true,
      "ownedAreaDenyBuild": true,
      "ownedAreaPainBuild": false,
      "ownedAreaProtectMaterials": true,
      "ownedAreaDenyUseage": true,
      "ownedLandMessage": "Owner(s): ",
      "publicLandMessage": "Public faction land.",
      "ownedMessageOnBorder": true,
      "ownedMessageInsideTerritory": true,
      "ownedMessageByChunk": false,
      "pistonProtectionThroughDenyBuild": true,
      "territoryProtectedMaterials": [
        "SOIL",
        "TRAP_DOOR",
        "DIODE_BLOCK_ON",
        "FURNACE",
        "BURNING_FURNACE",
        "DIODE_BLOCK_OFF",
        "FENCE_GATE",
        "ENCHANTMENT_TABLE",
        "BREWING_STAND",
        "JUKEBOX",
        "WOODEN_DOOR",
        "CHEST",
        "DISPENSER",
        "CAULDRON"
      ],
      "territoryDenyUseageMaterials": [
        "BUCKET",
        "WATER_BUCKET",
        "LAVA_BUCKET",
        "FLINT_AND_STEEL"
      ],
      "territoryProtectedMaterialsWhenOffline": [
        "SOIL",
        "TRAP_DOOR",
        "DIODE_BLOCK_ON",
        "FURNACE",
        "BURNING_FURNACE",
        "DIODE_BLOCK_OFF",
        "FENCE_GATE",
        "ENCHANTMENT_TABLE",
        "BREWING_STAND",
        "JUKEBOX",
        "WOODEN_DOOR",
        "CHEST",
        "DISPENSER",
        "CAULDRON"
      ],
      "territoryDenyUseageMaterialsWhenOffline": [
        "BUCKET",
        "WATER_BUCKET",
        "LAVA_BUCKET",
        "FLINT_AND_STEEL"
      ],
      "spoutFactionTagsOverNames": true,
      "spoutFactionTitlesOverNames": true,
      "spoutFactionAdminCapes": true,
      "spoutFactionModeratorCapes": true,
      "spoutTerritoryDisplayPosition": 3,
      "spoutTerritoryDisplaySize": 1.0,
      "spoutTerritoryDisplayShowDescription": true,
      "spoutTerritoryOwnersShow": true,
      "spoutTerritoryNoticeShow": true,
      "spoutTerritoryNoticeTop": 40,
      "spoutTerritoryNoticeShowDescription": false,
      "spoutTerritoryNoticeSize": 1.5,
      "spoutTerritoryNoticeLeaveAfterSeconds": 2.0,
      "capeAlly": "https://github.com/MassiveCraft/Factions/raw/master/capes/ally.png",
      "capeEnemy": "https://github.com/MassiveCraft/Factions/raw/master/capes/enemy.png",
      "capeMember": "https://github.com/MassiveCraft/Factions/raw/master/capes/member.png",
      "capeNeutral": "https://github.com/MassiveCraft/Factions/raw/master/capes/neutral.png",
      "capePeaceful": "https://github.com/MassiveCraft/Factions/raw/master/capes/peaceful.png",
      "econEnabled": true,
      "econUniverseAccount": "",
      "econCostClaimWilderness": 30.0,
      "econCostClaimFromFactionBonus": 15.0,
      "econClaimAdditionalMultiplier": 0.5,
      "econClaimRefundMultiplier": 0.7,
      "econCostCreate": 25000.0,
      "econCostOwner": 100.0,
      "econCostSethome": 100.0,
      "econCostJoin": 0.0,
      "econCostLeave": 0.0,
      "econCostKick": 0.0,
      "econCostInvite": 0.0,
      "econCostHome": 0.0,
      "econCostTag": 0.0,
      "econCostDesc": 0.0,
      "econCostTitle": 0.0,
      "econCostList": 0.0,
      "econCostMap": 0.0,
      "econCostPower": 0.0,
      "econCostShow": 0.0,
      "econCostOpen": 0.0,
      "econCostAlly": 0.0,
      "econCostEnemy": 0.0,
      "econCostNeutral": 0.0,
      "econCostNoBoom": 0.0,
      "bankEnabled": true,
      "bankMembersCanWithdraw": false,
      "bankFactionPaysCosts": true,
      "bankFactionPaysLandCosts": true,
      "worldsNoClaiming": [
        "albion_nether",
        "albion_the_end",
        "avalon"
      ],
      "worldsNoPowerLoss": [],
      "worldsIgnorePvP": [],
      "worldsNoWildernessProtection": []
    }
     
  3. Offline

    Cheewy

    I heard a rumor you will be hooking the /f home command with the essentials warp delay is this true at all or just a rumor as always? I have been waiting so long for a delay added to the /f home permission it would be amazing and thanks for any info keep up the great work!
     
  4. Offline

    Brettflan

    I'm not sure of the meaning of "proc", but I'll assume you're talking about potions and weapon enchantments. The next release should hopefully cover fire-enchanted bows since that's now possible in 1.1-R4. Fire-enchanted swords don't appear to cause combustion if the damage event is cancelled, so those are already covered. Potions I'll need to look into again; splash potions of harming are prevented already as they trigger standard damage events, but other negative effects couldn't be determined as of 1.1-R3. That might be possible in 1.1-R4.

    Sorry, there isn't currently a way to prevent PvP in wilderness only.

    There isn't a way to only protect doors/chests/etc. based on whether a faction is online or offline, sorry. As for TNT:
    /f config territoryBlockTNT false
    /f config territoryBlockTNTWhenOffline true

    Those should work, or the factions.bypass permission alone. Remember that you still need to use the /f bypass command.

    True.

    Should work perfectly in 1.1-r4.
     
  5. Offline

    worstboy32

    Is it possible a bug can remove all player/board data?
    All of my player and board data just got reset and im 100% sure i didn't touch it.
    And im the only one with ftp access.
    I'm running a big server and there are about 1000 factions gone now.
    I hope its a bug and not someone who hacked in to my ftp.
    And any way to get it back?
     
  6. Offline

    firecombat4

    [​IMG]
    Just wondering how to get rid of the "a" on each side and return the colour of the staff chat channel? thanks
    Also i use herochat alongside factions.
     
  7. Offline

    DrUrbanTurban

    Can you please add a delay to the f home command since we need it, or if you could help me find a solution, that would be great!
     
    worstboy32 likes this.
  8. Offline

    worstboy32

    Could you make it so players can't get apples from trees in claimed land?
    Players abuse this and "break" leaves in safe zone or other claimed land and get very fast a lost apples.
    And i agree with the timer. posted by DrUrban
     
  9. Offline

    kotpx3

    I can't find the config for setting up /f home warm ups. I also can't find the config to make players vulnerable to others while in their territory. Is there a config for this?
     
  10. Offline

    deimos161

    why is there a radius claim but no radius unclaim?
     
  11. Offline

    BloodShura

    By the love of God... add something to the player can't do commands. I'm making a Auth plugin, and I'm breaking my head, trying to find a solution for players using commands even if PlayerCommandPreProcess is cancelled...
     
  12. Offline

    RustyDagger

    MassiveCraft

    as a server owner is there any way i can force change the owner of another faction? my issue is that the owner of a faction was a total tool and got him self banned the rest of his members are now stuck with no leader.
     
  13. Offline

    gameswereus

    This would be nice to see. Maybe a sort of voting system can be added if the user is banned to? I know they can delete the guys data on ban, so this wouldn't be too far fetched. Of course of there are only two users the other one will be automatically promoted.
     
  14. Offline

    cheti1337

    any way to modify the reduced damage people take on theyr own faction land ? at the moment its 30%
     
  15. Offline

    Medic0987

    Autoclaim isnt working for me :/
     
  16. Offline

    Meteo

    I have numberous questions, 1st off is for SafeZones, is there anyway to change the name into a town name, but have all the functions of the SafeZone? Or just rename it? Also, in SafeZones(Towns) is there a way to separate an area or claim an area for PVP only? No griefing or explosions tho. 2nd off, for Stores inside SafeZones(Towns) Is the Shop ShowCase supported? Cause i want people to be able to set stores up in certain places only. If you have a solution, please get back to me. Also last thing to say, Factions is BAUSS.
     
  17. Offline

    ukballer1012

    Would it be possible to limit the maximum size of a faction for a particular permissions group?
     
  18. Offline

    RustyDagger

    Only thing close to this that i know of is setting a max power meaning you can control how much they will claim but not really how many are in the faction but after a point it would be pointless for them to join. So its a limit in a way.
     
  19. Offline

    Medic0987

    Aw come on its not at the latest build :(
     
  20. When I use TNT, the server says "Player [Name] attempted to exploit a TNT bug in the territory of [Faction]". What I have to do to disable this? I hate this message
     
  21. Offline

    Kimoshnikov

    So. When will the infinite tnt with redstone on territory glitch be fixed?
     
  22. Offline

    RiotShielder

    Same problem for me =/
     
  23. Offline

    ukballer1012

    Can I set this up as a permission node for a group? I don't want to have to set it up each time someone makes a faction.
     
  24. Offline

    Medic0987

    Can you guys please make a new update for 1.1-R4 please!
     
  25. Offline

    Viperdream

    Hi, I keep getting this error:

    Code:
    2012-02-19 10:48:33 [SEVERE] Could not pass event org.bukkit.event.player.PlayerInteractEvent to Lockette
     
    java.lang.ClassCastException: com.massivecraft.factions.P cannot be cast to com.massivecraft.factions.Factions
     
        at org.yi.acru.bukkit.PluginCoreLink.getFactions(PluginCoreLink.java:72)
     
        at org.yi.acru.bukkit.PluginCore.inGroup(PluginCore.java:539)
     
        at org.yi.acru.bukkit.PluginCore.inGroup(PluginCore.java:441)
     
        at org.yi.acru.bukkit.Lockette.LocketteBlockListener.canInteract(LocketteBlockListener.java:1320)
     
        at org.yi.acru.bukkit.Lockette.LocketteBlockListener.interactDoor(LocketteBlockListener.java:1153)
     
        at org.yi.acru.bukkit.Lockette.LockettePlayerListener.onPlayerInteract(LockettePlayerListener.java:193)
     
        at org.bukkit.plugin.java.JavaPluginLoader$11.execute(JavaPluginLoader.java:340)
     
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:61)
     
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:460)
     
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:187)
     
        at net.minecraft.server.ItemInWorldManager.interact(ItemInWorldManager.java:283)
     
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:609)
     
        at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:75)
     
        at net.minecraft.server.Packet15Place.handle(SourceFile:39)
     
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
     
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
     
        at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:44)
     
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
     
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537)
     
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435)
     
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Is this problem on Lockette's or Faction's end?

    And is there a way how I could fix it?

    Thanks
     
  26. Offline

    RustyDagger

    You can set it global in the factions Config I would recommend you use the commands to change it. as changing it from the file is tricky.
     
  27. Offline

    Brettflan

    If so, it would be logged to your server log, probably at server startup. It would contain "[SEVERE]" and mention Factions. If you can fins such an error logged, please post it.

    Read the FAQ.

    /f claim has an optional radius value, and there's also /f autoclaim.

    So if I understand you correctly, players are correctly prevented from destroying leaf blocks, but it's still occasionally dropping apples from those prevented attempts? If so, that's a CraftBukkit bug.

    You can always use /f unclaimall.

    Can you clarify what you're actually having a problem with?

    /f admin, assuming you have the factions.admin.any permission.

    territoryShieldFactor, which currently defaults to 0.3 (30%).

    What about it is not working? Details.

    Other factions which work like SafeZones are possible in the 1.7 dev branch. War Zones can be set to allow friendly fire using /f config warZoneFriendlyFire true, if that's what you're after (wasn't clear). Someone else was reporting problems with using the ShowCase plugin in our safe zones, but they never did properly clarify what their problem was, so it may or may not work.

    What you do is you update to the latest release, which it sounds like you're not running (feel free to read the changelog).

    Can you clarify? Surely you're not referring to the same thing as above.

    Sorry, but that's not currently available or planned.

    If you're having a problem in 1.1-R4, please report it. Otherwise, the latest release works in 1.1-R4.

    It's a problem with Lockette. Make sure you have the latest version of that plugin, and if you still have problems, take it up with them.
     
  28. Offline

    Medic0987

    My issue has been resolved
     
  29. Offline

    BloodShura

    Brettflan:

    When I do event.setCancelled(true), in PlayerCommandPreprocess in my plugin, it can cancels ALL the commands of ALL plugins, EXCEPT the commands from Factions. It is, I'm making a Auth plugin, and I have to cancel commands before the /login, and players are using commands from Factions before /login...
     
  30. Offline

    manniL

    Brettflan:


    Code:
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
     
            at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
     
            at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
    rce)
            at java.lang.reflect.Constructor.newInstance(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:136)
            at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:285)
            at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:200)
            at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:156)
            at org.bukkit.craftbukkit.CraftServer.<init>(CraftServer.java:132)
            at net.minecraft.server.ServerConfigurationManager.<init>(ServerConfigur
    ationManager.java:52)
            at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:407)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.NoClassDefFoundError: com/massivecraft/factions/iface/Relat
    ionParticipator
            at me.matterz.supernaturals.SupernaturalsPlugin.<init>(SupernaturalsPlug
    in.java:128)
            ... 13 more
    Caused by: java.lang.ClassNotFoundException: com.massivecraft.factions.iface.Rel
    ationParticipator
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:41)
            at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.
    java:29)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            ... 14 more
    I tried to hook into The RelationParticipator.
     

Share This Page