[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

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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:

    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.  
  3. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Ok Who's Idea was it to make the safezones work how they do I just converted my whole 7000x7000 size world into a safe zone by mistake :p

    I have a Request for the way safe zones work.

    Instead of them working as they do and bealive me it was a shock that /f safe 2 = 25 chunks
    when I pre did a /f safe 35 :p

    I propose that there be a safezone faction instead of a command by that I mean you do something like /f create name:S or /f create safezone this would then create a faction with a fake player owner called safezone.

    You could then have a toggle for safezone mode such as /f safe "replacing the old command for making a safezone"

    To enable safezone creationg mode this would then change the faction list to show only safezones created on the server and allow the groups with the create safezone permission to extend the safezones as if they were normal faction terrioritys using /f claim.

    When you where done you just exit out of savezone mode and start building up your safezone base.

    Thats just how I would have done it as currently the method used is extremly sensative and lacks any safety or removal from in game that I know of.

    EDIT:
    Another request!

    Ability to disable build in the wilderness, Free build out side factions is fine and dandy but eventually some server like me are going to want to close up the gap and force faction building only.



    Edit:
    Is this dead ? Someone should fork this until the OP arrives back. Some of these things are urgently needed.
  4. Offline

    embty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I agree. nothing is needed more than /f home delay or kind of machansim!
    Edit: Also forgot about Multiverse for ppl not to lose power on other maps..
  5. Offline

    Sol_Prower

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hey guys, I need help! I read the full users guide to configure the conf.json and made a few tweaks. I never tested the plugin before configuring the conf.json so I'm not sure if that's the problem or not. It keeps on putting a f in front on my name like this:
    [**NvSpGaming]fSol_Prower[Admin]
    I put chatTagRelationColor: false but it is still showing that. Help? I think it has something to do with the § because I am using iChat. Is there anyway you can use & instead of §?
  6. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I agree my users show a 0 at the end the and the f at the front like

    fzonename 0[Ichatpreffix][playername]:msg

    I was actually thinking of getting Iconomy and Essentias eco into this if somone was willing to take this plugin up and do it for us.

    Then would could charge for home and creation of zones. I think a delay would be handy but not needed for us.

    I think if you have essentials you could work around factions homes by turning off factions homes and use essentials with a cooldown.
  7. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    In your Factions conf.json file, try playing around with the "chatTagInsertIndex" value. That value determines where it inserts the faction tag (how many characters in).
  8. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I think I tried some of that but eventually I ended up ruining the config and it spat errors and I had re insert the correct template for the tags again.


    I never actully choose to screw with the lineindex tho I dont think its where it is placed more then it is the actual symbols it self.

    The issue I think and I may be wrong is that Minecraft natively uses the symbol that is currently used but Ichat uses an & and ichat sees the native symbol as nothing and instead shows the f if u look at my example.

    I understand now why the 0 is there that is a line index thing but partly due to the symbol see the symbol is no accetped in ichat but the line index is taking over where my Ichat prefix starts.

    IN game my Player Preffix should be &0[&coloridPreffix&0][Namewithcolor:msg "where colorid is color tag of groupcolor]

    I think due the line index it is actually taking over the & and thus coz the factions config says White or F at the start of the preffix for factions it also colors the 0 that should be telling the [ to be black into white.
    if that makes sense.

    Edit:

    Is it possible to have a Lineidex of 0 ? would that do if it was 0.

    Also what do you think about the ideas I gave for safezones and stuff is to much asking or can we compromise a little just to make it less dangerouse ?
  9. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'll see about adding a simple safezone unclaimall command. No promises on when I'll actually have time for it, though.

    Similarly for adding an optional /f home delay which cancels if the player moves. I'm actually the one who made the original implementation for that sort of teleport delay in the Essentials plugin (though it's been improved since then), so I have a good reference for it at least. Just not a lot of time lately to spend on stuff like adding that to this plugin.

    EDIT: and the problem which normally causes those values to be shown is if something gets inserted which causes two of those symbols in a row (i.e. "§f" inserted in "§7name" resulting in "§§f7name", or I think even "§f§7name" might cause problems).
  10. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Wish there was more time Id love to see Wildnerness no build as well.

    In anycase then at least your willing to look into it, So you got any ideas as to why the factions tag pereffix appear as they do I had an idea as to why not sure if your read it its above your post.

    EDIT:
    Narrowed done a possible bug for factions.
    after entering a safezone or faction zone items in inv and slots can be come out of sync and ghost.

    by this is mean u drop item it still appears in ur inv or slot but its not usable opening your invintory and mousing over them clears that up and it dissapears.

    Death and re loggin in also fixes it. I have only noticed this with Factions not towny
    Possible 803 bug ?
    since I also moved to 803 not long ago before Inoticed the issue.


    EDIT:

    Also noticed that it appears you in fact go clientsided for some reason ? somtimes the blocks reappear when u mine them or disspaear when placed also chunks go invisible sometimes.

    IM not what is doing this but I only noticed it on 803 and with factions it was fine until then.
  11. Offline

    LSky

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm not sure if this has been answered yet, but is it possible to install this plugin and set it so the claim functionality is disabled or not allowed for non admins? I like the faction part, I just don't like the land claiming capabilities that come with it.
  12. Offline

    simonlaw911

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hi, im a server owner, and i have factions, but i have repeated accounts of people making factions just to protect things, and to abuse protections. How do i disband other factions? i cant find a command for it, is there a text file i can edit?
  13. Offline

    embty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Theres this server that made it not possible to use /f home when theres enemies nearby "öne chunk". Tried to get the code of him but he said it is not for public and he could sell it to me lol
  14. Offline

    aphexboy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hi!
    I want to disable the /home command, is it possible?
  15. Offline

    daddatv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  16. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I know we need to wait for somone to fork it and take over the plugin to get our voices heard.
  17. Offline

    Deathfromace

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  18. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  19. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Any Idea what it could be ?
  20. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Offhand, no. You also seem to be loosely describing several different issues in your post.
  21. Offline

    Clavus

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  22. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  23. Offline

    LSky

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I'm using permissions, but I couldn't find any documentation that mentions more than just three permission nodes.
  24. Offline

    embty

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  25. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  26. Offline

    Mosh Mage

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    is there *any* way of translating this without having to hack the .jar?
  27. Offline

    T4L_Goose

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    THIS
  28. Offline

    Magesblood

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Already added in 1.1.8 type /f unclaim
  29. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I don't think that works on safezones!, Thats for unclaim faction zones.
  30. Offline

    Deathfromace

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    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.
  31. Offline

    ledhead900

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    How do you use the /unclaim for safezones then ?
  32. Offline

    Deathfromace

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    If you are the owner of the server simply go on the safezone and do /f unclaim
    ledhead900 likes this.
Thread Status:
Not open for further replies.

Share This Page