[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

    mario00037

    Here's my current conf.json.
    Im have trouble with the chat. Here is what I want
    Im using Essentials Chat

    Faction name is Nova

    Here is what shows up in chat now: aNova 5[Builder] Killer_Klownz: Ok

    (In faction)Here is what I WANT it to say: Nova [Builder] Killer_Klownz: Ok
    (Not in faction): [Builder] Killer_Klownz: Ok
     
  2. Offline

    thernztrom

    Im getting the follwing message every 5 - 10mins or so in the server.log:
    2011-12-22 22:06:18 [INFO] [Factions v1.6.2] Player chucknorris116 was auto-removed due to inactivity.
    2011-12-22 22:06:18 [INFO] [Factions v1.6.2] Player Sakurakur02 was auto-removed due to inactivity.
    2011-12-22 22:06:18 [INFO] [Factions v1.6.2] Player chucknorris116 was auto-removed due to inactivity.
    2011-12-22 22:06:18 [INFO] [Factions v1.6.2] Player Sakurakur02 was auto-removed due to inactivity.
    2011-12-22 22:06:19 [INFO] [Factions v1.6.2] Player chucknorris116 was auto-removed due to inactivity.
    2011-12-22 22:06:19 [INFO] [Factions v1.6.2] Player Sakurakur02 was auto-removed due to inactivity.
    2011-12-22 22:06:19 [INFO] [Factions v1.6.2] Player chucknorris116 was auto-removed due to inactivity.
    2011-12-22 22:06:19 [INFO] [Factions v1.6.2] Player Sakurakur02 was auto-removed due to inactivity.
    :/
    Anyone have similar issues?
     
  3. Offline

    axeloche

    Hello, When I type the following command: / f money d, the console tells me is this:
    (I do not understand this )
    Code:
     Could not pass event PLAYER_COMMAND_PREPROCESS to Factions
    java.lang.NoClassDefFoundError: com/nijikokun/register/payment/Method
        at com.massivecraft.factions.integration.Econ.moneyString(Econ.java:259)
        at com.massivecraft.factions.cmd.CmdMoneyDeposit.perform(CmdMoneyDeposit.java:42)
        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:293)
        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:93)
        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: com.nijikokun.register.payment.Method
        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)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
        ... 25 more
    
     
  4. Offline

    T4L_Goose

    Yep, I'm getting this same issue.
     
  5. Offline

    fudgya

    i get this error wen i start my server it goes like this
    error error occurred while enabling factionsv1.6.2 MAGMA_CUBE
    can anybody help?
     
  6. Offline

    Switch0r

    comment or vote on the ticket to get it fixed :)
    http://dev.bukkit.org/server-mods/factions/tickets/36-xy-was-auto-removed-due-to-inactivity/
     
  7. Offline

    Brettflan

    Looks like I'm not having any luck working around that Register bug, then. I don't have time to test and play around with the economy interface right now since I don't actually use any economy plugin, that's more Olof's thing, so sadly I don't have any more advice on getting it to work with faction banks enabled. If you disable faction banks, it should probably work fine just using individual accounts. You'll probably have more luck when we switch to using Vault in place of Register.

    @migsthegod @MacDante I doubt we'll ever get quite that elaborate, but it's remotely possible.

    Hmm, hadn't heard of that plugin. Sounds like it might have potential. We might look into that eventually.

    Read the userguide regarding how Factions handles chat. In your case, you at the very least need to change “chatTagInsertIndex” to something else but since you're using EssentialsChat you'd do better using the {FACTION} method discussed at the link above.

    1. It doesn't store those material values in any specific order, so they can end up in a different order every time you restart the server. It's unimportant.
    2. That's one reason it's strongly recommended you not manually edit the file, but instead use /f config instead. It is indeed a nuisance that it currently wipes out everything. I'm considering ways to better handle it though, such as possibly backing up all json files to a folder when it detects one of them is corrupt, so that you could attempt recovery if desired.

    Update your outdated CraftBukkit, or use an older Factions release. Your choice.

    Better yet, use /f config to change any settings in conf.json to prevent any potential problems with manually modifying the file. In your case: /f config econenabled true

    /f config spoutFactionAdminCapes false
    /f config spoutFactionModeratorCapes false

    Are you using McMyAdmin? Someone else reported a problem like that which happened with it. I have no idea what would cause it though, and I don't use McMyAdmin myself so that makes troubleshooting it problematic.

    For now, you can use Register. We are planning to switch to Vault pretty soon here.

    @thernztrom
    It's a known minor issue which causes no problems beyond extraneous logging. The additional logging wouldn't cause remotely noticeable server lag, FYI.
    More info: Whenever a player logs in, Factions runs the "remove inactive players" routine. The inactive players are marked for deletion but not immediately deleted, which hasn't changed. With the newly added logging however, they are logged as being removed each time the inactivity check is run irrespective as to whether they're already marked for deletion or not. In the next release it should be taken care of one way or another.

    Do you have the Register plugin? If not, that's why.
     
  8. Offline

    Zidkon

    Well actually I foud the plugin a little ..... simple, check it here:
    http://forums.bukkit.org/threads/mech-antipvplogger-v-0-8-prevent-players-from-logging-out-rb.48604/

    The author of this plugin uses a npclib for creating the NPC, this NPC works pretty well the only thing is that you don't support it for protecting it at SafeZone xD.

    Well the thing is I got ths plugin for my server and I edited a lot of things because the developer of this plugin made it so whoever delogs get an NPC wether is in combat or not, so I edited it and made it to be only for people in combat, and it says a message when you hit (to any entity) or get hitted (only by a player) like "You are now in combat", and after 5 seconds of no combat it says "You are no longer in combat".

    If you have time and interest on this, I can be helping you or at least making you some things easier, I really will like if you add this to Factions :), but I don't want to edit Factions like adding more libraries and stuff so I let to your desicion to see wich way you will implement NPC and how to manage it.

    1 more question men, do you know any way to make a plugin to be the last one to check an event? different than changin the name of course, that would help me a little with this :p thanks
     
  9. Offline

    Cheewy

    Could anyone assist me on making a delay for the /f home. It's not fun when you engage in combat and someone just /f homes just before you kill them so if you could add a dely to the teleport or warp like 5 sec's or me set it that would be great. I understand the at war and they need to run 32 blocks but you don't have time to at war the player or if you don't have permissions to set at war for your faction you're kinda screwed. Anyways if anyone could give me a hand at what would need to be added or edit for a 5 sec delay to the teleport I'd appericate it!
     
  10. Offline

    ninjakiwi240

    Is there any way to choose exactly how big your plot is? I want to make a shop on my server and each faction gets one plot inside the shopping district, but i dont know how to claim the exact space that i want, and stay inside the boundarys. Maybe you can add a cmd like '/f show border' so people can see where the plot they claimed is if they want? Can someone help me?
     
  11. Offline

    FuRiouSOne

    I just pulled register-1.5 from towny and everything economy wise now works with factions. Im guessing towny modified register? who knows but it all works great now just use register-1.5.jar from towny
     
  12. Offline

    fudgya

    that did not help
    i have the updated version but ti still is not working.
     
  13. Offline

    jonathansty

    Hi peeps i can't get the Factions permission to work. No errors but Defaults still can make a faction.
    This is my Permission build.
    Code:
    users:
        jonathansty:
            group:
            - Admin
            permissions:
            - permissions.*
            - '*'
            worlds:
                world:
                    permissions:
                    - '*'
                    group:
                    - Admin
                    prefix: '&5[YARR]&f'
        BenF1:
            group:
            - Regular
        Wayvern12:
            group:
            - moderator
        dfg:
            group:
            - Regular
        Rweavz:
            group:
            - Regular
        NX1:
            group:
            - Regular
        Anderclient:
            group:
            - Default
        Tomjaa:
            group:
            - Regular
            world:
                survival: prefix:'&c[Schatjes]'
            worlds:
                survival:
                    prefix: '&d[Compton]'
            options:
                group: Default
            prefix: '&d[Compton]'
        The1Procent:
            world:
                survival: prefix:'&c[Schatjes]'
            worlds:
                survival:
                    prefix: '&d[kingat]'
            prefix: '&d[kingat]'
        Nyxusi:
            world:
                survival: prefix:'&c[Schatjes]'
            worlds:
                survival:
                    prefix: '&d[Fatty]'
            prefix: '&d'
        power_poof:
            group:
            - Regular
        jeroen:
            group:
            - Regular
        Joshua:
            group:
            - Regular
        MrCreepa:
            group:
            - Regular
        nellie:
            group:
            - Regular
        captianchill14:
            group:
            - Regular
    groups:
        default:
            default: true
            permissions:
            - essentials.help
            - jobs.world.survival
            - essentials.helpop
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - scrollingmenusign.scroll
            - multiverse.access.world
            - multiverse.access.survival
            - multiverse.portal.acces.worldtosurvival
            - ChestShop.shop.buy
            - ChestShop.shop.sell
            - ChestShop.shop.create
            - essentials.tpa
            - essentials.tpahere
            - essentials.tpaccept
            - essentials.tpdeny
            - multiverse.access.world_nether
            - multiverse.core.spawn.self
            - essentials.sethome
            - essentials.home
            - iconomy.pay
            - craftbook.mech.*
            - towny.wild.*
            - lockette.user.create.*
            - essentials.msg
            - essentials.warp
            - creaturebox.set
            - creaturebox.creature.*
            - creaturebox.dropspawner
            - creaturebox.placespawner
            - multiverse.portal.access.worldtosurvival
            - multiverse.portal.access.survivaltoworld
            - CAuth.register
            - CAuth.login
            - iconomy.payment
            - factions.admin
            - factions.autoclaim
            - factions.chat
            - factions.claim
            - factions.deinvite
            - factions.description
            - factions.disband
            - factions.help
            - factions.home
            - factions.invite
            - factions.join
            - factions.kick
            - factions.leave
            - factions.list
            - factions.map
            - factions.mod
            - factions.money.kit.standard
            - factions.noboom
            - factions.open
            - factions.owner
            - factions.ownerlist
            - factions.power
            - factions.power.any
            - factions.relation
            - factions.sethome
            - factions.show
            - factions.tag
            - factions.title
            - factions.version
            - factions.unclaim
            - factions.unclaimall
            - -factions.kit.fullplayer
            worlds:
                survival:
                    permissions:
                    - modifyworld.*
                world:
                    permissions:
                    - modifyworld.chat
                world_nether:
                    permissions:
                    - modifyworld.*
                iconomy.payment:
                    permissions:
                    - permission
            options:
                rank: '1'
        Regular:
            inheritance:
            - default
            default: false
            permissions:
            - essentials.help
            - essentials.helpop
            - essentials.list
            - essentials.motd
            - essentials.rules
            - essentials.spawn
            - essentials.afk
            - essentials.back
            - essentials.back.ondeath
            - essentials.balance
            - essentials.balance.others
            - essentials.balancetop
            - essentials.chat.color
            - essentials.chat.shout
            - essentials.chat.question
            - essentials.compass
            - essentials.depth
            - essentials.home
            - essentials.ignore
            - essentials.kit
            - essentials.kit.tools
            - essentials.mail
            - essentials.mail.send
            - essentials.me
            - essentials.msg
            - essentials.nick
            - essentials.pay
            - essentials.ping
            - essentials.portal
            - essentials.powertool
            - essentials.protect
            - essentials.sethome
            - essentials.signs.use.*
            - essentials.signs.create.disposal
            - essentials.signs.create.mail
            - essentials.signs.create.protection
            - essentials.signs.create.trade
            - essentials.signs.break.disposal
            - essentials.signs.break.mail
            - essentials.signs.break.protection
            - essentials.signs.break.trade
            - essentials.suicide
            - essentials.time
            - essentials.warp
            - essentials.warp.list
            - essentials.worth
            - scrollingmenusign.scroll
            - multiverse.access.newbie
            - multiverse.access.world
            - multiverse.access.creative
            - multiverse.access.survival
            - ChestShop.shop.create
            - lockette.user.create.*
            - multiverse.access.*
            - multiverse.portal.access.*
            - modifyworld.*
            worlds:
                survival:
                    permissions: null
                essentials.warps:
                    permissions:
                    - permission
                nellie:
                    permissions:
                    - user
            options:
                rank: '2'
        moderator:
            inheritance:
            - Regular
            permissions:
            - essentials.ban
            - essentials.banip
            - essentials.unban
            - essentials.unbanip
            - essentials.tempban
            - essentials.kick
            - essentials.gamemode
            - essentials.give
            - essentials.item
            - essentials.god
            - essentials.kit.*
            - logblock.tools.*
            - logblock.rollback
            - logblock.lookup
            - creaturebox.*
            - essentials.setwarp
            - essentials.warp
            - chestshop.*
            - runecraft.*
            - factions.*
        admins:
            inheritance:
            - moderator
            permissions:
            - '*'
            - -essentials.backup
            - -essentials.essentials
            - -essentials.setspawn
            - -essentials.reloadall
            - -essentials.plugin
            - essentials.*
            - worldedit.*
            - essentials.sleepingignored
            - regios.*
            - logblock.*
            - ChestShop.*
            - IConomy.*
            - jobs.*
            - creaturebox.*
            worlds:
                world:
                    permissions:
                    - '*'
                    prefix: '&7[ADMIN FROM HELL]'
                ram.has:
                    permissions:
                    - permissions
            options:
                rank: '3'
        Regulard:
            worlds:
                essentials.warp:
                    permissions:
                    - permission
    
     

  14. I have rented a server off a company in america and im not sure what the console system is they use as they have made their own control system for the server. its just confusing at times because the problem only makes the 'members' of factions names vanish anyone without a faction, or is a mod/admin of a faction names still show up.

    I'll try contacting the company to see if there is a problem with it on their side.

    thanks anyway.
     
  15. Offline

    syncr0

    I have a few faction glitches and and some minecraft glitches that I'd like to report. Since I don't want to advertise them in this public forum, but rather private message: who do I pm?
     
  16. Offline

    toastieness

    The prefixes on my server is having problems with faction, i have permission ex (pex) and i have the prefixes set as (Name) (Username), but when you join a faction it has a(**)or(*)or()(FactionName) (1)
     
  17. Offline

    ledhead900

    @Brettflan
    In the next version can we have a faction vote system?

    What I mean by this is currently claim and leader are obtainable by command only and claim only to moderator rank so what if it was changed to a vote system were you need a minimum number of votes to allow someone to claim or be leader.

    Lets say you current leader is shockingly bad at faction control and the people of faction want him out. One of the members types /f vote leader, this initiates a vote to become leader, then those who agree would type /vote playername yes/no.

    Playername would be to in case multiple votes are going so players typing vote would type the player who started a vote and there choice yes or no. This system could work for claim rights as well or even bank right in fact any roles within the faction could be voted for. In the config file you could setup at what % of votes would be needed to pass the vote.

    Such as min of 4 people need to vote and 80% of the total be yes.


    Hope you like the idea brett.
     
  18. Offline

    RiotShielder

    No cfg files have been generated in my plugins folder :/
     
  19. Offline

    Rayleightx

    Oh, me again, ummmmm... juuust wondering, instead making two factions enemies when just one wants to have the other like enemy, is there a way to make it so both factions have to agree to be enemies?
    ... confusing, better show it like:

    -As of now-
    FactionA wants to be enemy with FactionB.
    FactionB doesn't wants to.
    Faction A leader types /f enemy FactionB.
    Both factions are now declared in war.

    -Wants something like-
    FactionA wants to be enemy with FactionB.
    Faction B doesn't wants to.
    FactionA leader types /f enemy FactionB.
    FactionB doesn't types anything.
    Both factions keep being neutral to each other.

    PS: Awesome plugin! And Merry Christmas
     
  20. Offline

    ac3boyrom3o

    Hello guys I have PEX installed and it works fine but it seems that everyone has perms to use any /f commands, I checked and the group hasn't got "*" in it so... I don't know what to do as I wanted to make it only available for some groups not all can you help pls?!!?
     
  21. Offline

    Zidkon

    @MassiveCraft what have you done with the source code?, It says I cannot compile it because u used something at register like a major 51 level (supossly only used at Java 7), and if I compile in java 7 it says when I try execute an error on console about versions

    Can you tell me how to compile it just with javac.exe ? :) I can't because the register thing :(
     
  22. Offline

    Doc

    Request: instead of worldsIgnorePvP etc
    Can you make an inverse
    FactionsWorksInWorlds:

    I only have one world for factions, the rest I dont want any faction interaction.
    Since we are adding worlds all the time, its a real pain to disable factions in all the worlds instead of allowing things in one world.

    Thanks!

    -Doc
     
  23. Offline

    Nastaros

    I am willing to donate for a "buy power" command with the ability to set price of power, for example: (price= 100*currentmaxpower)

    I need this ASAP, and will donate when it release if it doesn't take years....
     
  24. Offline

    Brettflan

    Events are passed on to listeners in this order based on the listeners' priority levels: Lowest->Low->Normal->High->Highest->Monitor. Register your event listener with "Monitor" priority if you don't need to change the event in any way. Otherwise, "Highest" will be run last. Of course, you have no way of knowing the order other plugins will be listening in, so others which are also at "Highest" level might get the event before or after your plugin. So for that, to make sure another plugin goes before yours, you can add it to your plugin's softdepend list in your plugin.yml file. It will then be loaded before your plugin and therefore should register its listener before your plugin.

    As I've already said, it would have complications. That's why I haven't done it and don't plan to. Based on that, I wouldn't expect anyone else to step in and do it either.

    We've toyed with the idea of visually marking territory corners, and it may well be added at some point. It will probably require Spout+Spoutcraft if/when we add it.
    For now, you can simply walk to the edges and determine them easily enough that way.

    Tried this?
    - -factions.create

    You could PM me, though I doubt it's anything which isn't already known. Redstone and/or TNT related, maybe? If so, that's a CraftBukkit issue which they will hopefully fix soon.

    Read the userguide regarding how Factions handles chat. In your case, you at the very least need to change “chatTagInsertIndex” to something else.

    Probably not going to happen any time soon if ever. It would take quite a bit of work to implement. Anyway, if the majority of a faction are unhappy with the current leadership, it's easy enough for them to collectively leave and form a new faction.

    Are there any errors output to your server console/log at startup?

    We might eventually add an option to determine how enemy declarations are handled.

    factions.kit.fullplayer permission is granted by default. You should be able to deny individual permissions as needed.

    Without the actual error, there's no telling. Anyway, I've only ever used NetBeans to compile it, and Olof uses Eclipse himself. I've never tried compiling anything with javac.exe, so you'd know better than me how to use it.

    Sorry, but no. That would then require people new to the plugin to actually specify a world/worlds which they want to use the plugin in. Not practical.

    Something like that would need to wait until we've got 1.7 out, switched to using Vault in place of Register, but it's possible.
     
  25. Offline

    ac3boyrom3o

    How would I do that? I know how to add perms but do I just add perms and they work like stopping players from using the commands or do I have to fiddle with the files?
     
  26. Offline

    Brettflan

    Your permission plugin of choice should provide a method for denying/removing specific permissions.
     
  27. Offline

    LeGenDaryX

    The register plugin isnt updated.. so how can i use iconomy for factions now?
     
  28. Offline

    ac3boyrom3o

    It does I'm using pex unfortunately in the files there is nothing that has something to do with factions :(
     
  29. Offline

    Doc

    It could be a toggle, use one system or the other.
     
  30. Offline

    ledhead900

    @Brettflan
    I can accept not bothering to do it coz its too hard basket I don't see how it would be that hard to get a vote kick in to at least kick the current leader and let it randomly pick another player, second half of that idea already is in 1.6.1.

    It would be extremely simple to vote kick I would think anyway :/.

    I can live with out it but just in regards to your other post my server only has 2 factions and will only have 2 factions for some time. I don't allow players to freely go make new factions or I end up with 3 player factions all over the place so this time we are sticking to 2 large factions.

    That was why I asked for the vote system as it would be pretty hard to force a shitty leader out. I can handle using the random leader system in place but it would make my life a lot easier if players could put a simple vote up to kick current leader.

    Since staff won't be controlling these 2 factions we are going to initially setup the starting areas of the factions and things like that but then once someone offers to take it over they can. I guess now I think about it

    Easy Request
    Could I get a "Can't be Disbanded" - so that random leaders cannot simply disband the faction.
     

Share This Page