[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

    Kardren

    Brettflan Could you add a territoryallydenycommands option? Many of my users just ally each other and /sethome in each others base and if there betrayed they take everything from there chests which is kind of unfair.
     
  2. Offline

    Marine

    Thanks. That fixed it.
     
  3. Offline

    Spadar Faar

    I'm getting this error when a player attempts to claim land that a LWC chest is on with this new update and LWC integration.
    Code:
    12:59:17 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NullPointerException
            at com.massivecraft.factions.zcore.persist.PlayerEntityCollection.get(Pl
    ayerEntityCollection.java:33)
            at com.massivecraft.factions.integration.LWCFeatures.clearOtherChests(LW
    CFeatures.java:52)
            at com.massivecraft.factions.FPlayer.attemptClaim(FPlayer.java:801)
            at com.massivecraft.factions.cmd.CmdClaim.perform(CmdClaim.java:50)
            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:20
    6)
            at com.massivecraft.factions.P.handleCommand(P.java:180)
            at com.massivecraft.factions.zcore.MPlugin.handleCommand(MPlugin.java:21
    6)
            at com.massivecraft.factions.zcore.MPluginSecretPlayerListener.onPlayerC
    ommandPreprocess(MPluginSecretPlayerListener.java:26)
            at org.bukkit.plugin.java.JavaPluginLoader$5.execute(JavaPluginLoader.ja
    va:296)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:62)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:340)
            at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.
    java:759)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:726)
     
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:719)
            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:94)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:534)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:432)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    End result is that it will take the money from the player and the land doesn't get claimed. Using the latest Factions and LWC build.
     
  4. Offline

    chitchatterz

    Hello i got a problem, i have enabled "econEnabled": true, so that it takes money off when doing any faction commands but it does not work, im using pex and i got latest iconomy plugin so could anybody help me out? also if im not op and i use the faction commands it still works and they are not inside my permissions list, i could really use some help of somebody who may start a instant conversation with me i would really appreciate.
     
  5. Offline

    TheSporeGA1

    Can I also have some help? Some players have been cheating in my ruins. Witch are areas that are filled with mobs, but you can get treasures from. For some reason, even through the entire place is filled to the brim with mobs, that can still use the "/f home" command. Is there a way of fixing this?
     
  6. Offline

    unv_annihlator

    Um I'm getting a weird error where people will make a faction, but they aren't in the faction. And when they try to join the faction it doesn't work. (I know this isn't very detailed but I'm just giving you what I was told lol). I'll try to get a more detailed report for you though. (Using version 1.6.3 by the way).

    -Anni
     
  7. Offline

    xivstealthx

    Factions just broke for me, basically it died on us and all the factions got deleted.
    I run a successful factions server with 50-60+ users online all the time, and basically factions just deleted all the user groups.
    Sweet :(
     
  8. Offline

    Wayoff333

    i have tried everything, i enabled pvp in the world we are going to use for factions. pvp works without the faction plugin, but when enabled two factions (enemy's) cannot attack eachother. tried in warzones and faction claimed land. not sure what the problem is please help :(

    plugins: 18:10:54 [INFO] Plugins: Essentials,
    EssentialsChat,EssentialsGeoIP,
    Essentials Protect,
    EssentialsSpawn,
    JSONAPI,
    Lockette,
    LogBlockQuestioner,
    mcbans,
    RemoteToolkitPlugin,
    MinecraftViewer,
    Multiverse-Core,
    Multiverse-NetherPortals,
    Multiverse-Portals,
    Multiverse-SignPortals,
    PermissionsEx,
    PorteCoulissante,
    RetractableBridge,
    WorldInventories,
    XrayInformer,
    Modifyworld,
    Permissions,
    PlayerFreeze ,
    Announcements,
    Dynmap-Essentials,
    dynmap,
    Factions,
    LogBlock,
    mcMMO,
    WorldBorder,
    WorldEdit
     
  9. Offline

    ogr93

    admins can unclaim a territori faction? and water claims for the territori , is a bug

    Admins need more control of this plugins ingame
     
  10. Offline

    Ilumini

    This version is fucked. My entire factions.json file got fucking wiped. Beautiful. Fix your shit, dev.
     
  11. Offline

    wcnoco

    jesus christ... the sense of entitlement people have is fucking ridiculous! THIS IS A FREE PLUGIN! judging by your post and how much of a piece of shit you sound like, you probably didn't donate to the developer. so why not shut the fuck up, stop being a rude cunt and show some respect to the developer? you are not entitled to this plugin and you have no right to tell the developer to "fix his shit" just because you're a fucking idiot and and fucked your shit up. but whatever judging by your post you're probably some 13 year old kid who doesn't understand how the world works.
     
    Nick Hooper likes this.
  12. Offline

    Ilumini

    • Unacceptable behavior. You are not entitled to use a plugin, no more than you are entitled to be a member of this community.
    Lol. You mad? I don't need to explain myself to some raging 11 year old over the internet. Not my problem the dev' released buggy shit. Doesn't matter if it's free. You start a project, you do it right. It's called responsibility, and THAT'S reality. Atleast make a post telling people about the problem before it becomes too wide-spread. I'm not the only person who got fucked by this. Maybe if you actually ran a successful server in which made a shit load of money, you'd be a bit pissed when something like this happens too. And when you attempt to shut somebody up, don't contradict yourself. If it's a free plugin, not only am I ENTITLED to the plugin, but EVERYONE is ENTITLED to the plugin. Learn your shit, kiddie.
     
  13. Offline

    Brettflan

    Well, the part of the log where Vault loads is before where your snippet starts, but based on what I'm seeing... do you actually have an economy plugin like iConomy or Essentials or BOSEconomy or whatever? The only Vault tagged entries I see there are for it hooking into permissions, not economy.
    I suppose I should modify our integration code so it doesn't blindly try to hook into Vault's economy handler if there's no economy plugin available.

    xjemimax: You have the same error as above.

    "flase", huh?

    There isn't, and it's not really planned. Sounds like an interesting idea, but... seems a bit unbalanced to give people more maximum power just for being able to spend more time on the server than others.

    Hmm, fair point... I suppose a player could just sit there and not respawn to gain back power lost from the death without having to worry about being killed again. I'll look into it.

    Why not just set homesMustBeInClaimedTerritory to true? /f config homesMustBeInClaimedTerritory true

    Looks like it's referencing a player which is offline and thus returning as null; I'll make sure the dev (patrickfreed) who contributed the LWC integration code knows about it; hopefully he can fix it.

    Hmm. I'll consider adding a check for nearby hostile mobs and preventing /f home if any are found.

    Do the players receive any sort of message when trying to hurt each other?

    @others with various problems: without providing error information from your server log, I don't have much to go on. If you're not sure when the problem occurred, you can do a search in your server log for "[SEVERE]" and finding any such line which mentions Factions.
    Also, check the server logs whenever you started your server up for any error messages from Factions. By far the most likely reason at this point for any of the JSON data files getting reset or wiped is due to them being manually edited and messed up somehow, and that would be reported at server startup, so keep that in mind.
     
  14. Offline

    Deathfromace

    Sorry I cut it off early thought I got all that was needed. And that is correct I don't use any type of economy on my server but vault is required for certain plugins so I use it.
     
  15. Offline

    Musaddict

    So, Faction's official server is running MC 1.1, and I've seen a couple others running it. Is Factions 1.6.3 compatible with 1.1-R1? Cause I see no D/L for 1.1-R1.
     
  16. Offline

    Nick Hooper

    Brettflan

    It would be a helpful reward for players who have more playtime activity than others, or maybe for donators.

    Someones upset... If you had such an important server that you dearly cared about you should have thought about saving your data first. Responsibility is backing up all your data before making any alterations, especially ones not developed by yourself. No one is responsible for a plugin you decided to use which is still being developed but you. Everyone fucks up and that's reality, learn to live with it. That would have been the smart thing to do, kiddie. ;)
     
  17. Offline

    ogr93

    Im admin how can i put safezone radius of 100 bloks around my city? its necessary that the claim goes the bedrock to rhe sky? I have PEX and y put the nodes well but says that Only moderator can /f claim safezone*100
     
  18. Offline

    Nick Hooper

    Don't use the *

    Try: /f claim safezone 100

    Brettflan

    I noticed when claiming large areas it spams your chat like crazy, and also the console's. Instead of displaying a claim message for every block, could you make it just say one message like "You claimed 32 blocks for safezone" or something similar?
     
  19. Offline

    ogr93

    I solved admin Bypass its on before off

    maybe can update the comand on http://massivecraft.com/plugins/factions

    /f safeclaim,safe *[radius] doesnt work is /f claim safezone radius

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

    Kazumz

    The money side of Factions is not working anymore, if I type /f money b or balance, it does not say anything, this is happening for all of the money actions in the plugin; only since the latest CB Ver.
     
  21. Offline

    GrimSilverfang

    Hello, I am having some problems integrating the plugin. I am trying to set it up to cost money to make a Faction and claim land. I think I've set it up correctly but it doesn't seem to be connecting with iConomy. It doesn't remove any money from the user when they create Factions or claim land. I am running on the newest dev build of Bukkit with the newest versions of iConomy, Factions, and PEX. Attached is a snippet from my conf.json.
    Code:
      "econEnabled": true,
      "econUniverseAccount": "",
      "econCostClaimWilderness": 30.0,
      "econCostClaimFromFactionBonus": 30.0,
      "econClaimAdditionalMultiplier": 0.3,
      "econClaimRefundMultiplier": 0.7,
      "econClaimUnconnectedFee": 0.0,
      "econCostCreate": 100.0,
      "econCostOwner": 15.0,
      "econCostSethome": 30.0,
     
  22. Offline

    Cormick99

    I don't see why we can't use the console for this plugin. I have two factions and I made one permanent, and I went over to the other faction to fix something, then went back to my old one and I wasn't Admin anymore. So I tried to give it back to me in the console and it said I had to do it in-game. This is kind of ridiculous in my opinion.
     
  23. Offline

    Brettflan

    Ah, that highlights something I need to change, then. I just checked and we're currently just assuming that Vault is providing an economy handler class if Vault is present. Apparently, however, Vault doesn't even register its economy handler class unless/until it detects a supported economy plugin loading. My fault, though in my defense (sort of) I was using Vault's own provided default economy integration code example. :p
    I should have that fixed soonish.

    Fair enough. I'll check into how feasible that is.

    Thanks for pointing that out; I've just updated it.

    Read the release notes for 1.6.3 and then download it, you're obviously running an older version of Factions if you get that message when running that particular command from console.


    The current release should work fine in 1.1-R1; new CraftBukkit releases will only very rarely break the current existing Factions release, as with most Bukkit plugins. However, I expect I'll be releasing a fairly minor update in the next few days.
     
  24. Offline

    maxsteele

    Greetings!

    I am running the 1.1-R1 Craftbukkit recommended build, and Factions 1.6.3 .

    I'm using our test server, and when anyone connects to the server, whether or not they are in a faction, I get this error string:

    Code:
    10:04:16 [SEVERE] Could not pass event org.bukkit.event.player.PlayerJoinEvent to Factions
    java.lang.NullPointerException
            at com.massivecraft.factions.FPlayers.autoLeaveOnInactivityRoutine(FPlayers.java:70)
            at com.massivecraft.factions.listeners.FactionsPlayerListener.onPlayerJoin(FactionsPlayerListener.java:156)
            at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:270)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
            at net.minecraft.server.ServerConfigurationManager.c(ServerConfigurationManager.java:129)
            at net.minecraft.server.NetLoginHandler.b(NetLoginHandler.java:121)
            at net.minecraft.server.NetLoginHandler.a(NetLoginHandler.java:40)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:61)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    A player can create a faction just fine.

    If a player leaves a faction, this error occurs:
    Code:
    10:09:38 [SEVERE] Could not pass event org.bukkit.event.player.PlayerChatEvent to Factions
    java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy
            at com.massivecraft.factions.integration.Econ.hasAccount(Econ.java:311)
            at com.massivecraft.factions.Faction.getAccountId(Faction.java:127)
            at com.massivecraft.factions.Faction.postDetach(Faction.java:704)
            at com.massivecraft.factions.zcore.persist.EntityCollection.detach(EntityCollection.java:150)
            at com.massivecraft.factions.zcore.persist.EM.detach(EM.java:38)
            at com.massivecraft.factions.zcore.persist.Entity.detach(Entity.java:38)
            at com.massivecraft.factions.FPlayer.leave(FPlayer.java:639)
            at com.massivecraft.factions.cmd.CmdLeave.perform(CmdLeave.java:27)
            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.P.handleCommand(P.java:180)
            at com.massivecraft.factions.zcore.MPlugin.handleCommand(MPlugin.java:216)
            at com.massivecraft.factions.zcore.MPluginSecretPlayerListener.onPlayerChat(MPluginSecretPlayerListener.java:37)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:305)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:742)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:725)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:178)
            at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:33)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    It seems other Faction commands and features are working, as far as I've tested. Claiming and unclaiming land is fine, faction / alliance chat is working, and entering / leaving faction territory is all fine.

    I am running Factions 1.6.3 on our production server, which is running the recommended build of Bukkit 1.0.1-R1. I do not get these errors on the production server.

    Any assistance is appreciated!

    EDIT:

    Well, it looks like it's not a 1.1 issue. I just tried leaving a faction on our production server, which is 1.0.1-R1 and running Factions 1.6.3 , and I received this error:

    Code:
    10:17:30 [SEVERE] Could not pass event PLAYER_CHAT to Factions
    java.lang.NoClassDefFoundError: net/milkbowl/vault/economy/Economy
            at com.massivecraft.factions.integration.Econ.hasAccount(Econ.java:311)
            at com.massivecraft.factions.Faction.getAccountId(Faction.java:127)
            at com.massivecraft.factions.Faction.postDetach(Faction.java:704)
            at com.massivecraft.factions.zcore.persist.EntityCollection.detach(EntityCollection.java:150)
            at com.massivecraft.factions.zcore.persist.EM.detach(EM.java:38)
            at com.massivecraft.factions.zcore.persist.Entity.detach(Entity.java:38)
            at com.massivecraft.factions.FPlayer.leave(FPlayer.java:639)
            at com.massivecraft.factions.cmd.CmdLeave.perform(CmdLeave.java:27)
            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.P.handleCommand(P.java:180)
            at com.massivecraft.factions.zcore.MPlugin.handleCommand(MPlugin.java:216)
            at com.massivecraft.factions.zcore.MPluginSecretPlayerListener.onPlayerChat(MPluginSecretPlayerListener.java:37)
            at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:300)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
            at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:727)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:715)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:180)
            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:93)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:550)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:527)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:425)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:457)
    Caused by: java.lang.ClassNotFoundException: net.milkbowl.vault.economy.Economy
            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:321)
            at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
            ... 31 more
     
  25. Offline

    offdps

    block snow from being thrown at claimed areas? my users are harrashing safezones and claimed areas with snowballs
     
  26. Offline

    Brettflan

    maxsteele
    Those will be fixed in the next release due out in a couple of days or so.

    Is it really more than a minor nuisance?
     
  27. Offline

    PatrickFreed

    Brettflan notified me, will fix. ;)
     
  28. Offline

    maxsteele

    Awesome. Thanks for the quick response Brett!

    One more question on those errors - do you think that is something I should wait for your next release before switching over to Craftbukkit 1.1 recommended build? Or do you think Factions will still function the same as it is right now?
     
  29. Offline

    unv_annihlator

    Okay few errors... first off the plugin wiped my entire JSON files, and I can't even use my backups of the files since when I start up the server it throws errors saying that faction id BLAH does not exist, issuing clean-up etc.

    Second issue is that even when the imunity to pvp damage upon login is set to 0 there is still a small period of time where you cannot hurt the person (allowing people to log in/out and have god mode essentially).

    Finally there is still the error where people will make a faction but won't be in the faction, and when he joins the faction (through invite) it doesn't put him in it.

    -Anni
     
  30. Offline

    Teh Kitteh

    ATTENTION, PermissionsEx's Latest Dev update breaks factions in a way that json files and cause the game to not save things like chunk claims. DO NOT UPDATE!

    All my factions were deleted. Fuck
     

Share This Page