[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:
    http://help.github.com/fork-a-repo/
    http://help.github.com/pull-requests/

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

    Usage
    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
    Installing
    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.
    Changelog:
    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

    iSushi

    How do you prevent users from ... abuse of protection? ... ugh, that could sound so perverted.

    Should have iConomy support and a max limit on how many blocks a player can claim. If you add naming of areas and so on. I'll be happy :)

    I promise I will look into this plugin more later and test it, currently I'm testing towny on this function. And I'll wait for some updates from both Towny and you before making my mind up.
     
  3. Offline

    Firestar

  4. Offline

    Olof Larsson

    Good feedback! Thanks :)
    Every player has a limit of 10 minecraft chunks (16x16 blocks) it can claim. All info on this and the dynamics of war can be found in the full user guide: http://mcteam.org/factions
    please read it and tell me what you think. It is much more verboose than the content of this thread.

    Did you miss the full user guide?
    Perhaps I should put the full userguide here in the thread?
    It is quiet long but... perhaps thats just good?

    Which iConnomy features do you envision?
    --- merged: Feb 7, 2011 8:27 AM ---
    Of course :)
    What did I miss? Please be more constructive with your feedback. I followed that guide so you need to give me a hint on what to change ;)
     
  5. Offline

    shatteredbeam

    Awesome plugin. I'd love to see iConomy support as well, at least an option for a couple of things:

    - Taxation for guild/faction members, perhaps a variable timed amount deducted, either on join or take X amount per Y cycle, also a flat 'fee' for creating a new faction. This would allow members to automatically 'tithe' to their guild/faction, and allow admins to set a price for players to create one in the first place.

    - Not sure how viable this is, but perhaps 'faction' accounts for finances.

    - Admin assignable chunk size (for 'neutral' towns or capitol cities) so cities can be protected in the same fashion without requiring a cuboid type regional protection plugins, OR allow Factions to 'read' other set regions (such as worldEdit) and set custom flags for factions.

    Sorry for the length, very excited about this one!
     
  6. Offline

    rity177

    Really like this plugin! This is perfect for my server. I agree with Shatteredbeam also. Making some of the war dynamics configurable would be really helpful though
     
  7. Offline

    Myers Carpenter

    This is great. What about iChat support? Each guild gets it's own chat channel. Or PreciousStones support? To make a guild you need to put together enough resources to make a "GuildStone". To claim land you need put a GuildStone on that chunk.
     
  8. Offline

    McSpuds

    I am going to load this up today. Very excited about it. I used towny with HMod and moved to "Guilds" by Toi. Guilds does not have the wars that I needed. This will fit the bill.
     
  9. Offline

    epsolon77

    My ideal plugin in this strain would integrate with iConomy to allow players to buy land as well (In your terms, buy max power) and area's could prevent hostile mob spawns. Aka I have the biggest wheat farm in the area and sell this wheat for big bucks, but want to expand my operation past the 10 16x16 chunks. I can pay 10,000 a chunk, or whatever price, to allow myself to get another chunk. Then I can set it so inside this area bad guys can't spawn. However if I don't build a wall bad guys can spawn outside and walk in.
     
  10. Offline

    kazeen

    Yeah this addon sounds like what i have been looking for
    support with iConomy would be sweet
    added it to my server i am making
     
    xXBlacksmithXx likes this.
  11. Offline

    McSpuds

    @ Olof Larsson

    We need a way to edit the size of the area a Faction can claim. 10: (16 x 16) blocks is way too much! A ten person faction would lay claim to 1600 x 1600 LOL NO way will that work on a 100+ player server, I would need a map that would be way too large!

    Have the players claim less! Like 1 (16x16) each or maybe 2 at most. Not sure how this will work with the power numbers....
     
  12. Offline

    xian

    Math. You're doing it wrong.

    But i'd also like to change the quantity of the chunks claimable.

    btw - is every member able to claim all the chunks, or just his own? (2 players -> 20 chunks. is one of them able to claim 20?)
     
  13. Offline

    averad

    Would it be possible to add a function to block chunks from being claimed (unclaimable open free-build areas). We have some towns built that we don't want claimable and would like them to remain open but the surounding areas are free for all.
     
  14. Offline

    Olof Larsson

    These are great ideas :)
    And I especially recognize the need for 'neutral' towns or capitol cities. I'll look into it :)
    --- merged: Feb 7, 2011 7:15 PM ---
    Thanks :)
    I will soon release 1.0 beta2. I just need to bugtest it some first. In beta2 there will be a config file where you can edit the war dynamics a bit.
    --- merged: Feb 7, 2011 7:34 PM ---
    Yes I need to improve the chat functionality... currently it does not integrate so well with other chat plugins. GuildStone... interesting concept. :)
    --- merged: Feb 7, 2011 7:38 PM ---
    Yes it seems many wan't IConnomy support. I'll have to look into that :)
    --- merged: Feb 7, 2011 7:40 PM ---
    The correct math goes like this. A ten person faction would be able to claim 100 chunks. That would be 10 x 10 chunks as 10 x 10 = 100. And that would be 160x160 blocks :)
    --- merged: Feb 7, 2011 7:43 PM ---
    Only faction admins and faction moderators can claim land. Normal faction members cannot claim land. So If you join a faction you will have to ask and admin or mod to claim for you.
    --- merged: Feb 7, 2011 7:44 PM ---
    Yes I totally agree. I will fix some kind of feature like this as soon as possible.
     
  15. Offline

    iSushi

    Hmmm, I so seriously missed the part with power .__. sorry.
    I read the full userguide, so no need to post the whole thing :p , I'm pretty streotypical (when it comes to curiousity, my intelligence is far more supperior than a stereotypical, see what I did there? :D ) so if I noticed, everyone will notice.

    I want iConomy support, whatever it is for, iConomy is always nice. Adding plots to buy , selection instead of chunk, use bedrock - sky protection there as well, or make it even more specified so you can stack houses... Just want a little bit more specified part instead of chunk if you're gonna have plots.

    Other than that, add rent and so on. I know this would start looking like Towny, but it's made a different way, and i request it, so no idea stealing there :)

    Add sumthing little in the config file, if a faction gets specified a number of members and chunks, it will be upgraded. Reputation way, rent way and other effects. Both bad and good.
     
  16. Offline

    xian


    this sounds like normally my factions chunks dont have to be bordered?
    i'd like them to :/
     
  17. Offline

    McSpuds

    This land claim is confusing me.

    Example:
    I just claimed one chunk. It is 16 x 16 blocks. I can now claim 9 more chunks because my power level is 10 total. That gives me a area that is 10 x 10 Chunks or 160 x 160 blocks. Now take 10 players in a faction and you get 100 x 100 chunks, but it is still 1600 x 1600 blocks.

    If you test a 10 player faction. They can lay claim to 100 chunks... that is 1600 x 1600 blocks. Most maps with borders only run between 1500 and 2400 blocks. It will provide a map that is completely taken over by "claimed" land. LOL that should start a fight!

    I just wish we had a way to limit that size if we wanted to.

    So far I am liking this plug a lot!
     
  18. Offline

    Olof Larsson

    :) No that math is still wrong. With 10 power you have 10 chunks to claim. That would be close to 3x3 chunks as 3x3 chunks = 9.

    But as of beta2 which is now out you can configure! [cake]
    For example powerPerPlayer :)
    --- merged: Feb 7, 2011 9:26 PM ---
    What do you mean with bordered? Please explain further. Enemies can run into your land and hit you (Though you will only take half damage). If you place fences they cant. So in that way you need to "border" your claimed territory.
     
  19. Offline

    McSpuds

    I hate math......
     
  20. Offline

    WMisiedjan

    LOVE to see this with multi-world support!
     
  21. Offline

    xian

    uhm.. i just want to know if i my chunks have to be next to each other.. am i able to claim a chunk 10 chunks away from my others?
    if not, what does "Note that if you claim land from another faction you must start at the border of their territory." mean?
    if my own chunks have to be "in touch", there wouldnt be a way to not start at the border of 'their territory'
    thats just a little confusing.
    --- merged: Feb 8, 2011 12:22 AM ---
    yep, i just installed and tested it... i am able to claim wherever i want. could you add the option to just allow claiming on the border of owned territory? that'd be great!
    --- merged: Feb 8, 2011 12:35 AM ---
    oh and haha... you could fix the compass in the map :D it sais NSWW not NSWE :D
    i really like what i've seen yet. keep up the good work :)
    --- merged: Feb 8, 2011 12:41 AM ---
    and you could change "/f map on" and "/f map off" to just "f map" (changes on/off)
     
  22. Offline

    F1ash

    Yeah having claimed land to be bordered would make more sense. Also maybe have ranks of factions? I mean if you wanted to persay build an empire you'd want more then one city which the current system kind've allows. But it'd be cool if you can maybe have a condition for power when you have enough or some other goal has been reached then you can upgrade your faction to a nation and THEN have the option to create towns seperate from main.

    Factions seem more like towns to me which is why you can only claim land bordering your territory or "annexing" it. And then if whatever condition is met you can upgrade to a nation and add factions to your nation without the bordering restriction. Bordering restriction would make it so the first faction area could almost be a capital if you decide to make a nation. You can build more factions or adopt friendly factions if the mayor/owner of that faction agrees to it.

    Just my thoughts. Either way I love the plugin.
     
  23. Offline

    averad

    Is anyone else getting random damage over time using this plugin? I´m trying to isolate what is causing it
     
  24. Offline

    xian

    we got no randomdamage-problems over here..
     
  25. Offline

    McSpuds

    @ Olof Larsson

    Is there a way to add "/f sethome" and "/f home" ?
    --- merged: Feb 8, 2011 1:14 PM ---
    Can you have the faction name placed in the Prefix as a default?
     
  26. Offline

    Racha

    Ohh i will test this.
     
  27. Offline

    averad

    Love the plugin but it seems to take over allowing other plugins to color players text (Admins) using General, Essentials or iChat
     
  28. Offline

    Olof Larsson

    To solve this you can edit the config file.
    Set useRelationColoredChat to false and it will not conflict.
    However I'll look into this try to find a way to avoid conflicting.
    --- merged: Feb 8, 2011 7:52 PM ---
    You were playing on my server right? I tried craftbukkit build 271. AFAIK that build is broken. You will get light errors and I saw something about missplaced skeleton mobs in the server logs. So you might have been attacked by invisible skeletons ^^. Factions works well though.
     
  29. Offline

    Exone

    If I Set useRelationColoredChat to false The chat stop to function ><'
    I've got iChat running. I guess it's that.
    Didn't work without iChat either.

     
  30. Offline

    Olof Larsson

    W00t :confused:! Not good. You are right. I'll fix tomorrow.
     
Thread Status:
Not open for further replies.

Share This Page