[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


    Ahh, yep, rolled to 531 and it fixed it.
  3. Offline


    hi.. our servers administrator is currently not home, but i wanted to enable the anti-creeper-thing for our factions territory. /f version gave me 1.0beta7 so i think it has been updated already (i dont want reinstall it, because i dont know much about all those stuff, but i am able to edit the config-file).
    i now added
    "territoryBlockCreepers": true,
    "territoryBlockFireballs": true,
    as it wasnt in our conf.json yet, restarted the and also "/plugin reload Factions", but it still doesnt deny creepers to destroy blocks.. any help?
  4. Offline

    Olof Larsson

  5. Offline


    are there any ways of enabling the friendly fire? early versions were normal (could damage guildmates), but now friendly fire is turned off :( it really makes 2v1's and 3v1's stupid as heck cause the 1 single person will never have a chance because people will fruitlessly keep swinging without any punishment (killing teammates)
  6. Offline


    deleted complete config file, restarted the server, waited to have a new config, then turned block-creeper to "true" - still doesnt work.
  7. Offline


    Are you sure you're in a faction controlled area? Creepers do still explode like normal in unclaimed territory.

    Should be quite simple to add that option to the config file.
    Likewise with the list of items usable in faction territory (namely the normal/water/lava buckets, flint&steel, signs, and redstone dust), that list should be fairly simple to transfer over to the config file.

    @Olof Larsson: I'll be sure to check it out when I have time.
  8. Offline


    I have an issue with beta 7 where abilities are not turning off for anyone. Is this a known issue or is there a fix available?
  9. Offline


    just to be sure..

    i added:
    "territoryShieldFactor": 0.5,
    "territoryBlockCreepers": true,
    "territoryBlockFireballs": true,
    "territoryProtectedMaterials": [
    in the plugins/Factions/conf.json

  10. Offline


    Any ETA on the neutral pvp-free zones? The server I op on really needs something like that.
  11. Offline


    Waiting for Permissions support before I try it.
  12. Offline


    What "abilities" are you talking about, specifically?

    And you're sure you're using 1.0beta7, and have restarted CraftBukkit after editing the conf.json file?
    I've tested both territoryBlockCreepers and territoryBlockFireballs) pretty thoroughly in 1.0beta7 and they worked just as intended for me, preventing destruction of blocks in faction controlled territories.
    A couple of notes, just so you're clear on how it works:
    1. They will still hurt players, they just won't destroy blocks.
    2. They can still explode right outside the edge of faction territory, and by doing so can still destroy blocks inside the faction territory.
  13. Offline


    Are you planning on making it so we can toggle what items can be used in Enemy Territory?
    Also, when i place shield factor at 0.2 (20% reduction?) it said dmg reduced by 80% and my players were invunerable
  14. Offline


    Create a Faction with your admin account, create a region in world-gaurd in that same area, /region flag regionname pvp deny (repeat with creeper, mobdamage, etc as needed)

    Note, if you want a huge area this is a workaround that does work:

    shutdown your server, in your factions / folowers folder, copy your adminname.json to adminname1.json adminname2.json etc (make sure to change the keyword admin to moderator inside those files, check another json to get the syntax correct Factions will puke if there are more then 1 admin in a faction). then BAN all the adminname1 - 99 names with your ban plugin. trust me, players will figure this out when they /f who adminfaction and actually buy these names as minecraft accounts just to screw up your spawn/neutral zones because they have no life :p

    effectively, you have created an "admin faction" with unlimited money/power/???/profit and pvp neutral zones.

    Hope you can understand this, this method works, I have been using it since factions beta2 :)


    New auto leave on anactivity feature.

    About damn time. :D

    Now, this is gonna screw with my way of having an admin faction.
    Requesting either an admin override power option (static list of super powered usernames) or a way to exclude inactive users.

    In fact, might need both, some donators on my server are worried about faction disbandment if they are gone for a while, so I need a way to exclude them to.

    It is reversed. I also use 20%, set it to " 0.8 "

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

    Olof Larsson

    My update rampage is soon done :) I might be done tomorrow. There is almost no new features but many things are reworked and new features should be easier to add :)

    There is one new feature though: "auto leave on inactivity". This should auto kick players that are inactive for 2 weeks. This will gradually shrink factions that are inactive and eventually they will even be disbandoned.
  16. Offline


    This should be doable in the next release based on some of Olof's latest commits. He's been quite busy.

    This may be a bit late, but looking at your recent commits it looks like there are several new goodies in your latest commits. You really have been on a rampage. :cool:
  17. Offline


    Hey, lovin' this plugin but one of my players seems to think it's cute to be in a faction of one and abuse the claiming functionality so I was curious if it would be possible to require factions to have more than one member before they're able to claim land?
  18. Offline


    haha. who didnt try that :)
    burrow a 2-deep hole, make someone hop in, then /f claim. ^^

    but to help with your problem: just define rules on your server. and if someone use the factions to fuck around, kick him of the whitelist. thats what we do.
  19. Offline


    Does anybody know how to reenable firendly fire?
  20. Offline

    Olof Larsson

    Hell yeah! [cake]
    Factions 1.1 is released! There are loads of neat new features. Tell me if you find any bugs XD

    They are here now :)

    Test version the new version 1.1 and see if it works better. At least the startuptime shold be significantly shorter.

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


    Before I do this, am I reading this right? We have to delete the factions folder to upgrade. So all the factions will have to be re-created and all Land will have to be reclaimed?
  22. Offline

    Olof Larsson

    That is correct. However you could do the conversion to the new filesystem manually though that would be loads of copy pasting.
  23. Offline


  24. Offline


    Could you post some basic instructions on how to go about doing this. I'd like to make sure I've got everything in the new filesystem before I update the plugin.
  25. Offline


    Was also just wondering about what happened to the command alias's? In the new version they've been removed, I tried adding:
    "aliasBase": [

    To remove the nonslash command "f command", but this had no effect. Is there anyway I can configure this again?
  26. Offline


    There is a new "autoLeaveAfterDaysOfInactivity" option in 1.1 which automatically removes players from a faction if they don't log in for a certain number of days (default is 14 days).
  27. Offline

    Olof Larsson

    Nowadays there is the config option allowNoSlashCommand.
    Set it to false to disable.

    If you would like the command to be something different than f you should change the plugin.yml file inside Factions.jar.

    You have many awesome ideas and I agree with all of them :)

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


    He guy, we wanna use your plugin, but we wanna have the possibility to disable PVP globally.
    Is there a chance that you implement this?
  29. Offline


    Hey Olof!
    Factions is a great plugin, but updating to 1.1 let some errors appear.

    1. Wooden Doors aren't protected. Not even with the default config newly created by server start. We even tested it without any other plugin running on CB 556. Didn't work. :/ Anyone is able to use the wooden doors and even place them on chunks claimed by other factions. All the other restricted items work well. No one else is able to chests, just wooden doors seem buggy. :(

    2. If we restart the server, all the created factions and player data is gone. We have no idea why. All the factions data has chmod 770, and as I said earlier, we even tested it on a server running only CB 556 and Factions v1.1. No other plugins...

    None of these bugs create error messages in our server log

    Do you have any ideas regarding these problems? Our players love factions, but these bugs forced us to move back to 1.07. :/

    However, keep up the great work. Thanks a lot for your efforts. :)
  30. Offline


    This is a problem with Craftbukkit. Broke sometime after 531, Its fixed in CB 562.
  31. Offline


    Are you going to give us any information on how to convert our old faction saves into the new format? redoing it all really isn't an option.
Thread Status:
Not open for further replies.

Share This Page