[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

    Amrac

    Does player can buy some max power with economy?

    That would be cool, cause player are getting boring ...
     
  2. Offline

    Gamer_169

    I tried using this but the commands are not doing anything, even when i type /f help the help page wont come up. Do I have to activate this plugin somehow?
    Never mind i re-downloaded and it works now
     
  3. Offline

    Dylan Helling

    [SEVERE] Error occurred while enabling Factions v1.4.2 (Is it up to date?): BLOCK_PISTON_EXTEND
    java.lang.NoSuchFieldError: BLOCK_PISTON_EXTEND
    at com.massivecraft.factions.Factions.onEnable(Factions.java:163)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:864)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:264)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:152)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:137)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    I'm not for sure of the problem. I have the latest craftbukkit and latest faction jar. Can you help me out?
     
  4. Offline

    eRko16

    I have problem! It doesn't work on my server

    Cb: 1000

    Error:
    21:41:17 [SEVERE] [Factions v1.4.2] Disabling myself as .\lib\gson.jar is missin
    g.
    21:41:17 [SEVERE] Error occurred while disabling Factions v1.4.2 (Is it up to da
    te?): com/google/gson/Gson
    java.lang.NoClassDefFoundError: com/google/gson/Gson
    at com.massivecraft.factions.FPlayer.save(FPlayer.java:626)
    at com.massivecraft.factions.Factions.saveAll(Factions.java:442)
    at com.massivecraft.factions.Factions.onDisable(Factions.java:180)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
    at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoade
    r.java:899)
    at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManag
    er.java:288)
    at com.massivecraft.factions.Factions.onEnable(Factions.java:75)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader
    .java:878)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage
    r.java:272)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:162)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:146
    )
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:284)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:271)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:148)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:335)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.google.gson.Gson
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    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(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 17 more
     
  5. Offline

    Dylan Helling



    All you need to do is make a lib folder and then download gson file and put into it
     
  6. Offline

    SH4D0WS1N

    I have a similar problem, except they're swapped for me and I don't want them to be.
    I'm using mChat and the faction appears as
    aFACTION 7SH4D0WS1N
    The 7 is my color code for my mChat prefix.
    Code:
            default: '&7'
    (hidden admin rawr)
    a is from
    Code:
      "chatTagFormat": "%s§f ",
      "factionChatFormat": "§a%s§f %s",
    I want it to look like
    (FACTION) [GROUP] NAME
    The faction colored if needed, the group name is for anything but default obviously.

    If I'm in a group that has a full prefix:
    Code:
            owner: '&4[Owner] &7'
            headadmin: '&2[Head Admin] &7'
    It looks like
    [PREFIX]FACTION NAME
    (there are two spaces there)

    EDIT: Just having [PREFIX]FACTION NAME is fine, but I want to get rid of the default bug.
    Also, all &7 codes were changed to &f.
    The double space just above this edit was fixed.
     
  7. Offline

    Darkedge

    “autoLeaveAfterDaysOfInactivity”
    Is there a way to disable this?
    I tried setting this to 0.0 and it causes their clan to be disabled, ideas?
     
  8. Offline

    _Hayleigh_

    Is there a way to set it so one permissions group only gets 1 power while another permissions group gets 10 power?
     
  9. Offline

    Brettflan

    As I said earlier:

    Does it happen if you remove your existing Factions configuration files? If that fixes it, please zip the configuration files up and stick them on Mediafire or somewhere, and send me the link in a Conversation.

    Read the user guide here, particularly concerning chat integration: http://massivecraft.com/plugins/factions/config

    Looks like your CraftBukkit is outdated. What version of CraftBukkit shows when you start the server up? For example, if it really is the latest RB 1000, you'll see this:
    [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-945-g73697a4-b1000jnks (MC: 1.7.3)

    Wrong thread?

    For now, just set it to a really high number like 1000 or something. I'll update it so that it's disabled if you set it to 0.0 in the next release.

    Not currently possible or planned, sorry.
     
  10. Offline

    embty

    I have a problem :D is it possible to disable essentials /sethome command or /home inside enemy territory?
     
  11. Offline

    killerhunt0

    oh... haha ya... *facepalm*
     
  12. Offline

    weixing

    I am still not able to get the faction tag while using herochat, any idea?
     
  13. Offline

    Malchus

    I literally jsut switched server hosts and it removed A LOT OF claimed faction areas have been gone including some factions I got the error:
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-23,10]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-23,6]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-23,9]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-22,10]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-27,5]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-27,6]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-26,3]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-26,4]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-26,5]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-26,6]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-25,3]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-25,5]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-25,4]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 44 from [world,-24,4]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,59,-45]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,61,-46]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,61,-45]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,61,-44]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,60,-46]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,60,-44]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 37 from [world,60,-45]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-32,-33]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-32,-32]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-32,-35]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-32,-34]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-32,-31]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-34,-32]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-32,-36]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-33,-31]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 57 from [world,-33,-32]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,1,-59]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,1,-57]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,1,-58]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,1,-55]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,1,-56]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,0,-59]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,0,-56]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,2,-54]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,2,-55]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,2,-56]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,2,-53]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,2,-59]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,2,-58]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,4,-55]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,4,-52]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,4,-53]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,4,-59]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,4,-60]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,3,-56]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,3,-55]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,3,-54]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,3,-53]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,3,-59]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,6,-57]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,5,-55]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,5,-58]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,5,-57]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 42 from [world,5,-59]
    23:48:55 [INFO] [Factions v1.3.7] Board cleaner removed 58 from [world,-38,36]
     
  14. Offline

    Brettflan

    Someone else was asking about that, but wasn't interested enough to donate. My solution would be to allow you to disable any specific commands if inside enemy territory. You would actually be able to disable any particular start of a command; for example, you could disable "/time", and that would disable /time, /time night, /time day, and anything else that starts with that text. You could therefore just disable "/time night", and it would leave the other commands above as working. It's a fair bit of work, so it's not something I'll likely ever get around to adding without incentive. I'm actually working on a couple of other commissioned features at the moment (member-specific ownership of certain claims settable by faction admin, and basic iConomy support for several commands), so this one is not something I'm likely to get to in the next few days. If you're interested though, start a Conversation with me about it.

    As I repeated again in my very last post:
    Go nag the HeroChat author.

    Those are not errors, in and of themselves. When a faction is removed for whatever reason (left without admin or mods due them leaving or being kicked for inactivity, disbanded, whatever), the board cleaner removes all territory claims for that faction.
    The main determiner if it's an error: you lose all factions and claims. You also get an actual error message which should indicate the problem, usually indicating something to do with Gson/Json parsing.
     
  15. Offline

    Guarana_SUI

    can u add more permission nodes to make it more configurable, like faction.help or faction.claim, the fact is, i only use the plugin to let the users make guild and get allies for PVP. but i dont really use the Claim and chat feature so the huge number of "senceless" commands kind of confusing some user's when they type "/f Help"
    i hope u understand me, even with the bad english ;)

    lg Guarana
     
  16. Offline

    darkwarriors

    can u add a possibility that a faction is forever nopvp? so they can build and claim without any war like a villega! for me could be very cool so players faction can decide if thay want a pvp-game or only a build-game!
     
  17. Offline

    Malchus

    I see. Well a faction was disbanded when they clearly did have an admin. half of all the faction land was unclaimed. All these newly created factions, which I am positive had a leader.... got disbanded.
     
  18. Offline

    sebastian97

    Why does my conf.json reset whenever I reload the server? I just want to make it so nothing is protected when they are online
     
  19. Offline

    Brettflan

    Permissions: "factions.disableCommand.help" and "factions.disableCommand.claim". Along with "factions.disableCommand.<AnyCommandYouWantDisabled>".

    As stated earlier, planned. It will be a "peaceful" status for factions which has to be set by a server admin/moderator, when I get around to it.

    But it only happened when you moved from one server to another, right? All sorts of potential problems there.

    It resets if the file format is corrupted and thus unreadable, as covered in the user guide's FAQ. If you're just wanting to change settings in conf.json, you should probably use the new /f config <setting> <value> command instead since you're having problems manually editing the file.
     
  20. Offline

    sebastian97

    Sorry to bother you, but whats the command to unprotect chests with the /f config? Can't seem to find it.
     
  21. Offline

    Brettflan

    For any settings which are a list of multiple values, /f config will remove the specified value if it's already in the list or add it to the list if not.
    /f config territoryProtectedMaterials chest
    /f config territoryProtectedMaterialsWhenOffline chest
     
  22. Offline

    embty

    Suggestion: The feature of having to set whatever permission you want is amazing and I thought what would really complete it, is having a custom land zone ie shopzone with alot of options to pick from.
    Edit: like hooking it to a faction without having them claiming in shops area for example. but this is not for shops only its just a custom land making that only admins can claim.
     
  23. Offline

    Brettflan

    So, like safe zones or war zones, but with further unspecified features of some sort? I'm not completely understanding what you're talking about.

    New release:
    Next up, thanks to a donation from ledhead900, I'll be adding basic iConomy support. This will include configurable costs for many of the commands like creating a faction, claiming land, and so forth.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  24. Offline

    embty

    Yeah like safe zone and war zone but custom made by admins of a servers lets for example: i ahve a shop area that I want to protect so im gonna make a zone called Shop zone and disable pvp in it and then make a zone for each shop owner so he can have rights to build in it without the need of actually claiming using his own power.
    Edit: just the like the owner ship in new version but with more than 1 owner.
     
  25. First of all thank you Ledhead900.
    Secondly, will this be able to be scaled in anyway. For example;
    First claim; 100
    Second claim; 200
    Hundredth claim; 10,000
    + loving the recent updates, giving factions the edge ;)
     
  26. Offline

    swift_fox24

    BukkitContrib Features? Just thinking of all the possibilities gives me the chills!
     
  27. Offline

    Brettflan

    Not too likely. There are a lot of different factors involved in what you're asking for.

    Yes, there will be a multiplier available to increase the cost of additional claims. Example: if claims are set to cost 100 and the multiplier is set to 0.5, the 2nd claim will cost 150, 5th will cost 300, 10th will cost 550, and so forth.

    Doubtful, but what features in particular are you talking about?
     
  28. Probably shouldn't be doing this here, but to help a fellow user!
    If you are using the WorldGuard plugin then you could make the shop area a child of the bigger picture and then set a welcome message. If that's what you want, right? From this you can get a WorldGuard rental plugin (i'm sure there is one somewhere) and let them to your users. This way no power is consumed, pvp can be disabled and the owner can build in it. If you do it right! Sorry if i got the wrong end of the stick!
    - Dannie
     
  29. Offline

    embty

    You are very right indeed I didnt think of that at all!
    -Thank you very much Mr.Dannie,
     
  30. Offline

    swift_fox24


    Capes for factions, GUI for map plots, enemy, clan based, ally easy recognition, shortcuts for commands, Constant power showing, pretty much anything else. If you ask for suggestions in the OP you will get a whole bunch of ideas that could be absolutely amazing if implemented.
     

Share This Page