[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

    Brettflan

    Setting power level of players or factions while in-game is not currently possible.
    /f kick [player name] works on anyone if you have the factions.disband permission (as covered in the user guide).

    Most likely, you messed with "chatTagFormat" in conf.json and it no longer has "%s" in it (missing the "s").


    EDIT: by the way, I just got through updating the user guide to cover all of the changes and new features available. It should pretty much be up to date. Everyone: please read it before asking random questions which are most likely answered in it.
     
  2. Offline

    OllyHal

    okay I got a brand new conf.json file and still got this error when trying to speak.

    java.util.UnknownFormatConversionException: Conversion = '§'
    at java.util.Formatter.checkText(Formatter.java:2519)
    at java.util.Formatter.parse(Formatter.java:2483)
    at java.util.Formatter.format(Formatter.java:2430)
    at java.util.Formatter.format(Formatter.java:2383)
    at java.lang.String.format(String.java:2781)
    at com.massivecraft.factions.listeners.FactionsPlayerListener.onPlayerCh
    at(FactionsPlayerListener.java:100)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.ja
    va:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.jav
    a:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:332)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
     
  3. Offline

    darkFluppi

    is it possible to show the faction under the name over the figure?
    or only in chat?
    I wish to show it over the figure :S
     
  4. Offline

    Olat

    @Brettflan
    Alright, thanks for the reply. I will update and then give it a shot. If its still fucked, I will talk to them. I appreciate the input!
     
  5. Offline

    1994mat

    Please add a delay for /f home, users can evade death by pvp and stuff
     
  6. Offline

    oglop

    [SUGGEST] [REQ]

    Hello, factions are just awesome! (what can I say)
    I wanted TNTs on my server, I found taht factions plugin has

    "territoryBlockTNT": true,
    this is good but it has some mistakes, me with my friend thougts it could be done by other way ...
    it should workl little like this:
    option: ownedAreasTNTenabled": true/false
    than if you claim enemy territory you can blow it out

    and more advanced
    if the enemy power < onw land, tnt will work on their territory
    option: lessPowerTerritoryTNTenabled: true/false

    I hope you will understand

    I'll suggest it into V2 discussion
     
  7. Offline

    ZerG

    this is a constant issue for random players hopefully you can get this sorted Weve been waiting to add factions for months and when we finally did some players cannot chat in general
    16:01:40 [SEVERE] Could not pass event PLAYER_CHAT to Factions
    java.util.UnknownFormatConversionException: Conversion = '§'
    at java.util.Formatter.checkText(Formatter.java:2519)
    at java.util.Formatter.parse(Formatter.java:2483)
    at java.util.Formatter.format(Formatter.java:2430)
    at java.util.Formatter.format(Formatter.java:2383)
    at java.lang.String.format(String.java:2781)
    at com.massivecraft.factions.listeners.FactionsPlayerListener.onPlayerChat(FactionsPlayerListener.java:100)
    at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    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:85)
    at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    hope this helps
     
  8. Offline

    Mooseeeeey

    I'm getting same error. I can't and some players can't talk ingame
    Code:
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:85)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:670)
    12.08 18:55:49 [Server] INFO 	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:682)
    12.08 18:55:49 [Server] INFO 	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
    12.08 18:55:49 [Server] INFO 	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
    12.08 18:55:49 [Server] INFO 	at org.bukkit.plugin.java.JavaPluginLoader$6.execute(JavaPluginLoader.java:279)
    12.08 18:55:49 [Server] INFO 	at com.massivecraft.factions.listeners.FactionsPlayerListener.onPlayerChat(FactionsPlayerListener.java:100)
    12.08 18:55:49 [Server] INFO 	at java.lang.String.format(String.java:2769)
    12.08 18:55:49 [Server] INFO 	at java.util.Formatter.format(Formatter.java:2367)
    12.08 18:55:49 [Server] INFO 	at java.util.Formatter.format(Formatter.java:2414)
    12.08 18:55:49 [Server] INFO 	at java.util.Formatter.parse(Formatter.java:2467)
    12.08 18:55:49 [Server] INFO 	at java.util.Formatter.checkText(Formatter.java:2503)
    12.08 18:55:49 [Server] INFO java.util.UnknownFormatConversionException: Conversion = '§'
    12.08 18:55:49 [Server] SEVERE Could not pass event PLAYER_CHAT to Factions
    
    Anyone know whats going on?
     
  9. Offline

    The_Guest

    Most likely there is another mod that is formatting your chat before the words get parsed. Factions probably increased/decreased the chat priority or another mod did. Are you guys also using PEX chatmanager?

    Edit: Changing the setting "chatTagInsertIndex" if conf.json to 0 fixes the problem.
     
  10. Offline

    swift_fox24

    BOSEconomy Support?
     
  11. Offline

    OllyHal

    OMG THANK YOU SO MUCH :D

    Edit: Stopped working for me :S
     
  12. Offline

    Brettflan

    What other plugins are you using that modify chat?
    For the next release (still not sure when that will be), I'll try to stick some debug code in there to help shed some light on what's causing that problem for certain people.

    Not currently planned. Feel free to use the settings "homesTeleportAllowedFromEnemyTerritory" and "homesTeleportAllowedEnemyDistance" to prevent /f home in certain circumstances, though.

    I've never heard of it. I doubt I'll implement it myself, but others who are familiar with it are welcome to. It should just require a new setting in Conf.java to enable it, adding enable/disable detection for the plugin in FactionsServerListener.java, and then making all the appropriate additions throughout Econ.java.
     
  13. Offline

    OllyHal

    I am using essentials group manager but Changing the setting "chatTagInsertIndex" if conf.json to 0 fixes the problem.
     
  14. Offline

    swift_fox24

    It's actually quite popular, and gaining popularity. The main advantage is that you can do separate wage brackets with it, plus there's more flexibility to change it around in game, which is useful for those of us who have to go in through a VNC.

    http://forums.bukkit.org/threads/econ-boseconomy-v-0-7-2-simple-econ-system-1000.19025/
     
  15. Offline

    ethood1999

    I removed them for a reason. I thought that option disabled Buckets, Lava/Water Buckets and Flint & Steel in territories as in claimed land, not safe zones? I want EVERYTHING to go in safe zones so I removed them..
     
  16. Offline

    dale196

    Please can somone tell me why, whenever i restart my server factions resets itself?
     
  17. Offline

    Brettflan

    If you're using EssentialsChat, you're better off using the "chatTagReplaceString" method instead. Read the configuration page of the user guide.

    That's nice, I guess. I don't actually use any economy plugin myself. As I said, though, others are welcome to add in support for it. The source is available.

    "territoryDenyUseageMaterials" is referenced by all of the "DenyUseage" options, whether for territories, safe zones, war zones, etc.

    Read the configuration page of the user guide.
     
  18. Offline

    T4L_Goose

    You're doing a great job with this Brett. It's only getting better and better.

    I love the colored names idea, and I think it would be cool to have an option in the config to give faction admins capes as well. That way it'd be easier to tell who was the faction leader from afar.
     
  19. Offline

    tinez

    Hey, i just want to know, at this moment, when a player1 with no faction attack another player2 in his territory's faction the first player1 can't hit him and a message about "You can't hurt player2 in his territory" appear!
    But, the player2 can hurt player1.

    Same when two player from two separate neutral faction attack each other in one of them territory.

    I want to avoid this. I want everyone able to attack everyone, no matter of the territory. But i don't find anything about it in the conf..

    Sry for english
     
  20. Offline

    MG127

    hi there
    the chat-colors doesn't realy work, it allways prints the color-char instead of changing the color.
    and § as a color-prefix works only on vanilla server i think, but not with a chatplugin.
    most chatplugins use & but this doesn't work either.
    using bukkit-1000 and defaultCommands
     
  21. Offline

    Brettflan

    Capes for faction admins only? Not a bad idea.

    There's currently no setting which allows neutrals to attack members of a faction in that faction's own territory. Simple enough solution, though: have them declare the other faction as enemy.

    Chat colors work fine if you have the chat settings configured properly. You should read the configuration page of the user guide, which covers chat configuration.
     
  22. Offline

    EnderGod

    I'm on a factions server and in my opinion its 10x better than towny despite one flaw. Have you ever considered making rankings a alliances work differently? Alot of player, on my server anyway, want a way to have multiple admins for a faction. To basically have more than one person in charge. (hopefully without rivaling each-other too much) You may have though of this already but I just thought i'd throw it out there.
     
  23. Offline

    Yahtze

    @Brettflan

    Would be possible to add an option to only disable pvp against peaceful faction members in their territory? But have their pvp on elsewhere ?

    Also, the built in chat seems to be a bit janky when trying to disable it. It seems as though faction admins and faction mods keep their tags, and are unable to chat in our HeroChat channels. The only way I found to fix this was to get them to /f chat off is there a way to have it toggled off by default ?

    cheers
     
  24. can someone help me with the chat thing i dont want it to say f**SkyPrey f
     
  25. Offline

    icupeverynite

    I turn the server off and change everything in the config file. Make sure its all correct and have used several different things like notepad ++ to also change the files. However everytime I do this it seems to not read the conf.json file at all and then when i reload it gets reseted. Im assuming that it isnt reading the file at all and somehow using another one idk.
     
  26. Offline

    Yahtze

    @icupeverynite

    Simple issue, Open the conf.json once again, redo the changes that you wanted to do. Once you're done, save the file, DO NOT DO /reload, it will reset the file, instead, get an op to do a /f reload. This will load the new settings.
     
  27. Offline

    godgodgodgo

  28. Offline

    oglop

    [NEW IDEAS]

    I think that allied factions should be able to build and use items (doors ..etc) on allied territory
    also should be configurableb in config.yml
     
  29. Offline

    kukelekuuk00

    [Suggestion]

    Multiworld support (I want nether factions)
     
  30. Offline

    GoPlus

    There is multiworld support. Just start claiming land in other world.

    Unless you want to be in a different faction in the nether.
     

Share This Page