[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


    Is there anyway to make it larger claim size? maybe 50 or 100 blocks?
  3. Offline


    i think it'd be like a multiple of 16, but it should be possible.
    but you get an exacter area claimed, if you use just those 16x16 chunks. if you want a bigger area claimed, just increase the energyPerPlayer :)

  4. Offline


    Still no luck with this plugin and land claiming... guess I'm going to towny until it works correctly.
    --- merged: Feb 11, 2011 10:38 PM ---
    I would love someone forever if they would help me figure out why land claiming is not working on my server...
  5. Offline


    It would be nice if you could make peace with other factions
  6. Offline


    It would be nice if the faction claiming system worked.
    --- merged: Feb 11, 2011 11:43 PM ---
    If you could add an option to allow claiming away from the border that would be awesome. It is unusable right now
  7. Offline


    hey is it possible to make allies capable of altering other allies owned areas?
  8. Offline


    you are able to! just write
    /f ally [faction name]
    /f neutral [faction name]
    /f enemy [faction name]
  9. Offline

    Olof Larsson

    So it seems claiming land does not work. I will look into that. Right now I am greatly improving the chat messages and their compability with other plugins. I have created a faction chat comand and made more settings configurable.
    --- merged: Feb 12, 2011 6:35 PM ---
    [​IMG] Just released beta3! [​IMG]

    Stealing land from enemies now works correctly and chat messages should now integrate well with other plugins. I'll write documentation on how to configure chat messages right away :D
  10. Offline



    Any chance of a /f sethome and /f home command coming in?

    Toi has it in Guilds maybe you can look at that source and see how it is hooked?
  11. Offline

    Olof Larsson

    Check out this awesome configuration documentation friends :)

    Please tell me if you find anything hard to understand. The chat tag injection stuff can be a bit complicated I guess... but most probably you can use the default values and all will work out of the box :)
    --- merged: Feb 12, 2011 7:56 PM ---
    This is a good idea, I agree... I plan to add it... In it's easiest form, where you could set it anywhere it would be a pice of cake. However I might push this feature a bit into the future ass I would like to integrate it with an upcoming "guildstone" functionality :)

    For now perhaps you can use some other plugin like essentials that provides /sethome and /home comands and then each player can set their home to the faction base.
  12. Offline


    Yes it will need to have a way of making sure factions place that home in their claimed land only so they can not exploit it by setting a home outside of a siege area..
  13. Offline

    Olof Larsson

    Spot on! :)
  14. Offline

    Geoff Winans

    It does not appear that admins can ignore the Power Limits. This needs to be changed so that admins can fully claim spawn areas and other special protected locations.

    Additionally, you should put a tool together that lets admins claim a larger number of chunks at a time.


    It also does not appears admins override factions. Admins must be able to override all faction settings - declaiming land, destroying and recreating areas, etc..
  15. Offline


    mmh,for the admin-claiming - maybe you culd add a "from this ..... to this chunk - claim rectangle"
  16. Offline


    I would love a way to make creating a new faction either cost money, or require you to have certain things first (like you need 3 diamonds and 16 obsidian or something).

    Other than that, great plugin.
  17. Offline


    Would it be possible to get a option in the configuration to disable the friendly fire feature it seems to break swords on my server. Even when two factions are enemy's they cant do damage to each other with swords only fist and arrows when this plug-in is activated. Server is craftbukkit build 281 or so and have had this problem on beta 2 and now beta 3 of factions. Thanks

    Edit: also mentioning faction or factions within a conversation even without a / acts like a command and breaks to conversation. Tested plugin in 281 and 318 same result for PvP would also love if a persistent option can be added for faction chat so /f c doesnt have to be typed each time or a way to integrate with hero chat. Thanks again love the plugin.
  18. Offline

    Olof Larsson

    I just tested woodswords and stoneswords and I am able to hurt people. Note that in order to hurt people inside their own territory you must declare yourself their enemy.

    Open up your conf.json and remove some of the command aliases. Thanks to your feedback I removed everything but "f" and "/f" from aliasBase. There is really no point if having other base aliases than those.

    Persistent faction chat... that is a very good idea :)
    It should probably be a command you switch on and off like the /f map command... I'll fix right away :)
  19. Offline


    There seems to be a problem in saving the faction's relationship everytime the server restarts our factions have to redeclare war/peace.
  20. Offline


    i like the idea that users can capture my whole server if they want. But is it maybe possible to give me some extra privileges? Like just capturing unlimited permission? xD
  21. Offline


    thanks for the prompt updates as for PvP sword issues my server is having I will investigate my other plugins mabye a mcMMO issue.
  22. Offline


    Can you add title compatibility with HeroChat?

    That'd be a great addition. Thanks.
  23. Offline


    First of all, great job and great plugin!
    But would you mind adding destroying and adding blocks to an enemy faction? Maybe make the time destroying blocks in an enemy territory take 5x the time and adding a cooldown to placing blocks? Because right now, any players can just hide inside their own base, and there is no real reason to have fortifications.
  24. Offline


    when they're hiding inside their own area, you mock them until they come out and die :)

    just kidding, i agree though. if you want you can steal a great idea that the Towny admin had which is make the chunks become "unclaimed" if the enemy stands in it for X amount of seconds.

    EX: after an enemy is in a chunk for over 60 seconds, that chunk of land is now neutral and anything can be destroyed. gives them an incentive to drive off invaders, and if you make the territory take 5x the amount of time to destroy blocks, you'll get a lot of defenders just letting you waste your time beating on a block for 20 seconds, then they'll pop out and hit you (forcing you to move) then you're back at the drawing board beating a block and they can pop back into hiding. with a timer, you can move around and defend yourself, but THEY are put on the offensive because they need to drive you out.
  25. Offline


    Here are some extra ideas.

    Maybe a configurable option to set how many points are allowed. Right now my faction is 90/90 but we only have 10 territories! That means we have to die A LOT for someone to even take that territory. Maybe make it so I can choose if I want max points to be -3/3 or -5/5

    Another idea: part names. Maybe you can make it recognize someones name/faction halfway. So I do not have to type /f join deadlyparadoxmasters. So I only have to write /f join deadly and it will recognize the rest. [​IMG]

    Those would be awesome! Great work BTW.
  26. Offline


    Yea great work
    these pvp free areas can u make it so factions can fight over it
    and if they win they claim it

    Only problem so far is their really isnt anywhere for factions to fight as of now they have to agree to fight somewhere since u cant hurt them in their land or hurt anything they have built
    their is not a way to attack opposing factions
  27. Offline


    If you are at war with the faction you can hurt them on their own land.
    And tnt cannons/creepers do wonder on pesky walls.
  28. Offline


    Well, maybe it could be done it this way: If you want an enemy chunk, you can unclaim their chunk by standing in their chunk and writing /unclaim. The enemy will get a message, and 60 sec prep time before the land is neutral. If you change chunks, it will be cancelled, and you have to start over again. If you want to claim a faction that is near the enemy, you will have to do the same, but this time, if a user of said faction even enters the chunk, you will need to start over again(where you would have to make fortifications to defend it), and the timer is 30 seconds.
    Well, only with 50% damage, and it happens, that the server I play on has creepernerf(removes blok damage from explosions) and if you had the bottom of the walls of obsidian, you'd be invincible.
  29. Offline


    I second this, love HeroChat but want the chat features of Factions also.
  30. Offline


    Does this work with craftbukkit version 336 yet? And do you ever plan to implement certain benefits for a faction? such as the archers faction having increased damage with bows?
  31. Offline


    Even if I delete the old Factions files and start my server with the newest factions.jar, it does not create a file in /plugins/Factions/boards. It creates the file folder, but there is nothing in it. So where am I supposed to copy the content from board.json into? :)

    Keep up the great work. We love Factions and your To Do List seems very promising!
Thread Status:
Not open for further replies.

Share This Page