[SEC/FUN] Factions 2.0.0 - Guilds, War and user-controlled antigrief [BukkitDev]

Discussion in 'Archived: Plugin Releases' started by MassiveCraft, May 29, 2011.

  1. Nevermind, Worked it out
     
  2. Ah, useful for the admins, not much use to users, and they are the ones who count ;)
     
  3. Offline

    formaldehyd

    Is there any way for a permanent Admin Bypass? I'm tired of typing the command every time. :(
     
  4. Offline

    Megalanias

    Is there a way to change the max lenght of faction names ? i try to change the factiontagmaxlenght with /f config factionTagLengthMax 20 but it doesn't work and when i change it in the config manually it rather doesn't work, why ? when i try to do it with the command it says that factionTagLengthMax doesn't exist ! what shuold i do ?
     
  5. Offline

    Brettflan

    Not currently, no. Olof might have more plans on the economy front.

    /f config wildernessDenyBuild true

    Depends on what plugin you use to grant/deny permissions. The kit "factions.kit.fullplayer" is granted by default, so if denying access to individual commands doesn't work for you you might additionally try denying that kit as well.
    The disable nodes have been removed since each command has its own permission now.

    does too

    Not currently, but it's not a bad idea. I'll note it down as a possible future update.

    What power levels and owned land amount does it show when one of those people uses /f who?


    Setting a permanent power level for specific factions is a possible feature I've investigated for somebody else, but they weren't interested in the end and it's a case of "too many ideas, too little time".

    Sure thing.


    /f autoclaim

    Nope, though when you enable it, it should last until you next restart the server.

    Make sure you spell it right. Just tested it in 1.5.9 beta, worked fine:
    Code:
    >f config factionTagLengthMax 30
    04:53:52 [INFO] "factionTagLengthMax" option set to 30.
    >f config factionTagLengthMax 10
    04:54:00 [INFO] "factionTagLengthMax" option set to 10.
     
  6. Offline

    Megalanias

    okay thanks, now it works xD
     
  7. Offline

    Guenael

    hello how i can prevent people to leave faction (/f leave) ?
     
  8. Offline

    crosseyeman

    I recenty installed factions with group manager, and everything is working fine other than the fact only i can claim land and do desc, etc. I think i have all the permisiions right and was justwondering if you knew a fix .
     
  9. Offline

    7007King0770

    Hello I am back with another issue, every time someone types /reload for whatever reason, the server resets the factions conf.json file. Why does it do this and is it supposed to? I want the configuration a certain way, different from the default but it keeps reverting to default every time someone does /reload. I would like to hear your response to this issue, and possible ways to fix the problem.
     
  10. Offline

    WhiteDragon

    I'm having a problem with installing this plugin.

    So i downloaded Factions_1.5.1.zip. I put the .jar in my plugins folder. Started and stoped my server. No new folders showed up in the plugins folder. Also I don't know where my lib folder is.

    I am using bukkit version 1337.

    Any help would be nice.
     
  11. Offline

    Brettflan

    If you're using 1.5.9 beta, deny the permission factions.leave. If using 1.5.1, grant the permission factions.commandDisable.leave.

    If you're using permission kits in 1.5.9 beta, GroupManager doesn't yet appear to handle child permissions correctly so they won't work. You'll therefore need to specify every individual permission with GroupManager. I posted a list of GroupManager permissions on the last page, IIRC.

    Solution: don't use /reload. If you want to reload the factions data, use /f reload. If you want to reload the entire server, /stop and restart it.
    Eventually we should indeed look at why /reload causes such problems.

    Follow the link in #3 which you quoted, then follow the directions.

    @Deathfromace You'll be happy to know that Olof has gone ahead and implemented the ability to set permanent power levels for specific factions. :)

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  12. Offline

    Deathfromace

    Sounds great. The way I set faction power on my server not knowing it could go past the max I set made it really hard for factions to be taken over.
     
  13. Offline

    WhiteDragon

    @Brettflan: Thanks man.

    I can't believe I miss read this whole line:
    1. Create the folder “lib” in you minecraft server folder.

    Everything works now. Thanks again.
     
  14. Offline

    Syranh

    I have problem with permissions and factions. My Groups file in faction currently looks like this:
    Show Spoiler
    groups:

    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    permissions:
    - 'factions.participate'
    - 'factions.peacefulExplosionToggle'

    Member:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'warpplugin.warp'
    - 'econplugin.basic.*'
    - 'factions.create'

    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Member
    permissions:
    - 'modplugin.ban'
    - 'modplugin.kick'
    - 'modplugin.unban'

    Admins:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    - '*'
    - 'factions.disband'


    Still, nobody can join/create/leave factions, except for me (im op and admin)
    Am i doing something wrong?? Please respond to me! Please help :(
     
  15. Offline

    7007King0770

    I thaught reloading was the issue, it's not. Whenever you type /save-all and save the server (considering I have auto world save that saves it repeatedly) the faction conf.json file resets. This is very annoying and didn't use to occur before 1.8, so I am confused to as what is causing it. I made some significant changes to the default conf.json for my server, and default just wont work. Is there anyway to force the configuration permanently into the jar file?
    The reset also occurs every time the server turns off or on. In fact, when I change the conf there is no evidence to show that anything has actually changed, for some reasons is automatically forced into default format.
     
  16. Offline

    stxyzth

    Is there a way to set the configuration up so when a player goes to a different world on the server it wipes all their factions away, and they join factions on the world.
     
  17. Offline

    Ben_K

    Is there a way I can put a limit on the max number of people in each Faction?
     
  18. Offline

    XInstinctX

    Is there a way to make people spawn at the world spawn not there faction home ?
    I have tried a setting "homesTeleportToOnDeath": false, and that respawns people at a location which isnt the spawn or faction home :D ?
     
  19. Offline

    Switch0r

    Is there a way to set it so that a "faction land" cannot be unclaimed by an enemy, neutral or ally faction and still have pvp?
    I love the pvp battles but just not the land stealing part.
     
  20. Offline

    PsychoMantis

    /f config wildernessDenyBuild true

    I see that this is how to stop people building in the wilderness, is there a command to allow certain players to build in the wilderness?
     
  21. Offline

    Bloobubba

    Whenever i use a command like /f i get this message, any help? and i am on 1.5.1
    Code:
    org.bukkit.command.CommandException: Unhandled exception executing command 'f' in plugin Factions v1.5.1
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:355)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:757)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
        at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.permission(NijikoPermissionsProxy.java:180)
        at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.has(NijikoPermissionsProxy.java:163)
        at com.massivecraft.factions.Factions.hasPerm(Factions.java:449)
        at com.massivecraft.factions.Factions.isCommandDisabled(Factions.java:440)
        at com.massivecraft.factions.commands.FBaseCommand.validateCall(FBaseCommand.java:96)
        at com.massivecraft.factions.commands.FBaseCommand.execute(FBaseCommand.java:56)
        at com.massivecraft.factions.Factions.handleCommand(Factions.java:476)
        at com.massivecraft.factions.Factions.onCommand(Factions.java:470)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
        ... 12 more
    16
     
  22. Offline

    winter4w

    Is there a way you can see the owner of the faction and give a faction power
     
  23. Offline

    bezerktacticz

    Does anyone know if there is a conflict between gm and factions wen a faction is created it sais 7[Owner] instead of just owner. if anyine knows please tell me by pm :)
     
  24. Offline

    Brettflan

    So you're using 1.5.1 or older, and not 1.5.9 beta? If so, those permissions should indeed work. If not, not, since permissions were completely changed in 1.5.9 beta.

    save-all is not the problem, it does nothing that would affect Factions in any way. Are you manually (directly) editing any of the Factions JSON files? If so, you definitely need to read the configuration page of our user guide. The only time the JSON files are read are when the server starts up, unless you use the /f reload [file] command. Any changes made to those files while the server is running will otherwise simply be overwritten when Factions shuts down.

    Sorry, but no. Completely different sets of factions in different worlds (where a player can join one in one world, and another in another world) are not currently possible.

    Not currently, you can however limit the maximum amount of power any faction can have.

    With that setting at false, Factions does not do anything at all when players respawn. Nada. Perhaps you have another plugin altering their respawn location?

    There's no direct way to prevent factions from being able to claim land from each other at the moment, no.

    Only people who have admin bypass mode enabled (/f bypass) can build in the wilderness in that case.

    The NPE is occurring in GroupManager. Is it up to date? Either way, not a problem with Factions.

    You'll be able to set permanent power levels for specific factions in 1.6.0.


    By the way, I'm hoping to have 1.6.0 stable released within the next 10 hours or so.
     
  25. Offline

    Guenael


    I am using bpermissions, seem not possible to deny permission node. Could be possible to add this in the config file ? thx
     
  26. Offline

    Brettflan

    To quote from the official documentation (which everyone should read, of course), which even directly mentions bPermissions:
    1.6.0 (stable) is now released. Read the changelog here. Really, you need to read it since there have been some important changes. In fact, one specific instance is below...

    IMPORTANT NOTE: If you're coming to 1.6.0 from 1.5.1, you should also read the changes for version 1.5.9 beta. PERMISSIONS HAVE COMPLETELY CHANGED.

    I've updated the permissions listed in the official user guide, but I still need to update it for other changes so it's still a bit out of date. The changelog however is not out of date, so feel free to read it.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  27. Offline

    ledhead900

    @Brettflan
    Love the new factions can't find 1.6.0 tho its not listed in BukkitDev download list.

    Um I have a suggestion that u probably wont like as its a bit of work but overall probably the most useful idea since the recent changes on how we have new nodes and banks and things.

    Idea

    Custom Roles- I was thinking faction leaders could make roles in game for the faction like for example "Banker - that had the rights to manage the bank".

    Then they set people to those roles. Permissions will just be given out as Factions.role.name to the Faction leaders will need to setup various roles to allow people to do certain things. I understand I could do this with PEX but I don't really want people promoting through tracks though I could do possibly do it.

    It's baffled my mind for some time now though as to why you guys have not chosen to allow factions to assign roles and commands the roles can do. Maybe you could look into organizing the node packages for faction roles that can be assigned in by the leader This way your not changing nodes around your just adding them under role names and groups that have that role name can assign that role if they own a faction and they are the leader.

    Us admins need only give the package role name out such as "Factions.role.banker" to the groups we wish to allow to accept the role in a faction.

    I completely understand if u do not want to code this. Tho it be a shame as its pretty much the only thing I can think of that is missing now.

    EDIT
    Scratched out the 1.6.0 mumble. Still love the new revision you guys work hard at this and it shows once again.
     
  28. Offline

    Switch0r

    So now i can with "/f permanentpower" ?

    Can i use my saved files from 1.5.1 ( board.json, factions.json, players.json) in 1.6.0 or do i need to delete them ?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  29. Offline

    Jigsaw

    Can't get the bank or economy features to work in the 1.5.9 and 1.6.0 version of Factions. I have Essentials Eco and I have installed the register plugin. Here is my start message when I start the server:
    Show Spoiler
    Code:
    2011-10-25 12:27:23 [INFO] [Factions v1.6.0] Will use this plugin for permissions: Permissions v2.7.7
    
    2011-10-25 12:27:23 [INFO] [Factions v1.6.0] Loading board from disk
    2011-10-25 12:27:23 [INFO] [Factions v1.6.0] Found and will use features of Spout v1.0.6.449
    2011-10-25 12:27:23 [INFO] [Factions v1.6.0] Economy integration through Register plugin successful.
    2011-10-25 12:27:23 [INFO] [Factions v1.6.0] === ENABLE DONE (Took 151ms) ===


    As you can see it recognizes the register plugin but when I type /f money balance I get this error:
    Show Spoiler
    Code:
    12:30:01 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NullPointerException
            at com.massivecraft.factions.Faction.getAccount(Faction.java:126)
            at com.massivecraft.factions.integration.Econ.sendBalanceInfo(Econ.java:84)
            at com.massivecraft.factions.cmd.CmdMoneyBalance.perform(CmdMoneyBalance.java:39)
            at com.massivecraft.factions.zcore.MCommand.execute(MCommand.java:126)
            at com.massivecraft.factions.cmd.FCommand.execute(FCommand.java:59)
            at com.massivecraft.factions.zcore.MCommand.execute(MCommand.java:116)
            at com.massivecraft.factions.cmd.FCommand.execute(FCommand.java:59)
            at com.massivecraft.factions.zcore.MCommand.execute(MCommand.java:116)
            at com.massivecraft.factions.cmd.FCommand.execute(FCommand.java:59)
            at com.massivecraft.factions.zcore.MCommand.execute(MCommand.java:131)
            at com.massivecraft.factions.zcore.MPlugin.handleCommand(MPlugin.java:206)
            at com.massivecraft.factions.zcore.MPlugin.handleCommand(MPlugin.java:216)
            at com.massivecraft.factions.zcore.MPluginSecretPlayerListener.onPlayerCommandPreprocess(MPluginSecretPlayerListener.java:26)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.java:288)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:750)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:722)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:471)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)


    I really need the economy part of this plugin to work. Any suggestions?
     
  30. Offline

    lauris3722

    Please hook into AdminCMD to disable /twp in enemy territory.. Played are using /twp to teleport away from enemies.
     

Share This Page