[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

    Ghostaunt

    Hi ! Is it possible to desable claim region and user-controlled antigrief ? User controlled antigrief because I've already it with worldguard. Thanks !
     
  3. Offline

    T4L_Goose

    Will you guys ever be enabling the use of Spaces for faction names? You seem to allow it for the titles.
     
  4. Offline

    Ryannober

    works for recomended build 766?
     
  5. Offline

    Sol_Prower

    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

    Fin999888777

    Hey guys, I have a problem. I really like this plugin and it workes really good, but I don't want all users to create their own faction, so I put permission on my server (yes I didn't have permission on my server before). And what happend??? I wasn't able to create a new faction or something else. It always says: you lack the permission to create a new faction. I am able to give the command /f ?. This Is what I have written in th permissions:
    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'factions.create'

    users:
    Fin999888777:
    group: Admins
    permissions:
    - 'factions.create'

    Need help I really like this amazing plugin.

    Sorry for my bad English
     
  7. Offline

    ledhead900

    Request
    1. Update to at leat CB 766
    2. Don't Abandon us plox


    Permissions Plugin Support

    This plugin has support for the permissions plugin. It will work very well without it thoug. These are the permission nodes:
    • factions.participate join factions etc (add this to the deafult group)
    • factions.create create new factions (add to default or possibly admins)
    • factions.manageSafeZone claim and build in safe zone (add to admins)
     
  8. Offline

    Fin999888777

    But this is exactly what I did. And it doesn't work. Could someone please sent my the code how I have to write it in the permission plugin??
    What do you mean with "update to at least CB 766"?can you sent me the link?
     
  9. Offline

    FoXxNoXx

    I'm using this plugin for a while now on my server and I'm really loving it!
    I have just 1 request though, it would be very nice to add a "/f war" command. When factions who are enemy to each other declare war by both using the "/f war" command they are in a war state. In war state everything can be destroyed, so no more protection from doors, blocks, shield, ect from your enemy. Untill one of the factions end the war.

    On my server the factions just build bases with big walls and there is not much interaction between them because they hide behind there walls. With this "war" it would make it allot interesting.
     
  10. Offline

    embty

    All we need is f home delay or not to allow poeple to tp when enemies are nearby.
     
    T4L_Goose likes this.
  11. Offline

    Kainzo

    Is there a way to disable the /f home teleport? this is a feature that I do not want to implement.
     
  12. Offline

    Deathfromace

    In the config file.
     
  13. Offline

    BindMind

    Sorry, but I can't help but feel ignored...
     
  14. Offline

    ledhead900

    I got Commnand Iconoy to give any plugin commands that dont use a currency, I can say it works fine with this and works fine with almost anything lol.

    I just made home,create faction,claim commands on my server all cost a bit of coin to use.


    Sure I will show you how you should have it setup.

    and by Update to CB I mean Update your Bukkit build "craftbukkit" to build 766 or the new reco build.

    Click on the Home button at the top of this website and look at the right side u can see list of recommended versions.
    Download eaither 766 or the latest and replace your version with that one. Be sure to make sure your plugins work and if not check back on these forums for updates for those.


    Here is how your permissions should be set like.
    PHP:
    groups:
      
    member:
        default: 
    false
        permissions
    :
        - /
    getconfigkey
        
    - /listconfigkeys
        
    - /momentum
        
    buttonwarp.amount
        
    buttonwarp.make
        
    buttonwarp.msg
        
    essentials.back
        
    essentials.clearinventory
        
    essentials.compass
        
    essentials.depth
        
    essentials.getpos
        
    essentials.protect.exemptplacement
        
    essentials.tpa
        
    essentials.tpaccept
        
    essentials.tpdeny
        
    factions.create
        
    falsebook.blocks.lift
        
    ichat.color
        
    mobRider.command.attack
        
    mobRider.players
        
    monstertamer.player.whistle
        
    showcase.finite
        
    worldedit.navigation.unstuck
        inheritance
    :
        - default
        
    info:
          
    prefix'&0[&eMember&0]&e'
          
    buildtrue
          suffix
    '&f'
      
    vip:
        default: 
    false
        permissions
    :
        - 
    essentials.ignore
        
    monstertamer.player.target
        inheritance
    :
        - 
    trust
        info
    :
          
    prefix'&0[&dVIP&0]&6'
          
    buildtrue
          suffix
    '&f'
      
    default:
        default: 
    true
        permissions
    :
        - -
    falsebook.ic.mc1200
        
    - -falsebook.ic.mc1201
        
    - /globalmessage
        
    - /rules
        
    - /season
        
    buttonwarp.getreward
        
    buttonwarp.use
        - 
    chaircraft.sit
        
    essentials.afk
        
    essentials.help
        
    essentials.helpop
        
    essentials.home
        
    essentials.info
        
    essentials.jails
        
    essentials.list
        - 
    essentials.mail
        
    essentials.mail.send
        
    essentials.me
        
    essentials.motd
        
    essentials.msg
        
    essentials.seen
        
    essentials.sethome
        
    essentials.spawn
        
    essentials.suicide
        
    essentials.tpahere
        
    factions.participate
        
    falsebook.anyic
        
    falsebook.blocks.*
        - 
    groupmanager.manglistp
        
    groupmanager.manucheckp
        
    groupmanager.manulistv
        
    groupmanager.manwhois
        
    iConomy.access
        
    iConomy.bank.access
        
    iConomy.bank.main
        
    iConomy.list
        - 
    iConomy.payment
        
    iConomy.rank
        
    jobs.join.*
        - 
    mcbans.vote
        
    mobRider.animals
        
    mobRider.command.go
        
    mobRider.command.stop
        
    mobRider.monsters
        
    monstertamer.player.catch
        - 
    monstertamer.player.check
        
    monstertamer.player.follow
        
    monstertamer.player.release
        
    monstertamer.player.wait
        
    nocheat.notify
        
    phatloots.use
        - 
    showcase.basic
        
    showcase.buy.finite
        
    showcase.buy.infinite
        
    signColours.*
        - 
    war.player
        
    war.warp
        inheritance
    : []
        
    info:
          
    prefix'&0[&7Guest&0]&8'
          
    buildtrue
          suffix
    '&f'
      
    trust:
        default: 
    false
        permissions
    :
        - 
    essentials.powertool
        
    essentials.tp
        
    essentialstele.tptoggle
        
    mcbans.vote.kick
        
    mobRider.command.goto
        - 
    monstertamer.player.befriend
        
    worldedit.extinguish
        
    worldedit.navigation.ascend
        
    worldedit.navigation.ceiling
        
    worldedit.navigation.descend
        
    worldedit.navigation.thru
        
    worldedit.navigation.up
        inheritance
    :
        - 
    member
        info
    :
          
    prefix'&0[&aTrusted&0]&a'
          
    buildtrue
          suffix
    '&f'
      
    mods:
        default: 
    false
        permissions
    :
        - 
    chestlock.admin
        
    essentials.burn
        
    essentials.deljail
        
    essentials.give
        
    essentials.god
        
    essentials.invsee
        
    essentials.item
        
    essentials.mute
        
    essentials.setjail
        
    essentials.setwarp
        
    essentials.spawner
        
    essentials.spawnmob
        
    essentials.teleport.cooldown.bypass
        
    essentials.teleport.timer.bypass
        
    essentials.togglejail
        
    essentials.tp
        
    essentials.tphere
        
    essentials.tpo
        
    essentials.tpohere
        
    essentials.tppos
        
    essentials.warp
        
    groupmanager.mangaddp
        
    groupmanager.manpromote
        
    groupmanager.manuaddv
        
    groupmanager.manudel
        
    groupmanager.manudelp
        
    groupmanager.manudelv
        
    logblock.*
        - 
    mcbans.ban.global
        - 
    mcbans.ban.local
        
    mcbans.ban.temp
        
    mcbans.ban.view
        
    mcbans.kick
        
    mcbans.lookup
        
    mcbans.mod
        
    mcbans.unban
        
    mcbans.vote.msg
        
    nocheat.airbuild
        
    nocheat.flying
        
    war.*
        - 
    worldedit.*
        - 
    factions.manageSafeZone
        
    buttonwarp.time
        
    buttonwarp.type
        
    buttonwarp.admin.list
        - 
    buttonwarp.admin.locate
        
    buttonwarp.admin.move
        
    buttonwarp.admin.freewarp
        
    phatloots.make
        
    phatloots.name
        
    phatloots.info
        
    phatloots.list
        - 
    reporter.reports
        
    CommandIConomy.Free
        inheritance
    :
        - 
    vip
        info
    :
          
    prefix'&0[&bStaff&0]&9'
          
    buildtrue
          suffix
    '&f'
      
    admins:
        default: 
    false
        permissions
    :
        - 
    '*'
        
    inheritance:
        - 
    mods
        info
    :
          
    prefix'&0[&4Admin&0]&c'
          
    buildtrue
          suffix
    '&f'
    I believe that Phonex Permissions and Essentials Group Manger are exactly the same to setup as well.
     
  15. Offline

    GmK

    Do I gather correctly, that on a multiworld setup with different permissions per world, if I only add the factions nodes to one world, that I essentially only enable Factions on that one world for the players?

    I know that the plugin itself isnt multiworld ready, but by going the way via permissions I can make it so, correct?
     
  16. Offline

    ledhead900

    Correct you would only get it working on the worlds that you add these commands to. For instance if you do not want the same commands on other worlds you would need to manually change each worlds permissions as u see fit and update them as u see fit.

    If you just wanted to Mirror the whole lot to all other worlds you can do that with GroupManger in its config you can setup something like

    Mirror:
    world
    - world2
    - world 3

    That may not be correct tbut it works much the same way this way every time u update someting in the main "world" it will sync between the others.
     
  17. Offline

    GmK

    Thanks - I am aware of the mirroring, but have been using different permission files for worlds since the so to say beginning, just wasnt sure if I could 'disable' Factions on a world that way.

    Let's give this baby a try!
     
  18. Offline

    embty

    But the biggest problem is even if you remove the permission nodes on the other other world poeple will keep losing their faction power when they die. I wish if theres a way to make it so players dont lose anything on the other world.

    Any ideas on having a Delay on /f home? or maybe stoping poeple from teleporting while theres enemies nearby "16x16 chunk" ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 8, 2016
    AS1LV3RN1NJA likes this.
  19. Offline

    Scott

    With the current tag system, is it possible to keep already formatted username colors from iChat and include the faction tag before the user and have the faction tag change color depending on the faction stances while retaining the colored names?

    Also, in safe zones users can't perform actions like harvesting crops, not sure if this extends to chests/doors/mechanisms.
     
  20. Offline

    ledhead900

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

    embty

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

    Sol_Prower

    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 §?
     
  23. Offline

    ledhead900

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

    Brettflan

    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).
     
  25. Offline

    ledhead900

    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 ?
     
  26. Offline

    Brettflan

    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).
     
  27. Offline

    ledhead900

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

    LSky

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

    simonlaw911

    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?
     
  30. Offline

    embty

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

    aphexboy

    hi!
    I want to disable the /home command, is it possible?
     
Thread Status:
Not open for further replies.

Share This Page