[INACTIVE][SEC/FUN] Factions v1.1.7 - Guilds, War and user-controlled antigrief [733]

Discussion in 'Inactive/Unsupported Plugins' started by Olof Larsson, Feb 6, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Olof Larsson

    Factions - Guilds, War and user-controlled antigrief :)
    By Olof Larsson and Brettflan.

    Current version: 1.1.7
    Download: https://github.com/oloflarsson/Factions/tree/master/releases
    Source: https://github.com/oloflarsson/Factions
    Read the full userguide here: http://mcteam.org/plugins/factions

    This plugin will allow the players on the server to create factions/guilds. The factions can claim territory that will be protected from non-members. Factions can forge alliances and declare themselves enemies with others. Land may be taken from other factions through war.

    The goals of this plugin:
    • The players should be able to take care of anti-griefing themselves.
    • Inspire politics and intrigues on your server.
    • Guilding and team spirit! :)
    Fork me on github!
    I would be glad to code on this plugin together with you :). Please fork me on github and do a pull request. Read more here:

    There will be cake if you join me in the coding [cake] :)

    Read the full userguide here: http://mcteam.org/factions <-[cake]

    The chat console command is:
    • /f
    This command has subcommands like:
    • /f create my faction name
    • /f invite my friends name
    • /f claim
    • /f map
    • ... etc
    You may also read the documentation ingame as the plugin ships with an ingame help manual. Read the help pages like this:
    • /f help 1
    • /f help 2
    • /f help 1
    Note that you may optionally skip the slash and just write
    • f
    1. Download: https://github.com/oloflarsson/Factions/tree/master/releases
    2. Put Factions.jar in your plugins folder
    If you have Permissions installed you will need to configure it. Read more here.

    Current ToDo list:
    1. More admin controll, for example reassign faction admins.
    2. Command to reload config file.
    3. Give factions a limited number of separate territories. "You may only claim at the border of your territory". Purpose of this is to stop players from claiming land in a scattered way. Factions will be more stationary. This will encourage factions to build one main town.
    Version 1.1.7

    • Package structure changed to move it out of com.bukkit.* namespace (Olof Larsson)
    • Removed Help plugin support as that plugin is not updated. (Olof Larsson)
    • Changed name for No Faction to Wilderness (Olof Larsson)
    • New unclaimall command (/f unclaimall) to unclaim all of the faction's land (Olof Larsson)
    • Safezone claiming command now has optional radius input (/f safe [radius]) to claim a larger safezone area at a time (Olof Larsson)
    • Added check to make sure chatTagInsertIndex is valid before using it, to prevent triggering an exception (Brettflan)
    • Players who aren't currently in a faction should no longer get "Person left your faction" messages when others join a faction (Brettflan)
    • Attempt at simple workaround for error related to NPCs from Citizens plugin (Brettflan)
    • Placement and removal of paintings is now prevented if you're in another faction's territory (Brettflan)
    • /f map has been updated to fit inside the new Bukkit line-width limits (39 tiles wide instead of 49) (Brettflan)
    EDIT: by the way, you do need to have build 726 or newer of CraftBukkit (RB 733, for instance) since the painting events were added then.
    More changelog:
    Show Spoiler

    Version 1.1.5 (By Brettflan)
    • Fix for left-clicking on wooden doors not being detected
    • Fix for null faction home location when loading factions data
    • Added "factions.adminBypass" permission which will allow players with that permission to bypass the building/destruction and usage limitations inside faction territory
    • New boolean config options territoryBlockTNT (default false), safeZoneDenyBuild (default true), safeZoneDenyUseage (default true), safeZoneBlockTNT (default true).

    Version 1.1.3 (By Brettflan)
    • updated to work with RB 600/602
    • handled a couple of potential NPEs, one caused when saving faction info, and one where it could try sending messages to a player who is offline or otherwise doesn't currently exist for whatever reason
    • fix/workaround for bucket usage not always being detected if 2-3 blocks away
    • faction-tagged chat messages sent to the console and log now have crufty color tags (like "§f" and such) stripped out
    Version 1.1.2
    • bugfix - admins could not place signs etc in safezones (Olof Larsson)
    • Added some missing instaDestroyItems (painting and flowers) (Olof Larsson)
    • Added ability to load old pre-1.1 data files (board, factions, followers) if they exist and new files don't (Brettflan)
    Version 1.1 (by Olof Larsson)
    To upgrade: Remove you Factions folder
    I'm sorry about that. There just are so many changes to the save files.
    • Permissions plugin support
    • Help plugin support
    • Faction homes
    • Better save file format
    • Inactive players are kicked from their faction
    • SafeZones - PVP and monster safe areas
    Version 1.0 beta7 (by Brettflan)
    • Fix for enemy attacks potentially healing people in their own territory due to armor calculations, instead of correctly just giving reduced damage.
    • Placement/use of these items inside another faction's territory is now prevented: redstone wire, sign, flint&steel, bucket (empty, water, and lava).
      Code is also in place to prevent placement of beds and repeaters, but CraftBukkit doesn't properly detect those yet.
    • Fix for destruction of certain blocks not previously being detected and prevented: torch, redstone torch, repeater, redstone wire, sapling, crops, sugar cane.
    • Minor spelling and grammar fixes
    • Added options "territoryBlockCreepers" and "territoryBlockFireballs" to configuration file (conf.json). These both default to disabled. If enabled, they will respectively prevent creepers or ghast fireballs from destroying blocks if they explode inside faction owned territory. These can prevent griefing by way of luring creepers into another faction's territory.
      Note that both explosion types will still hurt nearby players and mobs, they just won't destroy blocks.
      Also note that "territoryBlockFireballs" only works in CB build 557 and higher, where fireball detection was added.
    Version 1.0 beta6
    To upgrade:
    Factions now use world name instead of world id for the board files.
    Nothing will be claimed when you start the server. Change the board file name(s)
    from something like 234978619762348768.json to something like world.json.
    • Updated to work with Craftbukkit 493 (by Brettflan)
    • Paginated faction listing (by Brettflan)
    • Single jar install (by Brettflan)
    • Board files now use world name instead of world id (by Olof Larsson)
    Version 1.0 beta5
    • Updated to work with Craftbukkit 450, which means Minecraft 1.3 compatibility :)
    • For now messages like these are removed: "Playername tried to use Wooden door in your territory". They could be used for chat spamming.
    Version 1.0 beta4
    To upgrade: Start and stop the server once with the new jar. Paste the content from board.json into the newly created file in /plugins/Faction/boards/. After this you can delete board.json.
    • MultiWorld support.
    • Faction chat is now something you turn on and of.
    • Arrows are now included in the friendly fire filter.
    • Some stability fixes.
    Version 1.0 beta3
    To upgrade: Delete conf.json and rename the "name" field to "tag" in every faction.json file.
    • Greatly improved chat and messaging system! :D
      Cooperates well with other plugins. Tested with Essentials and iChat so far.
    • New faction chat command
    • More config options
    • Bugfix: You can now claim land from enemies :p
    • ... and a lot of other fixes
    Version 1.0 beta2
    • There is now a config file where you may alter chat colors, dynamics of war etc.
      I will add documentation on the config soon...
    • Made the color formating a bit more understandable.
    • There is now a broadcast when a new faction is created.
    Version 1.0 beta1
    • The first release
  2. Offline


    Really good plugins. My users appreciate it.
    I have a request: Is it possible to have a configurable delay and cooldown for home command? So users could not teleport as soon as they are attacked.
  3. Offline


    Is there anyway to disable /f home?
  4. Offline


    About the coloring....I use essentials and they do not work together, instead of colloring it green, it jsut places an A infront of whats supposed to be colored..Eg

    a**Nightfire f[Earth]
  5. Offline


    Is there anyway to disable faction chat? couldn't see any permissions tag for it. I'd like the ability to stop people using it.
  6. Offline


    Sadly this is still a huge issue. I have stopped the server, changed config/saved, and started server back up. But no matter what I change I get an error where it says it cant read it and reverts all changes.
  7. Offline


    oh also, are there more admin commands on the way. such as being able to declaim other factions land, remove factions, generally give more control to moderate other factions?
  8. Offline


    you should support Iconomy, so you have to buy land with money instead of power.
    and ofcourse, please update it...
  9. Offline


    When you stop the server, plugins will usually save their settings to file. Try editing it while the server is offline, and then starting it.
    Sorry, didn't read that you'd tried this. Try running your edited config though a JSON validator such as JSONLint.

    Is it possible to support CraftIRC so faction chat does not get sent to the main channel (or gets sent to a different channel even)?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 8, 2016
  10. Offline


    Im Always Getting You Lack Of Permissions to create new faction... i have all the configuration in permissions and everything?
    shakaboom likes this.
  11. Offline


    This. Did /f safeclaim 100 thinking it would be 100 blocks, apparently not. There's an area of about 3000x3000 which is all safeclaimed. Any solution?
  12. Offline


    I've done that on their site as well (they give that link) and nothing is wrong with it. All I change is one line from true to false and I get tons of errors...even if I change the 0.5 shield to 0.1 I get the same exact error.

    Did the original one and got "Valid JSON" then I did the edited one and got the same valid reply.

    I also have the same exact problem as the guy above me. There is no way to take all the safe zones out. I did /f claim 20 thinking it would be 20 blocks and apparently that is not how it works.
  13. Offline


    We REALLY need a way to unclaim the safezone!
  14. Offline


    Edit the file (can't remember the name of it atm) and remove the safe zones. Not sure how easy it'd be though.
  15. Offline


    is there a way to chat normally??
    i use the latest everything...
  16. Offline


    edit what file and change what?
  17. Offline


    I'm guessing you mean the board.json and removing the safe zone lines. This just doesn't work though, if I take them out, save and reload the server they just get re-set to what they were originally, unlike eveything else where changes i make are reflected in server straight away.

    it might work if we stopped the server, edited and re-started. but thats far from practical.
  18. Offline


    OK found my problem..so as you can remember you told me to change the title index number to get my titles and colors working so i had it at 3 for normal titles.Then i started getting a problem where if i promoted my members to different groups other than what they were when i added this plugin they couldnt talk at all.....

    i tested changing the index number to other number like 4,5,6,2,1 and so on and that was all fine just the number 3 causes problems..no errors or anything they just cant talk if group is changed..im using ichat and permissions and this any help?
  19. Offline


    need an update.. some news features.. and next recomanded build 766!

    way tu remove a clan ( admin or owner )
    way to become non-pvp clan
    cool could be taxes for territory claimed by clan, so person has to pay to passtrought a claimed territory..
  20. Offline


    i totally agree with the taxes! but you should also add that players have to pay to start a faction...
    cuz when i use this on my server everybody starts his own faction resulting in lots of 1 person factions...
  21. Offline


  22. Offline


    can i turn of the protections as i like everything except im making a raiding server?
  23. Is there any fix to the Home not working on restart problem yet?
  24. Offline


    pim for that way i use Command iConomy my players have to pay for create a faction and claim zone..
  25. Offline


    is he alive?
  26. Offline


    doubt it...
    but it would be a shame if he is not
  27. Offline


    can i please get help on this???its just ruining everything
  28. is there a way to view a single person's power? We're having a lot of trouble knowing who is in the negatives, and who is staying alive...
    It would be extremely useful to have a personal-power monitor... like /f pow
  29. Offline


    I am getting this error and cant figure out what is causing it?

    2011-05-11 20:47:21 [SEVERE] Could not pass event ENTITY_DAMAGE to Factions
    at org.mcteam.factions.FLocation.<init>(FLocation.java:37)
    at org.mcteam.factions.FLocation.<init>(FLocation.java:41)
    at org.mcteam.factions.listeners.FactionsEntityListener.canDamagerHurtDamagee(FactionsEntityListener.java:110)
    at org.mcteam.factions.listeners.FactionsEntityListener.onEntityDamage(FactionsEntityListener.java:60)
    at org.bukkit.plugin.java.JavaPluginLoader$47.execute(JavaPluginLoader.java:518)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:289)
    at net.minecraft.server.EntityHuman.damageEntity(EntityHuman.java:410)
    at net.minecraft.server.EntityPlayer.damageEntity(EntityPlayer.java:156)
    at net.minecraft.server.EntityArrow.p_(EntityArrow.java:172)
    at net.minecraft.server.World.entityJoinedWorld(World.java:1009)
    at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:53)
    at net.minecraft.server.World.playerJoinedWorld(World.java:991)
    at net.minecraft.server.World.cleanUp(World.java:968)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:369)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:287)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:394)

    My plugins are

    Essentials 2.2 pack

    running craftbukkit 766
  30. Offline


    OK then, another release almost entirely thanks to contributions from derenix:

    Download Factions 1.1.8 (latest JAR)

    • added command to disband a faction (/f disband <tag>) (permission node "factions.disband") (derenix)
    • added lock switch to all write actions, to prevent or allow data files being updated by plugin (/f lock on|off) (derenix)
    • added saveall command to save everything to disk (/f save, /f saveall) (derenix)
    • added reload command to reload everything from disk with server still running (/f reload) (derenix)
    • fix for "Could not pass event ENTITY_DAMAGE to Factions" exception caused by NPC mods which tie into Player entities (Brettflan)
    I haven't personally tested the new commands by derenix, but at a glance they look like they should work fine. I'll let you guys be the guinea pigs. ;)
  31. Offline


    Could there be a way of enabling damage to players in your own faction, maybe? Or maybe have that world-specific ? Because I for one have a multi world set up and want the factions to apply to just one world :p
Thread Status:
Not open for further replies.

Share This Page