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

    MysticAwesome

    Nope theyre not in ally or faction chat and also theres no messege that comes back to them. They type something and then nothing shows up. Theres no plugin that can do that its wierd :/ Any help?

    YAY I FIXED THE ERROR! But how can I make it so people can open other chests in any territory?

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

    rodfoflmao

    Only experienced some minor issues with the plugin, but they were my bad - Otherwise, good job :)

    Two things:
    The config file is a pain to read, does json support the values on different lines?

    And now, with the removal of the safezone radius claiming tool, how do i go about claiming a very large safe area?
     
  3. Offline

    killerhunt0

    @Brettflan- Good Day Sir! I have a few questions that you may be able to assist me with. So here's the scoop. I am having issues with Faction Admins getting kicked from their own faction for being inactive for 10 days. The faction still remains, just without an admin. I was wondering if there was a way that you could promote another player in the faction by some command? (For server admins) Or maybe possibly add in something that disbands the faction if the owner is kicked.
    Thanks
     
  4. Offline

    Brettflan

    1. Out of curiosity, what was it?
    2. Run these commands once each:
    /f config territoryProtectedMaterials chest
    /f config territoryProtectedMaterialsWhenOffline chest

    1. The values are on different lines. Maybe you're running a Linux based server but opening the file in Notepad on Windows, which doesn't handle the different line-endings correctly? You should get Notepad++ or another advanced text editor.
    2. Your best bet is probably to use autoclaim. I explained on the last page the reasons that radius claiming was not migrated over: essentially, too much potential for mayhem.

    Strange, the inactive player kicking routine is supposed to handle that sort of situation. I'll have to look into it when I have a chance.
     
  5. Offline

    Keseff

    1)Disable Hunger in Safezones? (or is that worldguard)

    2) I define a region in worldguard and set mob-spawning disabled there. However that region is also Wilderness and mobs are still spawning. Is factions overriding this? What can I do to prevent this?
     
  6. Offline

    rodfoflmao


    Aha, You've got it with 1, i'll get Notepad++ and see how that works, thanks :)

    And autoclaim took a while, but it worked, thanks.
     
  7. Offline

    MysticAwesome

     
  8. Offline

    thernztrom

    Hello @Brettflan I have some erros that appeared in my server.log.
    I run RB1337, Factions 1.6.1 with OKChat, PermissionsEx, CommandBook, Spout rb510, Register and Jobs.
    Code:
    2011-11-02 20:32:20 [SEVERE] [Factions v1.6.1] Error creating faction bank account through Register: faction-0
    2011-11-02 20:32:20 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NullPointerException
        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:501)
        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)
    This error occured twice. People may have created factions under this time, or joined/left. I have around 10-15 on my server most times. Two of the players on my server suddenly said their factions they recently created had vanished.. could it have to do with this error?
     
  9. Offline

    Brettflan

    1. Not currently, but I guess it's an idea for an optional feature.
    2. Factions only prevents certain creature spawn events, never the other way around.

    I see you're using Register and have hooked Factions into it, but you didn't list an economy plugin there. Are you using iConomy? EssentialsEco? BOSEconomy? Based on the error, it looks like Register isn't hooked into an economy plugin.
     
  10. Offline

    thernztrom

    @Brettflan Wopps, my bad.
    I use iConomy 6.0.7b with mysql.
    It is, Jobs use Regsiter and it works. Out of maybee 5 factions created, only 2 failed. (which gave this message)

    I had to use Register.jar with Jobs to make it work, do I have todo any additional configuration with Factions to also make it hook into Register?
    Weird thing is that it worked the first 2-3 times when people created the factions, but the 2 last didnt.

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

    owenftw

    Would be awesome if the admin of a faction could place a "King" or "Leader" NPC which would have around 250hp, Iron sword, Iron armour. and if another faction kills a factions king/leader npc, they are rewarded money/items or some land.
    And money is taken from every member of the faction whos leader npc was killed . Npc would respawn every 30mins.
     
  12. Offline

    paunk

    suggestions :

    -people cannot claim worldguard protected regions.
    -OPs can bypass factions protection

    would be great
     
  13. Offline

    Kain888

    Hey this setting is nice: "claimsRequireMinFactionMembers":

    , but can you add same but only regarding claiming enemy faction (like faction can claim wilderness with let's say 1 person, but can't claim enemy territory till, let's say 3)? That would be good for small/new factions to protect themselves, yet would disable their war capabilities until they will manage to get more people in. :)
     
  14. Offline

    WhiteDragon

    I am using bpermissions and i set it up like this:
    Code:
      default:
      - bPermissions.build
      - bukkit.broadcast.user
      - iConomy.user
      - ^factions.kit.fullplayer
      - factions.autoclaim
      - factions.chat
      - factions.claim
      - factions.description
      - factions.disband
      - factions.help
      - factions.home
      - factions.invite
      - factions.join
      - factions.kick
      - factions.leave
      - factions.list
      - factions.mod
      - factions.setpeaceful
      - factions.power
      - factions.sethome
      - factions.show
      - factions.tag
      - factions.version
      - factions.unclaim
      - factions.unclaimall
    But they are still able to make factions...I don't want them to be able to create factions as a default user. Am I doing something wrong here? If so plz tell me.
     
  15. Offline

    Jozeth

    Why can members create factions? i using permissionsex

    Dude same here :p

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

    Ziden

    Why is /f officer not working ? :(
    Can i do something quick to fix it ?

    Thanx for your time !
     
  17. Offline

    outi

    Is there any workaround for tnt duplication problem?
    When i put a TNT block, next to redstone torch, on teritory of other faction, i'm getting back the tnt block but the tnt "entity" still explodes.
     
  18. Offline

    sajjad

    what happened can anyone claim safe land on the most resent update? fix please to much spawn kills!
     
  19. Offline

    Brettflan

    For anyone having problems with Register, try this forked version out to see if it helps:
    https://github.com/Acrobot/Register/tree/master/dist

    The error message you posted above was from someone using /f money balance, not from the faction creation.

    Direct support for NPCs is not currently planned, sorry.

    Both features are already in, so you're welcome.

    Thanks for the suggestion, but it's not currently planned. It would add a further layer of complication and be a potential source of confusion and player vulnerability.

    Have you tried "^factions.create"?

    Using an unsupported dev build you compiled yourself, then? In that case, you can post a detailed bug report over on GitHub as a ticket.
    I'll also reiterate that the source on GitHub is not always in a stable state.

    Without a ridiculously elaborate workaround, no, sorry. It's a bug that the Bukkit team will need to fix.

    Huh? Did you grant the permission factions.managesafezone or factions.kit.halfmod (or higher) to default users or something?
    I've tested as a normal user (without those permissions) and got the "You can't claim land for SafeZone" message.
     
  20. Offline

    Ziden

    Hehe yea im using the compiled source from the dev build :p

    Could you create fixed releases of the source at github ? Im aways using dev versions hehe

    I do this cause i do some changes in factions, nothing really different just to fit the server. The only cool thing i was tryng to do is divide /f owner in 4 8x8 parts of the chunk . I couldnt do it, if i complete it i could post the source here (cause ima git noob and idk how to make a pull request lol)

    Thanx alot for your time :)
     
  21. Offline

    APhilosopher

    i have just experienced another reason why it would be helpful to implement a social spy feature for admins into the f chat function,
    i was just digging through my logs and found a faction chating with each other about how 3 of them are using xray and getting tons of diamonds etc, all while their is an admin online totaly oblivious to their convo,
    yes our server has posted in the /rules no mods or hacks or xray
    if their was a social spy feature then my admin could have had them banned right away, but instead its taken me 4 days to find this in the logs and only by chance, as such who knows how many diamonds etc has been pumped into our economy which could have been averted if not for this chat feature that they can use behind the back of the admins,
    suppose i will just have to disable the f chat feature for my players, being vigilant to keep our economy stable fair and balanced is more important to me then letting them chat behind the admins back, at least i waited for such an occurence to happen rather than assuming that it could, let there be no doubt your lack of social spy support is making it more difficult to run a server,
    but thats ok, i'll just disable the f chat function for the players so they dont even have the ability, suuure this is punishing the people who arent doing anything wrong, but what options do i have?
    its a thought :D :D :D

    sry about the lack of breaks in paragraphs, i put them in there but pressing post reformated the post, i have tried editing the post 5 times to include those breaks, yet still it will not let my post have breaks, hmmmm

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

    Keseff

    Suggestion: Console command for specific chunk claiming.
    For example: Using ConsoleScheduler, turn specific chunks from safezone into warzones.. etc.
     
  23. Offline

    Teffan

    Got a problem with Spout if anyone can help.

    I seem to only be able to see capes on Admins and Moderators, but when i change the conf.json to "spoutFactionAdminCapes": false, "spoutFactionModeratorCapes": false, it doesn't show a cape on normal members and still seems to show on only Admins and Mods.

    I have tried to manually edit the conf.json and then reload it into the running server and also used the /f config command ingame which both have the same effect!

    Any idea's?

    Cheers!
     
  24. Offline

    ollyjohnston

    Hello, is there anyway ti make the default permissions kit , halfplaer rather than full player ?
     
  25. Offline

    Malific

    Okay.. I'm running PEX and Was using the kits in permissions but no one was able to do anything.

    After this I put in the individual nodes but am having mixed luck. When some joins the server I seem to have to /reload while they're online in order to make them able to use faction commands, but not all of them. It's very odd.
    For example, some one can use /f who but not /f help and they have both permissions in their group.

    I'm using 1.6.1 from bukkit dev.

    I noticed the documentation says it's not 100% accurate Are the node different?
     
  26. Offline

    filszyp

    Code:
    2011-11-05 20:14:18 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.UnsupportedOperationException: Not supported yet.
        at com.sk89q.worldguard.protection.regions.ProtectedCuboidRegion.getIntersectingRegions(ProtectedCuboidRegion.java:200)
        at com.massivecraft.factions.integration.Worldguard.checkForRegionsInChunk(Worldguard.java:112)
        at com.massivecraft.factions.FPlayer.canClaimForFactionAtLocation(FPlayer.java:661)
        at com.massivecraft.factions.FPlayer.attemptClaim(FPlayer.java:766)
        at com.massivecraft.factions.cmd.CmdClaim.perform(CmdClaim.java:32)
        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: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 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)
    That's what I'm getting in console when anybody tries /f claim
    I noticed there's no problem if "worldGuardChecking" is set to false. I'm using WorldGuard 5.3 and Factions 1.6.1 on Bukkit 1337
    Please help.

    Hey, I'm using a default PEX plugin for chat (chatmanager) and after some configuration it works like a charm with Factions chat formatting. Also iChat, nChat and similar simple plugins were working ok. All I used was "chatTagReplaceString": "{FACTION}" and chat managers had no problem picking up the {FACTION} thing :)
    My configuration in factions conf looks like this:
    Code:
      "factionChatFormat": "§e[GuildChat]§a%s:§f %s",
      "allianceChatFormat": "§e[AllyChat]§a%s:§f %s",
    
    and in chatmanager its:
    Code:
    display-name-format: '%prefix{FACTION} &b%displayname%suffix'
    global-message-format: '%prefix{FACTION} &b%displayname%suffix:&f %message'
    message-format: '%prefix{FACTION} &b%displayname%suffix:&f %message'
    
    In permissions I added for default group:
    prefix: '&f'
    so that any kind of colored /who commands look properly.
    Admin for example has: prefix: '&cAdmin'
    It may seem complicated but if you do all these things, it works perfectly.
    By the way I had a similar problem with < and > in chat when using some old version of hero chat I think. Its really easier to just pick another chat manager.
    Hope it helps.

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

    xandercage2

    Hey when i type /f or /factions im getting nothing comming up any ideas its the newest version of both bukkit and factions i have installed
     
  28. Offline

    aflyingiPh0ne

    Is there a way to make it world specific? On my server I want to have one world where it is just free build, survival and other things, but I would like to have another world with this in place. So could I make the permissions per world or how would I go about doing this?
     
  29. Offline

    xandercage2

    Any ideas?


    Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NullPointerException
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.permission(NijikoPermissionsProxy.java:241)
    at org.anjocaido.groupmanager.permissions.NijikoPermissionsProxy.has(NijikoPermissionsProxy.java:224)
    at com.massivecraft.factions.zcore.util.PermUtil.has(PermUtil.java:101)
    at com.massivecraft.factions.zcore.util.PermUtil.has(PermUtil.java:109)
    at com.massivecraft.factions.zcore.MCommand.validSenderPermissions(MCommand.java:187)
    at com.massivecraft.factions.zcore.MCommand.validCall(MCommand.java:153)
    at com.massivecraft.factions.zcore.MCommand.execute(MCommand.java:122)
    at com.massivecraft.factions.cmd.FCommand.execute(FCommand.java:59)
    at com.massivecraft.factions.cmd.FCmdRoot.perform(FCmdRoot.java:124)
    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: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 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)

    also giving me this [SEVERE] Error occurred while enabling Factions v1.6.1 (Is it up to date?): com/earth2me/essentials/chat/IEssentialsChatListener
    java.lang.NoClassDefFoundError: com/earth2me/essentials/chat/IEssentialsChatListener
    at com.massivecraft.factions.P.integrateEssentialsChat(P.java:193)
    at com.massivecraft.factions.P.onEnable(P.java:92)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.earth2me.essentials.chat.IEssentialsChatListener
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:36)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:319)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:264)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:332)
    ... 12 more

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

    ledhead900

    @Brettflan

    I got this today using latest version of factions
    using CB 1337

    Code:
    2011-11-06 15:15:04 [WARNING] Task of 'Factions' generated an exception
    java.lang.NullPointerException
    at org.getspout.spout.player.SpoutCraftPlayer.getPlayer(SpoutCraftPlayer.java:1046)
    at org.getspout.spout.player.SimplePlayerManager.getPlayer(SimplePlayerManager.java:45)
    at org.getspout.spoutapi.SpoutManager.getPlayer(SpoutManager.java:294)
    at com.massivecraft.factions.integration.SpoutFeatures.updateSingle(SpoutFeatures.java:222)
    at com.massivecraft.factions.integration.SpoutFeatures.updateAppearances(SpoutFeatures.java:155)
    at com.massivecraft.factions.integration.SpoutFeatures$1.run(SpoutFeatures.java:167)
    at org.bukkit.craftbukkit.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:137)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:441)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:417) 
     

Share This Page