[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

    l104693

    I have the same error:
    Code:
    13:13:59 [WARNING] Task of 'Factions' generated an exception
    java.lang.NullPointerException
            at org.getspout.spout.player.SpoutCraftPlayer.getPlayer(SpoutCraftPlayer.java:1084)
            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)
    Running:
    Craftbukkit 1337
    Spout 521
    Factions 1.6.1

    I found another error! :)
    Code:
    15:08:33 [INFO] BadEeendje tried to use command /f home
    15:08:33 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NullPointerException
            at net.minecraft.server.Packet21PickupSpawn.<init>(SourceFile:22)
            at net.minecraft.server.EntityTrackerEntry.b(EntityTrackerEntry.java:240)
            at net.minecraft.server.EntityTrackerEntry.b(EntityTrackerEntry.java:192)
            at net.minecraft.server.EntityTrackerEntry.scanPlayers(EntityTrackerEntry.java:233)
            at net.minecraft.server.EntityTracker.addEntity(EntityTracker.java:85)
            at net.minecraft.server.EntityTracker.track(EntityTracker.java:47)
            at net.minecraft.server.WorldManager.a(WorldManager.java:16)
            at net.minecraft.server.World.c(World.java:881)
            at net.minecraft.server.WorldServer.c(WorldServer.java:161)
            at net.minecraft.server.World.a(World.java:2224)
            at net.minecraft.server.Chunk.addEntities(Chunk.java:634)
            at net.minecraft.server.ChunkProviderServer.getChunkAt(ChunkProviderServer.java:81)
            at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:236)
            at org.bukkit.craftbukkit.CraftWorld.loadChunk(CraftWorld.java:122)
            at org.getspout.spout.SpoutNetServerHandler.getFastPacket51(SpoutNetServerHandler.java:765)
            at org.getspout.spout.SpoutNetServerHandler.playerTeleported(SpoutNetServerHandler.java:732)
            at org.getspout.spout.SpoutNetServerHandler.updateActiveChunks(SpoutNetServerHandler.java:602)
            at org.getspout.spout.SpoutNetServerHandler.queueOutputPacket(SpoutNetServerHandler.java:482)
            at org.getspout.spout.SpoutNetServerHandler.sendPacket(SpoutNetServerHandler.java:473)
            at net.minecraft.server.NetServerHandler.teleport(NetServerHandler.java:426)
            at org.bukkit.craftbukkit.entity.CraftPlayer.teleport(CraftPlayer.java:325)
            at com.massivecraft.factions.cmd.CmdHome.perform(CmdHome.java:140)
            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 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)
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jul 15, 2016
  2. Offline

    Brettflan

    Duly noted.

    Hmm. Something better is coming up, the ability to change attributes of any faction to fit the attributes of a war zone or safe zone, and similarly change the attributes of the safe zone and war zone factions on the fly (though you'll be able to make new separate factions for the same purpose as well, of course). That's one of the big things Olof has been working on for the next release, and it's mostly complete.

    @Teffan Those options only provide a way to have faction admins and moderators given capes. It doesn't provide a way to grant capes to normal faction members, sorry.

    @ollyjohnston You can set the permissions as you like using your permissions plugin of choice (or bukkit's default permissions.yml).

    @Malific Sounds like a PEx problem, then. Make sure you've updated it to the latest version available. Much of the documentation does still need to be updated, but the permissions listed in the user guide are indeed already updated for 1.6.1.

    @filszyp Hmm, I'm honestly not sure. I don't use WorldGuard myself and someone else contributed the integration code for it. It looks like that code probably needs to be updated.

    @xandercage2 For your first post regarding /f and /factions not working, what does Factions output to the server console/log when you start the server?
    For your second and third posts and error logs, what versions of Essentials and GroupManager are you using? Are you sure they're up-to-date?

    @aflyingiPh0ne The multiworld settings are covered in the user guide.

    @ledhead900 Known error, non-fatal and minor and not worth worrying over (causes no real problems). Anyway, it should be fixed in the next release.

    @l104693 Your second error was triggered by someone using /f home, but based on the stack trace it looks to be a problem in either Spout or CraftBukkit itself.
     
  3. Offline

    outi

    Any progress on TNT cancellation bug?
     
  4. Offline

    filszyp

    @Brettflan
    Thank you for your reply. Is there any chance for updating that WorldGuard checking code anytime soon?
     
  5. Bugreport:

    If a player places TNT on enemy land which contains wired redstone. The TNT ignites and explodes, but you'll still get the error that you can't place blocks on enemy land on top of that you get your just blown up piece of tnt back.
     
  6. Offline

    Brettflan

    Not from what I've seen, no, it being a long-standing CraftBukkit bug and not a Factions bug. You'd need to ask the Bukkit team to be sure, though.
    http://leaky.bukkit.org/issues/1034

    @MiRROW See above.

    EDIT: @filszyp apologies, but unless the author of that code updates it, it probably won't be any time soon.
     
  7. Offline

    mavbear

    Any particular raisin why /f map's North is /compass' West?

    srsly, it's weird. ;_;
     
  8. Offline

    outi

    Maybe it is possible to disable the tnt explosions in the same way as in WG? I mean, the ignited (by another faction member) TNT doesn't make any damages to blocks.

    edit: or by checking adjacent block for power sources when the member of another faction places the tnt.
     
  9. Offline

    sjoerdtim

    It will be pretty awsome if you can copple a group with a faction
    So that people in the faction "Warriors" also are in the group "Warriors"
    Can you please add this to factions? It's a really good plugin.
     
  10. Offline

    jimbobt123

    Got a problem with the money functions. If I just use /f money, it gives me a list of the commands, but if I try to actually use one of those commands, I get a huge wall of errors. Here's the logs when I tried to use the commands:

    http://pastie.org/2832749
     
  11. Offline

    JasonFunsize

    when I try /f create <name> Nothing happens. I know it's installed (im not stupid). Help?
     
  12. Offline

    car204

    Hey does this plugin support essentials groupmanager??
     
  13. Offline

    Chillax_Team

    Yea. I use Essentials Economy and the Economy part of essentials doesnt work. (Might Be Becuase im in 1.9PR5) but everything else works fine.
     
  14. Offline

    Scruffy Puppy

    Is there any way to set a cooldown on /f home?
     
  15. Offline

    Krazy

    Can i translate factions commands? my server is brazilian.
    and lowies population know inglesh.
    i need translate for PT/BR, i can?
     
  16. Is it possible that you can add a option to set a rent for the land that they claim? Lets say the faction "Greyhounds" claim a chunk of land, now for that land to be theirs they need to pay $X and the daily/weekly rent for that land would be $X. And when the rent is not paid in time they have x days to come up with the money or the land is unclaimed. Or just unclaim it when the rent is not paid.

    It would be neat :)
     
  17. Offline

    tripletutorial

    My server did a damn rollback because it said I disbanded Wilderness? How the fuck is that possible? Then I tried again when the server was on after the crash and tried to disband another faction and it said the same thing so it crashed and made a rollback, THANKS A LOT DUDE
     
  18. Offline

    jaysabherwal123

    ok people on my server can build in other factions like my faction a outsider can build in it no problem and even destroy how do i fix this
    also ho do i get it to say when i goto its faction it will show up what faction your in and when you leave it will show wilderness thanks please reply a.s.a.p
     
  19. Offline

    Brettflan

    Because /f map still goes by the idea the the sun rises in the east, like it does in real life. Apparently, however, some of Notch's Minecraft source code references the sun as rising in the north. This was brought up to him, and he confirmed it on Twitter. Subsequently, some plugins have updated their compass directions accordingly. We have not done so for Factions, at least not yet. Seriously, the sun rising in the north? :confused:


    We already handle explosion prevention. The problem is, that code is entirely separate. Any comprehensive workaround for this bug would need to be ridiculously elaborate, and quite frankly I have better things to waste my time on that writing time-consuming and elaborate workarounds for bugs in other peoples' code which they really need to fix on their end. Someone on the Bukkit team is apparently looking into the bug again now, though, so there may be some hope for a fix from them in the next RB.

    Been requested before, might happen eventually.

    That's indicating a problem with Register. Try downloading and using this latest version:
    https://github.com/iConomy/Register/raw/master/dist/Register.jar

    What does Factions output to the server console/log when you first start the server up?

    Yes, though unless they've added support for parent->child permissions since I last checked, you won't be able to use kit permissions and will therefore need to grant each individual permission.

    Try downloading the version of Register I linked to above and using it. I've tested EssentialsEco before with it and it worked fine. Of course, I did test it with an official release and it was a few weeks ago, so it's possible it's broken since.
    If you still have problems, check your server log for errors when you use an economy command and paste the error here.

    Not currently, no, though it is optionally prevented when in enemy territory or near enemy players.

    We don't currently have an easy way to translate it, sorry. You would need to comb through the source and update each output string, which would take a fair bit of effort.

    Rent might eventually be added.

    1. Hmm. I see in the code that for the disband command we don't double-check the faction to make sure it's a normal one, so that's something we need to fix. Thanks for the report. As for how it happened, I'd guess that you misspelled the faction name and it ended up making a partial match with a player name who wasn't in a faction.
    2. You're welcome.

    What version of Factions are you using?
     
  20. Offline

    Chillax_Team

    Hmm, This is the last part of my Config. I edited it by doing InGame Commmands
    Code:
      "econEnabled": true,
      "econUniverseAccount": "",
      "econCostClaimWilderness": 0.0,
      "econCostClaimFromFactionBonus": 0.0,
      "econClaimAdditionalMultiplier": 0.5,
      "econClaimRefundMultiplier": 0.7,
      "econCostCreate": 10000.0,
      "econCostOwner": 15.0,
      "econCostSethome": 30.0,
      "econCostJoin": 100.0,
      "econCostLeave": 500.0,
      "econCostKick": 0.0,
      "econCostInvite": 0.0,
      "econCostHome": 0.0,
      "econCostTag": 0.0,
      "econCostDesc": 0.0,
      "econCostTitle": 0.0,
      "econCostList": 0.0,
      "econCostMap": 0.0,
      "econCostPower": 0.0,
      "econCostShow": 0.0,
      "econCostOpen": 0.0,
      "econCostAlly": 0.0,
      "econCostEnemy": 0.0,
      "econCostNeutral": 0.0,
      "econCostNoBoom": 0.0,
      "bankEnabled": true,
      "bankMembersCanWithdraw": false,
      "bankFactionPaysCosts": true,
      "bankFactionPaysLandCosts": true,
    
    But when i do /f create Test; it doesn't make me pay.

    1.9PR5 Bukkit
    1.6.1 Factions
    Essentials 2.6.4 (All Jars)
    _________________________________
    Diffrent Subject Sorda.
    I am Hosting two servers, 1.9PR5 and a 1.8, RB:1337

    1.9PR5:
    Factions 1.6.1 - Money Doesn't Work
    Essentials 2.6.4

    1.8.1 RB1337:
    Factions 1.5.1 Money Works Great
    EssentialsEco and IConomy (Dont know why i got both but people like the IConomy and/or EssentialsEco Commands Best)

    Installed Register, When i tried to do a command that i set for money heres the results; I do not have IConomy.
    [​IMG]

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

    Brettflan

    Wait, is this still a problem? In your next post, it's indicating that it is hooked into Register correctly based on the "can't afford" line, which indicates it should also be trying to charge for faction creation:
    With Faction banks enabled ("bankEnabled" and "bankFactionPaysCosts"), your faction bank has to have the money to pay for stuff (like /f sethome used in your screenshot), not individual users. You'll need to deposit some money into your faction bank. Use /f money for a bit more info. Otherwise, if you want individual users to have to pay for things and not use faction banks, simply disable that option.

    Register is indeed required for integration with any economy plugin now in Factions 1.6.x, not just iConomy.

    If you have further problems, please provide your server startup log along with anything that is logged when you attempt something related to Factions which should cost money.
     
  22. Offline

    Chillax_Team

    Code:
    19:21:01 [INFO] [Factions v1.6.1] "bankEnabled" option set to false (disabled).
    Command was run by Jasonsj10.
    Disabled it and still says "JaHmGrCo Cant Afford $30 dollors to set the faction home."
     
  23. Offline

    TheBeast808

    Code:
    07:56:54 [SEVERE] [Factions v1.6.1] Error creating faction bank account through Register: faction-1
    07:56:54 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NullPointerException
            at com.massivecraft.factions.integration.Econ.modifyMoney(Econ.java:233)
            at com.massivecraft.factions.FPlayer.attemptClaim(FPlayer.java:777)
            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 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)
    
    I keep getting this error. I can create a faction and the money will be taken, but no land is given. Also, when you type /f claim, nothing happens and it throws the error that I posted. I tried regular Register.jar and the forked one that you linked in the dev thread. What is wrong and why is this happening?
     
  24. Offline

    vobilli

    Is there a way to limit faction name changes while still allowing Members to create their own faction?
     
  25. Offline

    BooGaLoo90

    not currently, but for the spammers who like to spam name changes and description changes, i warn them to stop. if they dont, i disband the faction. if the remake and keep doing it. i ban em.
    but what DOES need to be changed is the message color for change notifications. people can easily type: "/f desc [Server] <insert troll here>" and trick anyone online and make them think its actually someone using the /say command.
    dont use purple/pink for this!
    [​IMG]
    [​IMG]
     
  26. Offline

    vobilli

    Thanks Boo, I'll just stick with warning people :)
     
  27. Offline

    outi

    Thx for reply. I hope that will be fixed soon. As for now i decided to disable TNT damage in WG settings.
     
  28. Offline

    vasil7112

    Do you know why the permissions do not work on groupmanager?
    Not yours only..basicly for all the plugins...except essentials and other 20
     
  29. Offline

    Thehornetmaster

    ok whts up with this because that .jar file u put in lib the link isnt there

    :mad:OK WHY IS THT JAR FILE U PUT IN THE LIB NOT THERE

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

    Draqo

    My ticket didn't get answered for a long time, so I'm posting it here:

    What is the enhancement in mind? How should it look and feel?


    I have a strong problem on my factions server.
    We do not allow spawn killing, but yet it happens and when it does,
    it's hard to judge whether or not it's spawnkilling.

    So I sat down and talked with one of my friends, and he came up with 2 great suggestions!

    1. Spawn Invulnerability
    The first is a simple invulnerability for an adjustable amount of seconds,
    after respawning after you've been killed.

    2. Power Loss Invulnerability
    The same as the above, except with power.
    A setting where you can set it for X seconds after respawn you can not lose power.
    This'll prevent a guy who's spawn killing a one-man faction, to just claim ALL his land.


    Please provide any additional information below.

    I really hope these features will be able to make it in 1.6.2!
     

Share This Page