[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

    xGcoinx

    It says its not up to date....It really is....Wtf?


    Code:
    2011-08-23 17:45:07 [INFO] [Factions v1.4.5] === ENABLE START ===
    2011-08-23 17:45:07 [SEVERE] Error occurred while enabling Factions v1.4.5 (Is it up to date?): com/google/gson/reflect/TypeToken
    java.lang.NoClassDefFoundError: com/google/gson/reflect/TypeToken
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClassCond(Unknown Source)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$000(Unknown Source)
        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.JavaPluginLoader.getClassByName(JavaPluginLoader.java:219)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at com.massivecraft.factions.Factions.onEnable(Factions.java:84)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.google.gson.reflect.TypeToken
        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)
        ... 26 more
     
  2. Offline

    Brettflan

    That does look to be a problem with your gson.jar. Are you using the one linked to in the first post? If so, do you maybe have another plugin which uses GSON but bundles it into their JAR file?
     
  3. Offline

    xGcoinx

    I personally wouldn't know.


    EDIT:

    I'll post a screen shot of my pluggins
     
  4. Offline

    xGcoinx

    Here's all my pluggins. I have no idea if any of them use GSON


    EDIT: This is incorrect....I've given you the wrong part of the log.
     

    Attached Files:

    • wtf.png
      wtf.png
      File size:
      63.8 KB
      Views:
      7
  5. Offline

    Brettflan

    By the way, I also notice you're running 1.4.5 in that error message. You should update to 1.4.7, and be sure to download and use the gson.jar file linked to in the first post.

    EDIT: but you've since updated to 1.4.7 according to that image? WTF indeed.
     
  6. Offline

    xGcoinx


    I am using the latest....Idk why its saying that...and I am using the most updated "GSON" too.

    You see? I've lost 99.9% of my players due to this crappy glitch.

    EDIT: I'll inclue my entire Log


    EDIT EDIT: I've made a mistake. The real error is posted below

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

    Brettflan

    The latest reports itself as 1.4.7 when it starts up; the version in that error you posted above is 1.4.5, not 1.4.7.
    What are you using to update it, anyway? Some kind of interface provided by your host?
     
  8. Offline

    xGcoinx

    2011-08-23 22:13:11 [INFO] [Factions v1.4.7] === ENABLE START ===
    2011-08-23 22:13:11 [SEVERE] Error occurred while enabling Factions v1.4.7 (Is it up to date?): com/google/gson/reflect/TypeToken
    java.lang.NoClassDefFoundError: com/google/gson/reflect/TypeToken
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    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.JavaPluginLoader.getClassByName(JavaPluginLoader.java:219)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:32)
    at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:24)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.massivecraft.factions.Factions.onEnable(Factions.java:85)
    at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:126)
    at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:885)
    at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:278)
    at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:178)
    at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:161)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:286)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:273)
    at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:149)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:337)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.ClassNotFoundException: com.google.gson.reflect.TypeToken
    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)
    ... 26 more
     
  9. Offline

    Brettflan

    As a test, can you try momentarily removing all other plugins and trying to start your server up with only Factions? Whether you get that same error will indicate whether it is another plugin also using GSON that is causing the problem or not.
     
  10. Offline

    xGcoinx

    Testing Now.

    Just booted it up on a blank server on my PC and got the error...

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

    Brettflan

    And that's with Factions as the only plugin loaded, the exact same error message? Well, that rules out other plugins using a different conflicting GSON implementation. Hmm. Out of curiosity, what version of CraftBukkit are you running? Can you paste the identifying line from your server startup info, like so?
    21:42:24 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-982-g7903a8f-b1063jnks (MC: 1.7.3)

    Also, could you try downloading this gson.jar and overwriting the one you have in your minecraft server's <root>/lib/ folder?
    http://wimbli.com/minecraft/gson.jar
     
  12. Offline

    xGcoinx

    2011-08-23 22:13:06 [INFO] This server is running Craftbukkit version git-Bukkit-0.0.0-980-g4ed23b1-b1060jnks (MC: 1.7.3)

    ONE OF THOSE TWO JUST FIXED IT! I LOVE YOU I LOVE YOU I LOVE YOU!

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

    Brettflan

    So overwriting your /lib/gson.jar file fixed it? Interesting.
    I'm not sure what to make of that, it was a copy of the gson.jar on GitHub for the project which is the exact same version as the one on MassiveCraft.com. Maybe you got a corrupt download from there or something?
     
  14. Offline

    T4L_Goose

    It could just be a flaw in Bukkit then.
     
  15. Offline

    GmK

    @Brettflan

    I am correct in assuming, that I can run Factions completely without any sort of land claiming or region stuff (As to *only* have the factions) by disabling the region/claim features for all my worlds?

    Or does the plugin need things like a claimed region for the faction home command and such?

    Reason being, I want factions, but not any of the claiming/area/whatever things ;)
     
  16. Offline

    oglop

    I was asking bcz I want that the players are able to use TNT cannons in war between factions instead of use tnt only to grief rest of the world.
    I was on one server and there were TNTs enabled but after one week there was nothing just postapocalypse holes and they had to generate new map
    thats why I thought it would be good for factions.
    So the factionless people could mine under y height and enemy factions are able to destroy each other.

    and I'd like ask about my other suggestion that the allied factions will be able to use stuff (levers, buttons etc) of other allied faction ... FAC1 is ally of FAC2 => FAC1 can use things of FAC2
     
  17. Offline

    Brettflan

    Yes, it will work. You'll probably want to add the factions.commandDisable.claim permission to your users to keep them from being able to claim land.

    1. Fair enough points, it could make sense if implemented properly. Still not something I expect I'll ever have time to work on.
    2. Read the release notes for 1.4.6 in the first post and you might see something you like.
     
    oglop likes this.
  18. Offline

    Mini_Watto

    I had the same error as him from the start. I tried redownloading gson.jar, but that didnt work. I managed to fix mine by replacing craftbukkit.jar
     
  19. Offline

    oglop

    new BUG(s) found?

    hello we found 2 bugs one new and one old (piston maybe can't be fixed)

    so new one:
    its about factions ally and owned land
    if I'm owner of land from my faction1 so no one can use,build... etc.. at that place (except fac. mods. and me, this is OK).
    When I'm owner of land in my faction1 and I have allied faction2
    all ppl from faction2 can use protected materials of faction1 "territoryAllyProtectMaterials": false (OK)
    but they should be unable to use protected materials at owned areas of ally faction too (as their faction)!

    so old one:
    piston + redstone torch + 'ALL'"territoryDenyBuild" and deny protected materials,usage etc: true,+owned areas

    if you have just PISTON and block in front of it and have lever to control it and you ownig land
    no one should be able to move block by piston (OK)

    but there is a bug which working same as bugging myself higher on deny build locations
    (I'mean when you add a block under yourself and jump, block will disappear and you are standing at same altitude, but it is bug able by still adding blocks under yourself and jumping and if small lag appear you able to get higher then 1 block up, depends on lag length ... at one totally laged server I boosted myself 10+ block high :D)
    piston ..... -|
    lever .... /
    redstone torch .... [torch]
    common block .... [cobble]
    .... movig of block
    you are on deny everything location

    /-|[cobble] ... you can't move block bcz of deny (OK)

    if you place redstone torch nearby piston, piston will move block but your RS torch disappear (almost immediately)

    1. -|[cobble]
    2. [torch]-|[cobble] (placed rs torch)
    3. [torch]-|.....[cobble] (piston moved block)
    3. -| [cobble] (rs torch disappeared, piston is back, block has new position)


    if you don't understand something I'll try to explain it better. Thank you
     
  20. Offline

    ReapDa

    I'm somewhat of a newcomer to using Bukkit, but I've followed the instructions for each plugin precisely.. or so I think. I'm not getting any errors at all. Everything is working fine, but when other players try to use the commands in order to create/manage a faction, they get an error in red text. It also seems to show up in the server log but I'm thinking it's only when other players attempt to use the command. I'm also using EasyShout to broadcast help messages for players. Not sure if that would conflict at all.


    "An internal error occurred while attempting to perform this command."

    This seems to be related to the error in the console log as it says


    "Unhandled exception executing command 'f' in plugin Factions v1.4.7" followed by a lot of other stuff.

    [​IMG]
     
  21. Offline

    autobomb

    Is there anyway to set PvP in enemy factions on. So I can go kill a player while he is still in his territory?
    I've tried looking for the command to set to true.. Please help.
     
  22. Offline

    wirm

    Has anyone got Factions to work with PermissionsEx's ChatManager?
     
  23. Offline

    Mrchasez

    I am unable to download this from Github, is their anywhere else i can download it?
     
  24. Offline

    Malchus

    I have multiple requests for this plugin I love so dearly.
    1. Internal faction ranks with different permissions.
    I.e. the faction leader can make ranks with different permissions. For example, a rank could be Guest, and they can not access chests, but they can edit blocks. Stuff like that.

    2. Spout support. I would really enjoy a GUI for factions, I know that is somewhat of a large request but it would be EPIC. Sort of like the guild interface in WoW.
     
  25. Offline

    x5StArNRz

    Okay so...On my faction PvP server, I tired to allow guests (The default and lowest rank) to join factions etc. Evrything but /f join works >.< Any idea why?
     
  26. Offline

    paragonnova

    I followed u here from the KingsCraft Forums haha
    I couldn't post or send u a message
    Anyway, I simply reposted the file to mediafire: <Edit by Moderator: Redacted mediafire url>
    Here's a virusscan: http://virusscan.jotti.org/en/scanresult/84e3e7c71d0a06430f2daf864ad730fa46036f50
    Also, I apologize for cursing at you, I was mad at fake chasez, not you.
     
    Last edited by a moderator: Nov 27, 2016
  27. Offline

    oglop

    you can set owner of area, imho it's enough and it works, anyway there is still bug that I found yesterday


    permissions?
    factions.participate – join factions, etc. (add this to the default group) ... I'm using PEX and working fine
     
  28. Offline

    Zorkin3

    It worked for me also. Thanks!
     
  29. Offline

    Dysp

    Hi.

    Great plugin. Our server is actually built entirely upon this plugin.
    However, I want to request something - it could be really, really cool to add some statistics "outputs" for upload on a webpage. (Im not the technical guy; Im just a thinker :D)
    The most powerful factions, how much land they have claimed, maybe kill/death ratio, their enemies/allies/whatever and maybe "wealth":

    - How many diamonds does the faction have in total?
    - How many coins does the faction have? (We use BOSEconomy) Maybe based on the faction's bank account.

    Statistics REALLY helps influence the competitive minds of our players. It is motivating knowing that you are only second best and need to mine, to get the 1st place ;)

    Dysp
     
    Teath likes this.
  30. Offline

    Techykid3

    Okay, is there a way to only enable it for CERTAIN worlds?
     

Share This Page