[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

    Kagayushi

    Hey,
    I got a big problem.
    Enemys are invincible in there Base.
    Haven't changed any config.
    Any fix for this Problem ?

    Sorry for my bad english.
    btw: Nice Plugin I use this for a Guild-PVP Server. ^^
    My users like this plugin aswell :)
     
  3. Offline

    Brettflan

    That issue should be fixed in the next release. The damage values returned by Bukkit are determined before armor calculations are done (which is a bit annoying, really), and the current code was healing back the requested percentage of that supposed damage value. After armor calculations were done, this could end up even healing the target above what they started at.
    In the next release it will instead just adjust the damage value directly instead of healing the target.
     
  4. Offline

    Olat

    Still wondering if the Redstone / Redstone Torch in enemy base is a known issue and is being addressed or is that intended?

    I want my players to be able to loot and pillage but they shouldn't be able to just walk inside peoples houses either. With the Redstone / Redstone Torch bug any player can open any door.
     
  5. Offline

    Brettflan

    That should also be fixed in the next release.
     
  6. Offline

    enkryptor

    Is it possible to make guests (new players) have zero power? So a player should wait a few minutes in game first to claim territory.

    I want to set powerPlayerMax to a big value (100 or smth) but I'm afraid of "overclaiming" by random visitors.
     
  7. Offline

    slimpyman

    Dude, i really enjoyed this plugin the first time the admin threw in on for testing!!! easy to use and effective.... I noticed the f invite command didnt work, (maybe f accept) it kept saying that the owner wasnt online....

    I would love to see flags to disable pvp, chest protection, and furnace protection!!! this is the perfect pvp server plugin for "no rules" if those flaggable options are implemented!!

    towny has nothing on this... this is very berry easy and simple... very much props my friend!! I will donate in a heartbeat once chest protection, furnace protection, and pvp are flaggable via Admin commands or the file
     
  8. Offline

    enkryptor

    How can open factions do the anti-grief feature? As far as I can understand, a griefer can join an open faction, do their unpleasant things and then leave the faction/server..
     
  9. Offline

    Mydnyte

    As soon as we get Permissions / GroupManager support, I'll be all over this like white on rice.

    I don't want everybody on the server to have the ability to make their own factions.
     
  10. Offline

    Monjhall

    I'm no amazing programmer or anything so I sort of gave up on modifying the file. Thank you for the help though. Instead of use factions all the time (especially because it was mainly for the names) we plan to use it for a week where all of its functions can be put to use.
     
  11. Invisible

    ViralNihility

    I would love Permissions support. Is it possible for you to import, say, suffixes from Permissions? Or perhaps Prefixes as well and then enter the tag of a faction in asterisks.
     
  12. Offline

    rendwe


    remove " create " from the config json ;)
     
  13. Offline

    Senzuri

    Hi I was just wondering, is there a way to block people from using buckets in another factions zone? People really use this flaw to grief other peoples bases
     
  14. Offline

    Brettflan

    Also fixed in the upcoming next release.
     
  15. Offline

    neonx

    ETA for the next release?
     
  16. Offline

    yeahMan

    can someone post a edited config with "doors" and "chests" removed from being auto-protected? I'm having the same problem as the guy earlier with the game going vanilla when reloading after removing these lines. :/

    nevermind, removed all but dispensers and it workd! Can't wait for an update :)
     
  17. Offline

    Spazmic

    You should add GroupManager support as a pritority. Your plugin has a lot of potential and I like it but I don't want new player to create their factions!
     
  18. Offline

    slimpyman

    Im really looking forward to the plugin being fixed.... this is the ONLY good plugin out there

    btw, there any way to stop someone with 1 chunk from being surronding from someone with like 8 power? as soon as we can disable chest furnace protection in an area, as well as have pvp, this will be awesome
     
  19. Offline

    Monjhall

    Can you send me a copy of that? I would enjoy having that.
     
  20. Offline

    yeahMan

    sure thing monjhall - http://pastebin.com/JcXrUr9F
    Just replace original conf.json! I actually tried replacing all the original lines with rarely used items (milkbucket/slimeball/etc) but Factions didn't like that so I just removed all but dispensers. Makes admin'ng faction areas much easier!

    If someone could maybe figure out how to disable the chat spam that'd be great. I was thinking maybe this line would need to be edited -
    chatTagEnabled false? Or i'm guessing this is probably the custom group names before a username.
     
  21. Offline

    slimpyman

    I noticed in the source there are some bug fixes (mostly the damage taken in your own base bug) but i dont know how to compile anything.... I was wondering if there is anyone halfway knowledgeable who can compile those bugfixes in the current build?? it would be awesome, because all other faction town plugins are second to this one (assuming there couldnt be chest, furnace protection) as well as being able to die in your own base! thanks!
     
  22. Offline

    Monjhall

    Thanks! Since it's only my frineds on the server they don't grief, but instead sabotage. This keeps it controlled, but epic. This is a truely wonderful plugin now.[​IMG]
     
  23. Offline

    Neoblade298

    Is there a way to turn off the anti-grief? I've looked through the factions full user manual, but so far, I've only found how to disable chest and door protection.
     
  24. Offline

    RchGrav

    Ok...

    I tried this on my server and it was really nice... the one thing that I had trouble with was helping my users when they needed it.

    How can an admin or op be immune to the effects of this plugin?

    I hope I didn't miss this being covered elsewhere in the thread.

    Thanks!

    Rich
     
  25. Offline

    Brettflan

    That will probably need to wait until Permissions/GroupManager support is added.

    What are you talking about when you say "chat spam"?

    I'll go ahead and post an updated release later this week if Olof doesn't beat me to it. I'm out of town at the moment.
     
  26. Offline

    slimpyman

    hey dude, if you can compile those bugfixes of the armor bug while in your area (you cant die in your own area), and chest and furnace protection enable/disable, you would be awesome.... im upset i dont know java. wish i could compile it for the community :(
     
  27. Offline

    yeahMan

    I was referring to the faction tags spamming up chat whenever you walk into a faction zone. Turns out lots moving past 16x16chunks will spam you with "PROPERTY OF BLANK CLAN - ENTER AND DIE MUHAHAHAA" over and over again gets a bit annoying.

    Maybe a per-user toggle switch will be better?
     
  28. Offline

    Olat

    Is there a way to fix the conflicts with like EVERY Chat plugin?
    Craft IRC
    HeroChat
    iChat
    all have issues when using /f chat
    Id like for my moderators to have differnt colors and also an admin channel from mcMMO but this plugin conflicts with them all.
     
  29. Offline

    Brettflan

    Moving in and out of faction territory needs to be clearly indicated somehow. If not by chat messages, then how? If somebody can come up with a better idea, I'm sure it would be welcome. I personally can't think of anything better at the moment than what Olof already has in place.

    What way is it conflicting? Can you be more specific as to what problem you're encountering? The only one of those I've used was iChat, and I haven't used it since switching to EssentialsChat some time ago. I haven't tested it specifically, so for all I know there may also be problems between Factions and EssentialsChat as well, but so far none of the players on my server has mentioned any such problems.
     
  30. Offline

    Olat

    The Faction ONLY chat is relayed through Craft IRC in Hero Chat it is doubled in Channels that it shouldnt be.. with the mcMMP plugin the Admin Channel is broadcasted to every one.
     
  31. Offline

    yeahMan

    Yes, I agree, I personally don't mind it at all BUT the problem comes for users who play on the server and are not interested in factions or would rather not see the chat spam up as they walk about places so I propose a 'Toggle factionTERRITORYtag' command that will function on a per user basis. Each user has the ability to toggle the chat spam (territory tags) so they don't have to deal with it and a plus would be that it saves when they log off/server restart so they don't have to constantly toggle it when coming back.
     
Thread Status:
Not open for further replies.

Share This Page