[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

    daddatv

    Shouldnt there be a permissions node for disabling faction area-protections?
    I mean, right now, admins cant open up chests/doors that are locked by a faction.
     
  3. Offline

    ledhead900

    I know we need to wait for somone to fork it and take over the plugin to get our voices heard.
     
  4. Offline

    Deathfromace

    Yes its in the config file...
    Code:
    "homesEnabled": true,
    
    You want it false.

    What? If you mean admin of the server its /f bypass if you mean admin of a guild...well anyone within the guild can open all chests on guild land.

    Its in the faction file. Just delete the whole line that deals with a certain faction for example
    Code:
    "19": {
        "relationWish": {
          "6": "ALLY",
          "21": "ALLY",
          "29": "ALLY",
          "15": "ALLY"
        },
        "invites": [
          "3lancer",
          "elemeental68"
        ],
        "open": false,
        "tag": "Sect13",
        "description": "A clan of honor bound mercanaries who thrive on war and commerce",
        "home": {
          "world": "world",
          "x": 176.69999998807907,
          "y": 63.0,
          "z": 373.30000001192093,
          "yaw": 98.65189,
          "pitch": 85.79999
    
    The number at the top (19) is the guild ID so just delete from that number all the way down to its pitch and the guild is gone. If you simply want a guild to be disbanded do to inactive members you can change that in the config file on when it will kick people from a guild and once all people are kicked the guild is gone. I personally have it set to 8 days to kick people.
     
  5. Offline

    Brettflan

    I haven't tried 803 yet, but from the description of the problem I don't see how Factions can be causing it.

    Use Permissions. There's a link in the first post for more info on that.

    If you're using 1.1.8, there's a command for it.


    Since Olof no longer has time to work on the plugin, I'll make a new topic for it in the next few days so I can keep the first post updated.
     
  6. Offline

    ledhead900

    Any Idea what it could be ?
     
  7. Offline

    Brettflan

    Offhand, no. You also seem to be loosely describing several different issues in your post.
     
  8. Offline

    Clavus

    Hey, since MC 1.6 added Nether support, can you give me a rundown of how Factions behaves there? Are all Nether areas unclaimed by default or do they have some kind of connection to claimed areas in the normal world? My main concern is that if people claim lots of Nether area they can use gates to teleport into enemy strongholds in the normal world.
     
  9. Offline

    Brettflan

    There shouldn't be any problems since Factions supports multiple worlds (I've used it extensively with the Nether plugin), but... we'll know for sure whether a further update will be needed once they release a 1.6 compatible version of CraftBukkit.

    EDIT:
    By the way, for clarification, it just treats multiple worlds basically as further claimable areas. However, one consideration: it's still 16x16 chunks, so proportionally Nether claims could be considered to be more valuable.
     
  10. Offline

    LSky

    I'm using permissions, but I couldn't find any documentation that mentions more than just three permission nodes.
     
  11. Offline

    embty

    I made a dungoen map and dont want players to lose faction power on that dungoen map. If i remove the factions premission they wont lose power?
     
    ledhead900 likes this.
  12. Offline

    ledhead900

    MC 1.6.x Wish list for factions plugin in order of priority IMO.

    1. Undo command specificly for safezones < this ones a biggy
    2. Iconomy 5 - X version support for permissions use of claim and create, maybe home as well
    3. Deley on /home during wartime - sorry I just dont see any reason to delay home when not at war
    4. Factions claims must be claimed on the border of an existing faction you own < obviouse reasons this one!
    5. Config for a Timer based War event of some kind where all nations will be under war for the duration of this time .
    6. Wilderness Antibuild rules < should be easy code copy paste from safezone antibuild stuff I think
    7. Fix Preffix with Ichat users so that the color symbol is & not what ever that no longer and since died symbol is
    8. Dynmap Region support - to show faction terriotry using dynmaps Region show feature.
     
  13. Offline

    Mosh Mage

    is there *any* way of translating this without having to hack the .jar?
     
  14. Offline

    T4L_Goose

    THIS
     
  15. Offline

    Magesblood

    Already added in 1.1.8 type /f unclaim
     
  16. Offline

    ledhead900

    I don't think that works on safezones!, Thats for unclaim faction zones.
     
  17. Offline

    Deathfromace

    That works on faction zones and safe zones (if admin) but not in mass. I did find out going to the map file and deleting all the lines for the safe-zones works just as well though...but a command would be nice.
     
  18. Offline

    ledhead900

    How do you use the /unclaim for safezones then ?
     
  19. Offline

    Deathfromace

    If you are the owner of the server simply go on the safezone and do /f unclaim
     
    ledhead900 likes this.
  20. Offline

    ledhead900

  21. Offline

    hayhay89

    I know this probly isnt going to help but.
    I recently put my server up to the lastest dev version of bukkit and installed this plugin and it doesnt save any data So when i make a faction leave and rejoin its not there anymore. Im not sure if this is just cause in testing still or if the update has affected this pluging.
     
  22. Offline

    Mosh Mage

    (first, does 1.8 has a own topic?)
    Also, i was thinking: What about a "admin faction" ? not a safe-zone, as safe-zones deny PVP and, by god, my server is PVP oriented.

    What i wanted to do was: have some buildings (such as arenas, and stuff) in "Admin Faction" so players could PVP there but couldnt destroy anything

    edit: factions.admin ability to /f home [faction name] for faster tp and snooping in whats going on. i dont like to do it, but its the one way i have to see how everythings is doing
     
  23. Offline

    ledhead900

    Id be more interested in Admin faction being able to pvp and destroy but not build and then reset the zone after war but I guess thats what WAR from tomytonny is for.
     
  24. Offline

    BioRage

    Perosonal Request, once you take over the plugin, can you add upkeep /taxes back in please?
     
  25. Offline

    2insane

    Hey! Just an idea for later free time- Add an option in the config to make it so people who have created a faction in the past and have been conquered by a rival faction can no longer form new factions. Making a faction would then be a one-time thing, and henceforth would motivate people to conduct politics, as well as form armies for defense against enemy factions.

    Could be as simple as a .txt file that contains the names of people who have founded factions and can no longer found new ones.

    Thanks! This is really an amazing plugin you have here!
     
  26. Offline

    Clavus

    I'd love to see this too. Most players on my server us dynmap as a minimap, and it'd be great if it could show faction areas.
     
  27. Offline

    Magesblood

    Is there anyway I can make it so players only regenerate power while online?
     
  28. Offline

    Deathfromace

    Are you still planning on taking this over? I noticed a day or two ago the first post was edited saying he would no longer support it and for others to take it over. I only really use one mod on my server at this time and its Factions. Without Factions my server along with many others would not be as fun.

    So if you are still planning on taking the mod over myself and many others would be very appreciative.
     
  29. Offline

    Brettflan

    That'll be in the next release. I actually just added that a couple of days ago after noticing that power was regenerating while players were offline.

    As I said, yes.
     
  30. Offline

    ledhead900

    @Everyone

    I know your are all very keen to get this back but please be patient Brettflan is probably waiting for recommended craftbukkit build to be released before releasing any new work.

    I would agree it is pretty pointless releasing anything for 1.6 yet as 1.6 is bouncing around with updates by the day and Bukkit themselves are not going to work on recommended build until the patches slow down.

    If your updated already to 1.6 please find a method to roll back to 1.5 also if already have updated you are using bleeding edge craftbukkit builds that are not supported in any way so sit tight this plugin will return asap.
     
  31. Offline

    Brettflan

    The next release will be numbered 1.2.0. Features it should include:
    • players will now only regenerate power while actually online
    • ability to prevent power loss in specific worlds
    • ability to prevent land claims in specific worlds
    • command to unclaim all safezones
    • new "War Zones"; similar to Safe Zones, but PvP and monsters aren't disabled, and power loss can optionally be disabled for all War Zones (left enabled by default)
    I'll see about also preventing /f home from working if an enemy is within a specified radius, but no promises.

    I'm still working on it, and it'll probably be another few days before it's ready. I'll start the new Factions thread when I release it.

    EDIT: forgot to add safezone unclaimall to list above; added.
     
    Bjourk, Deathfromace and Mosh Mage like this.
Thread Status:
Not open for further replies.

Share This Page