[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


    Admin being? A node?
  2. Offline


    Ok but how do u see the owner of the faction
  3. Offline


    Register is always not working for a lot of peoples ...
    I am locked with Factions 1.5.1.
  4. Offline


    CB: 1337

    my server starts fine and it hooks into register successful.

    2011-10-25 20:21:47 [INFO] [Factions v1.6.0] === ENABLE START ===
    2011-10-25 20:21:47 [INFO] [Factions v1.6.0] Will use this plugin for permissions: PermissionsEx v1.15
    2011-10-25 20:22:18 [INFO] [Factions v1.6.0] Loading board from disk
    2011-10-25 20:22:18 [INFO] [Factions v1.6.0] Found and will integrate chat with EssentialsChat v2.6.4
    2011-10-25 20:22:18 [INFO] [Factions v1.6.0] Found and will use features of Spout v1.0.6.449
    2011-10-25 20:22:18 [INFO] [Factions v1.6.0] Economy integration through Register plugin successful.
    2011-10-25 20:22:18 [INFO] [Factions v1.6.0] === ENABLE DONE (Took 30561ms) ===
    but whenever i use a command that has to be paid for it gives off this error

    2011-10-25 20:37:32 [SEVERE] Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
        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)
    any idea what is causing this?
  5. Offline


    I like the new addition as it helps with admin factions but I think the idea was misunderstood. You currently have the config option " "powerFactionMax": 100.0," but it does not really set total power to 100. It simply cuts off faction power at 100 with how much they can claim but pvp battle wise it still goes past. For example a faction has 6 members with 20 power each. Max power stops their claiming power at 100 but if they are killed it takes from 120.
  6. Offline


    Factions 1.6.0, CB 1337, *EVERYONE* in a faction, when using faction chat, shows up as "you" instead of a proper player name. Makes keeping track of a chat pretty difficult.


    you: Hey.
    you: Hiya! What's up?
    you: Not much, you?
    you: That's me, you?
    you: You're you!
    you: No, you're you!

    Would be really nice if this were optional, specifically the relation/describeTo - much prefer getNameAndTag, not to mention it's the only thing that'll work in this instance: https://github.com/MassiveCraft/Fac.../listeners/FactionsChatEarlyListener.java#L49

    And of course, looking at relevant source, me.describeTo(me) will return "you" - that's expected behavior...

    Relevant commit that broke it: https://github.com/MassiveCraft/Factions/commit/46f5849f9feedf36cbbf65f8b9e8ff0a07ed43e8#src/com/massivecraft/factions/listeners/FactionsChatEarlyListener.java
  7. Offline


    This has probably been answered before but I was unable to find it...

    How can I create an area in which no non-admin can claim yet everyone can still build in?
  8. Offline


    confirm this
  9. Offline

    Olof Larsson

    Fire me? :) Take a moment and realize that:
    • I am the creator of the factions plugin.
    • Without me this plugin would not exist.
    • You lack thankfulness.
    • I code on my spare time.
    • I never take donations.
    • I revive whining from kids like you.
    I am tired of guys like you who think you can demand anything at all :)
    Let me explain what you should do instead:
    Say "Thank you so much Olof and Brettflan for the great effort you put into this product, that you allow me to use for free. I love you so much."

    And by the way I love you Thalagyrt :)
  10. Offline


    Xaviconn said:
    Is there a way of changing the name of the file, so instead of it being called factions its called Societies and instead of typing /f it is /s​
    Not currently, no.

    Wow this would be a great configurable option!
    This would be SO NICE if we could choose to call them clans, civs, or guilds or what ever we wanted to name them!

  11. Offline


    Not sure who you were intending to reply to, but I don't see anyone complaining really. Pointing out bugs and asking questions is not something you should get emo about, it's just part of supporting software.

    Anyway, Factions is neat and my server really likes it. Thanks for your work and the recent updates as well.
  12. Offline


    I'll respond to some of these posts later today and try to get a bugfix release out within 24 hours.
  13. Offline


    Help please! I'm getting the following error on startup.

    2011-10-26 22:36:10 [INFO] [Factions v1.6.0] === ENABLE START ===
    2011-10-26 22:36:10 [INFO] [Factions v1.6.0] Will use this plugin for permissions: Permissions v3.1.5
    2011-10-26 22:36:10 [WARNING] [Factions v1.6.0] Using default as I failed to load: plugins\Factions\conf.json
    2011-10-26 22:36:10 [INFO] [Factions v1.6.0] Loading board from disk
    2011-10-26 22:36:10 [SEVERE] java.lang.NullPointerException
    2011-10-26 22:36:10 [SEVERE] 	at com.massivecraft.factions.Board.loadFromSaveFormat(Board.java:315)
    2011-10-26 22:36:10 [SEVERE] 	at com.massivecraft.factions.Board.load(Board.java:362)
    2011-10-26 22:36:10 [SEVERE] 	at com.massivecraft.factions.P.onEnable(P.java:84)
    2011-10-26 22:36:10 [SEVERE] 	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
    2011-10-26 22:36:10 [SEVERE] 	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:957)
    2011-10-26 22:36:10 [SEVERE] 	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:280)
    2011-10-26 22:36:10 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:171)
    2011-10-26 22:36:10 [SEVERE] 	at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
    2011-10-26 22:36:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
    2011-10-26 22:36:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
    2011-10-26 22:36:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
    2011-10-26 22:36:10 [SEVERE] 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
    2011-10-26 22:36:10 [SEVERE] 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    2011-10-26 22:36:10 [INFO] [Factions v1.6.0] Failed to load the board from disk.
    2011-10-26 22:36:10 [INFO] [Factions v1.6.0] Economy integration is disabled, and the plugin "Register" is not installed.
    2011-10-26 22:36:10 [INFO] [Factions v1.6.0] === ENABLE DONE (Took 191ms) ===
    With other weird shit happening while the server is running:

    2011-10-26 22:36:16 [SEVERE] Could not pass event ENDERMAN_PICKUP to Factions
    etc, etc.
  14. Offline


    Olof is already working towards something like that.

    Effectively, yes. Factions with permanent power set are considered to always have full power, so their land will be insusceptible to takeover.

    EssentialsEco? Hmm. I'll set aside some time to test it out and try to fix the problem.

    /f config territoryEnemyDenyCommands twp

    Permission factions.bypass grants access to the command /f bypass, which turns admin bypass mode on and off.

    Faction admins have a "**" by their name.

    Uh, no. That setting was added a while back and is not what I was talking about. Permanent power: /f permanentpower. The change log covers it.

    Will see about fixing soon.

    Safe zones and war zones.

    As for 1.5.9 and 1.6.0, you can change the command from /f to something else ("baseCommandAliases").

    For the first error, it looks like the data files for Factions are locked or corrupted.
    For the second one, it's probably related, but without the stack trace I can't say for sure.
  15. Offline



    Tell him I give my thanks :) for both of your hardwork.

    Add Tax's ;) I would help out but I don't know java and I have no idea where to start.
  16. Offline


    Version 1.6.1 is released.
    • Fix for faction chat referring to all speakers as "you"
    • Fix for NPE being triggered with some economy plugins through Register when referencing faction bank accounts
  17. Offline


    Is there a way you could limit the amount of players allowed in a faction? :D And it could be configable? Please :)
  18. Offline


    Whats the permissions, what i need to use?
  19. Offline


    Epic! Seems to be working great so far. Thanks for the quick fix.

    Donation Sent! :)
  20. Offline


    I understand permanent-power is the new thing but I was simply wondering if you could make "powerFactionMax": 100.0," actually stop at 100 instead of power going past that and just not showing.
  21. Offline


    Maybe at some point.

    Read the user guide or the changelog.


    It does prevent their useable power from increasing beyond that point. If you stop and think about it, there's no practical way to prevent their "actual" power (as you put it) from growing beyond that point. That amount is purely based on the combined power of all members. How would you limit that? Modify the power levels of individual faction members? Not practical.
  22. Offline


    In 1.6.1 Factions doesn't work on my server :(
    my player do have the permissions "factions.kit.fullplayer" and "factions.money.kit.standard" but they cann't youe any Factions Command. I'm using the latest GM.
    Only the individual permissions are working..
  23. Offline


    Thanks for the fix + work. :) Will be updating tonight.
  24. Offline


    Just reporting a severe error on our Factions 1.6.1 server.
    2011-10-27 22:00:44 [SEVERE] Could not pass event PLAYER_JOIN to Factions
    java.lang.NoSuchMethodError: com.nijikokun.register.payment.Method.createAccount(Ljava/lang/String;)Z
        at com.massivecraft.factions.Faction.getAccount(Faction.java:126)
        at com.massivecraft.factions.FPlayer.leave(FPlayer.java:605)
        at com.massivecraft.factions.FPlayers.autoLeaveOnInactivityRoutine(FPlayers.java:64)
        at com.massivecraft.factions.listeners.FactionsPlayerListener.onPlayerJoin(FactionsPlayerListener.java:155)
        at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:260)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:339)
        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:39)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:94)
        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)
  25. Offline


    Ya but if they haven't been on the server i still wanna see who owns it
  26. Offline


    As I've said before, GroupManager does not currently handle kit (parent->child) superperms permissions correctly. So yes, until that's taken care of you'll need to use individual permissions if using GroupManager.

    Update your copy of the Register plugin to version 1.5.
  27. Offline


  28. Offline


    04:27:44 [SEVERE] Error occurred while enabling Factions v1.6.0 (Is it up to dat
    e?): Expecting object found: "?"
    com.google.gson.JsonParseException: Expecting object found: "?"
            at com.google.gson.JsonObjectDeserializationVisitor.visitFieldUsingCusto
            at com.google.gson.ReflectingFieldNavigator.visitFieldsReflectively(Refl
            at com.google.gson.ObjectNavigator.accept(ObjectNavigator.java:120)
            at com.google.gson.JsonDeserializationContextDefault.fromJsonPrimitive(J
            at com.google.gson.JsonDeserializationContextDefault.deserialize(JsonDes
            at com.google.gson.Gson.fromJson(Gson.java:551)
            at com.google.gson.Gson.fromJson(Gson.java:498)
            at com.google.gson.Gson.fromJson(Gson.java:467)
            at com.google.gson.Gson.fromJson(Gson.java:417)
            at com.google.gson.Gson.fromJson(Gson.java:389)
            at com.massivecraft.factions.zcore.util.Persist.load(Persist.java:132)
            at com.massivecraft.factions.zcore.util.Persist.loadOrSaveDefault(Persis
            at com.massivecraft.factions.zcore.util.Persist.loadOrSaveDefault(Persis
            at com.massivecraft.factions.Conf.load(Conf.java:313)
            at com.massivecraft.factions.P.onEnable(P.java:81)
            at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:174)
            at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
            at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
            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)
    Im having this error. And i cant login in server, when having this.
  29. Offline


    I figured the limit would be the config file toggle saying cap for all factions is X amount and that would extend to power loss on death for a whole faction as well but that is wrong as it only applies to claiming land. Never claimed to be a coder and I really appreciate all the time and effort spent on this plugin I just figured it would be possible to make that cap a hard cap instead of a soft cap.
  30. Offline


    I realized a better solution would have been to grant halfplayer default instead of fullplayer, As fullplayer can be easily given with the kit node while its usually more annoying to try and remove an auto assigned permission, regardless of the way a plugin does removal in my time as an admin I found they do not always want to remove what you tell them to, also some permission handlers do not offer a - node node.

Share This Page