[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

    Brettflan

    I've briefly tested with your data and had no problems with it. I've also had no problem with starting the server, creating a faction, setting its description, claiming some land, and then immediately stopping the server. It retained all faction info with those changes in my case.

    Factions saves all data roughly every 30 minutes, as well as when you (properly) stop the server. How are you stopping your server? Are you using Ctrl-C or something like that? You should always use the "stop" command in the server console to ensure the world is saved and all plugins have a chance to save their data. Could that be the issue?
     
  3. Offline

    Amrac

    Can you add something like /f force-disband [FactionNAme] for admin . Its for faction with insult in the name.

    And a /f unsafe, it can be usefull when a zone is not needed to be safe anymore (Or if the admin make a mistake with /f safe)

    Eventualy, some /f force-unclaim, but the safe/unsafe do the same thing.
    Thx a lot :)
     
  4. Offline

    zajacmp3

    @Olof Larsson

    Can I suggest some feature? Towny was lacking it and now it is not supported for a while or anymore.

    My idea is for servers that want PvP but not with its chaotic part where everyone can kill everyone.
    Are you able to make that only factions at war are able to kill each other? And only that Admin is able to start the war?
     
  5. Offline

    Brettflan

    This one confused me briefly too. Just use /f unclaim while standing in the safe zone area you want to remove.
     
    Amrac likes this.
  6. Offline

    ding_chavez

    Hey,

    First of all, great plugin, 99% of it works and my server is really starting to draw interest and take off because of it. However there's one big problem I can't seem to work out:

    When a neutral or hostile right clicks to open a chest or furnace, they get the message that opening it is restricted, but it still opens, and they can still remove items from it.

    Any ideas on how to fix that?

    -ding
     
  7. Offline

    Amrac

    +1
    For good pvp, its important that neutral cant pvp, only faction at war.

    Didn't know, thx :)
     
  8. Offline

    Glenagore

    How do you install this plugin? When I download it, there is no .jar and unzipping it just gives me a folder.
     
  9. Offline

    Brettflan

    You should get a ZIP file with the plugin's JAR file inside it.
     
  10. Offline

    Glenagore

    Nope, all I get is com, gson-lincense.txt, LGPL.txt, LICENCE.txt, META-INF and plugin.yml

    I'm not familiar with Bukkit so I'm not sure what to do.
     
  11. Offline

    Brettflan

    Those are the contents of the JAR file, which it appears you are opening.
     
  12. Offline

    Hakaslak

    I'm getting a lot of duplicate messages about random people not online that are leaving my faction over and over. This issue has been happening ever since 1.4 came out.

    [​IMG]
     
  13. Offline

    zajacmp3

    I think exactly the same :)

    @Olof Larsson are you able to do it?
     
  14. Offline

    T4L_Goose

    Is there any possibility that you will allow Faction names to have spaces?
     
  15. Offline

    Hunt800

    EDIT:
    Okay, so I got "safeZoneDenyBuild" set to true (I want to use iZone to manage building in safezones). However, it seems to ignore iZone completely when building. Like, players can build in the city even though iZone is flagged with protection. Yet, for some reason they can't destroy.

    I don't know if it's just impossible due to the priorities of each plugin, but I was wondering if anyone could help me get this working.
     
  16. Offline

    Glenagore

    When I download the .zip unzipping it turns it into a .jar and within milliseconds it turns into a folder. I've looked everywhere for a way to fix this but I haven't found anything. Anyone know what to do?

    Edit: Nevermind, I fixed it. My stupid computer was doing some retarded extraction method which created random folders. Sorry for wasting your time.
     
  17. Offline

    Rogueleader89

    Just found this plugin lately, fits my needs perfectly (and saves me a lot of time coding :) ). Only one gripe at the moment is the lack of a warmup time on /f home. The myhomes plugin for instance does this via a configurable time a player has to wait before tping home, that tp being stopped entirely if they are attacked during said time.

    Other than that, everything seems to be working great, it would be nice if ops had a way to remove players from a clan (such as when someone is banned from the server), but for the moment the automated system works.
     
  18. Offline

    Boovmnoid

    Is there any way to turn friendly fire off? Also is there any way to kill people in their own territory? Sorry if this has been asked already, I couldn't find anything on this topic.
     
  19. Offline

    shadydeath999

    maybe u can allow neutral factions to get hurt in own territory
     
  20. Offline

    Oogygalla

    guys, call me stupid if this is stupid but....

    it keeps spamming the chat with `No faction! - "The faction for people with no faction"
    "empire - the great empire"

    which is my empire..
    but..
    WHY?
    im probably missing something really obvious cause it keeps spamming the chat with that..
    help please!
    ty!
     
  21. Offline

    shadydeath999

    is because of the claimed faction zones when u enter a faction zone u get a message of what faction zone u are entering
     
  22. Offline

    Tremlin

    I do not know if you already have an intention to design this aspect, but playtesting it with some others, I found two features that would be nice to add:

    - Have it where you can add in a reward/penalty system for alliances and enemies. Have it where the admin can put in an option where every alliance formed gives a variable power bonus/penalty, and every enemy gives a power bonus/penalty. That way the server can encourage/discourage such politics depending on how the server will go.

    - Have an option for a power bonus to the faction when it has a member or members online, to encourage regular play and not just occasional logins to maintain faction power.
     
  23. Offline

    Brettflan

    There is no build 680 yet. The latest build is 670, which is a Recommended Build. I've briefly tested Factions 1.1.6 in RB 670 and found no obvious new problems.

    If you're still having a problem, can you provide the actual CraftBukkit build number, the version of Factions you're running, and a description of your problem beyond "it doesn't seem to work"?
     
  24. Offline

    Exone

    hm, can players destroy blocks in safezones?
    Could there be an option to prevent this?

    Lovely plugin. Keep it up! :D
     
  25. Offline

    Dylan Helling

    Ok I am having a problem, I am using permissions along with this plugin, but i have no text messages that pop when entering others territory. Also the faction map doesnt stay on when i put the right cmd in. If you can help thanks oh and i already have the permission nodes put into permissions.

    Edit: also territories are not working for some reason, and the power doesnt decrease during deaths, and safeclaim doesnt work
     
  26. Offline

    Insanehero

    Is it possible to assign factions to different ranks/prefixes im the permission plugin
     
  27. Offline

    T4L_Goose

    Just an idea: How about giving Faction Admins the ability to Merge factions? Say both faction admins agree to merge their factions, both factions would keep their land and it would then belong to one single faction.

    Maybe make it so the new merged faction name would be hyphened or something to include both names, and the lesser faction admin would then become a moderator for the merged faction.

    The commands could be something like:
    Code:
    /f merge <faction you would like to merge with>
    - This would send a merge request to the faction leader of the faction you are requesting a merge with

    The faction leader could then either do
    Code:
    /f merge accept
    to accept the merge, or:
    Code:
    /f merge deny
    to deny the merge.
     
  28. Offline

    Brettflan

    Players should be prevented from building in safe zones by default.
    Anyway, safe zone options are configurable in /Factions/conf.json:
    Code:
      "safeZoneDenyBuild": true,
      "safeZoneDenyUseage": true,
      "safeZoneBlockTNT": true,
     
  29. Offline

    T4L_Goose

    Also, would you guys ever consider making your mod do some neat stuff with Dynmap? Like maybe show faction claimed land and such right on the map?
     
  30. Offline

    Aaron113

    I would like to see either our factions names added into the name that floats above our heads or color them like chat does (green, purple, red, white). It'll make it easier to determine who each person is.

    Both would work too.
     
  31. Offline

    Jackson413

    two suggestions for you:
    if a faction owner invites someone to join his/her faction, the person receiving the invitation should be able to do the command /f accept or /f decline if they do want to. If they have already been invited, by another, make it so that they have to decline the first invite.

    also, it has become quite apparent in my server that area protection is quite annoying. our server is supposed to allow another faction to be able to destroy another's base.

    could you please make an option to be able to disable that please?
     
Thread Status:
Not open for further replies.

Share This Page