[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

    Hammerfell

    Hey Brettflan I was wondering if you can add something to factions. I've been trying to add UltimateArena to my server but when we begin the fight and kill each other we loss faction power. Is there anyway that you can change it so the factions won't loss power when someone is killed in the arena. Also, I think it would be nice to be able to allow nopowerloss within a region as well. Much like you did with multiverse.
     
  2. Offline

    NazzyDragon

    Brettflan

    How is making iron golems faction-specific working out? I can't wait to see that if you can do it!!
     
  3. Offline

    Curtis3321

    You can claim the area as a Warzone and in the factions config u can turn it off where they cannot lose power in the warzone , thats what i have done ;)
     
  4. Offline

    Brettflan

    The problem is that we cannot duplicate this issue on our servers, and the vast majority of people using this plugin don't seem to encounter it either. Without any logged error or other clear indication of why it's happening, no obvious way to duplicate the problem, and no obvious reason in the code as to how it would be happening, there's not much we can do about it.

    Set it as a WarZone and disable power loss for WarZones. /f config warZonePowerLoss false
    In 1.7 you will also be able to disable power loss for any specific faction's territory.
    EDIT: as Curtis3321 indicated.

    It's on the list, it's not being worked on yet.
     
  5. Offline

    iponu7

    Do you plan on updating to 1.2.3 any time soon?
     
  6. Offline

    Catjjc

    I'm wondering If anyone knows how it's possible to create your own working system factions which exist without any players inside them, much like wilderness and warzone.

    Great plugin, thanks!
     
  7. Offline

    FearGrump

    Its really just completely random. It doesn't usually happen but when it does.. Oh jolly.

    Could it possible be from saving the factions files but crashing in that period?
     
  8. Offline

    Brettflan

    1.6.6b works in 1.2.3.

    Mark the faction as permanent (/f permanent) and it will remain even with no players. It won't function quite like SafeZones or WarZones, though that will be possible in 1.7.

    So based on an issue I just addressed in the source, let me ask: I know you've sworn that you have not gotten any errors at startup, but are you absolutely sure? Fatal errors during Factions startup do currently have the ability to wipe the board and faction list. For example, if you try loading Factions 1.6.6 (not 1.6.6b) on CraftBukkit 1.1-R5 or newer, it not only fails to load but additionally will wipe your board and faction list.
    This issue will be fixed from the next release forward so that it can't happen again (if Factions fails to fully load, it will no longer save any files on shutdown), but the issue does still exist up through the current release.
     
  9. Offline

    piemaker16

    I'm Using bukkit R4 (still) and i get an error like this......

    Code:
    09:03:36 [INFO] [Factions] Loading Factions v1.6.6.
    09:03:36 [INFO] [Factions v1.6.6] === ENABLE START ===
    09:03:38 [INFO] [Factions v1.6.6] Creating default: plugins/Factions/conf.json
    09:03:38 [SEVERE] Error occurred while enabling Factions v1.6.6 (Is it up to date?): null
    java.lang.AssertionError
        at com.google.gson.internal.bind.TypeAdapters$EnumTypeAdapter.<init>(TypeAdapters.java:686)
        at com.google.gson.internal.bind.TypeAdapters$24.create(TypeAdapters.java:715)
        at com.google.gson.Gson.getAdapter(Gson.java:353)
        at com.google.gson.internal.bind.CollectionTypeAdapterFactory.create(CollectionTypeAdapterFactory.java:52)
        at com.google.gson.Gson.getAdapter(Gson.java:353)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory$1.<init>(ReflectiveTypeAdapterFactory.java:82)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.createBoundField(ReflectiveTypeAdapterFactory.java:81)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.getBoundFields(ReflectiveTypeAdapterFactory.java:118)
        at com.google.gson.internal.bind.ReflectiveTypeAdapterFactory.create(ReflectiveTypeAdapterFactory.java:72)
        at com.google.gson.Gson.getAdapter(Gson.java:353)
        at com.google.gson.Gson.toJson(Gson.java:538)
        at com.google.gson.Gson.toJson(Gson.java:525)
        at com.google.gson.Gson.toJson(Gson.java:480)
        at com.google.gson.Gson.toJson(Gson.java:460)
        at com.massivecraft.factions.zcore.util.Persist.save(Persist.java:116)
        at com.massivecraft.factions.zcore.util.Persist.loadOrSaveDefault(Persist.java:80)
        at com.massivecraft.factions.zcore.util.Persist.loadOrSaveDefault(Persist.java:72)
        at com.massivecraft.factions.Conf.load(Conf.java:345)
        at com.massivecraft.factions.P.onEnable(P.java:78)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380)
        at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:200)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:183)
        at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:360)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:347)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:178)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:411)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    
    I also get this error upon unloading the plugin.

    I have tryed the recommended gson.jar from page 93 (i think) by putting it in my lib folder. I still get this exact same error. I would like to continue to use R4 since all my plugins and mods are for it and i do not plan to updaate until everything is updated.

    Also how different is this from SimpleClans?
    I have used SimpleClans in the past but i think i have deleted all of its files/folders.
     
  10. Offline

    oscar1999

    Hello!

    On my server only OP:s can make clans and people doesn't lose power when they claim land. How do I change this?
     
  11. Offline

    Curtis3321

    Hello, i have a quitestion which is quite inportant so im gunna fire away =D

    is there anyway i can stop people from doing /f desc more than once in so many mins to stop them from spamming my server and possibly crashing it? Help would be appreciated!
     
  12. Offline

    imrx

    Hey. I cant seem to configure the prefix. I'm using ChatManager. It just gives me this: a**test 4[Admin]imrx
     
  13. Offline

    Mrawesomecookie

    Awesome mod! Diamonds to you! [diamond][​IMG][diamond][diamond][​IMG][​IMG][​IMG][​IMG][​IMG][​IMG][​IMG]and maybe some gold:) [​IMG]
     
  14. Offline

    FearGrump

    If you consider read time out when loading factions is a really big error then there might be a few lol. Otherwise, I am 100% positive that there are no errors relating plugins or the map during start up. I do check everything over before I load it onto the server so that incase something went wrong, I would know how to fix it. And on the local server, I check for the errors just incase the new plugin being added would break the rest of the plugins.

    Im pretty sure chat manager doesnt do the faction tags.

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

    imrx

    Yes. And I solved it, so no help needed anymore. :D
     
  16. Offline

    Brettflan

    1. Hmm, the same exact error as austin1397 was having on 1.1-R4 with Factions 1.6.6. It's pointing to an error in loading GSON. You've tried using the recommended newer copy of it. So my best guess is that another plugin is also using GSON and is interfering. Can you try temporarily removing all other plugins to see if one of them is interfering?
    EDIT: also, if that doesn't pan out, please try replacing the /lib/gson.jar file with each of these individually to see if either fixes your problem:
    http://wimbli.com/minecraft/gson1/gson.jar
    http://wimbli.com/minecraft/gson2/gson.jar
    If you find a fix for your problem, please post back so any others with the same problem might have a solution.
    2. I've never used SimpleClans, so I couldn't say.

    Please see the FAQ regarding setting up permissions. As for players not losing power when claiming land, power is only lost on death and potentially from staying offline for a long time. Please read the user guide regarding how power and land claiming works.

    /f desc shouldn't do anything potentially stressful that could crash your server. As for keeping people from spamming it, there are some other plugins which provide command cooldowns and such. Otherwise, there's nothing in Factions to prevent players from repeatedly spamming commands, basically the same as with default commands. Personally, if someone truly spams my server with anything multiple times per second continuously, I ban them.

    In that case, again, I'm back to having nothing useful to go on for your problem. Sorry.

    The FAQ and user guide can be quite useful, eh?
     
    Curtis3321 likes this.
  17. Offline

    Curtis3321

    /f desc shouldn't do anything potentially stressful that could crash your server. As for keeping people from spamming it, there are some other plugins which provide command cooldowns and such. Otherwise, there's nothing in Factions to prevent players from repeatedly spamming commands, basically the same as with default commands. Personally, if someone truly spams my server with anything multiple times per second continuously, I ban them.


    Thanks for the reply sir. i will look into those plugins!
     
  18. Offline

    subanoomic

    Could you add the possibility to prevent creeper block damage in protected areas, preferably configurable?
     
  19. Offline

    Fuzzy88

    I found a funny mistake in the user guide. :p
    In the Safe Zones at one sentence it says " PVP is turned of and monsters may not spawn or hurt players there."
    "PVP is turned OF"<--LOL
    Just pointing it out. :)
     
  20. Offline

    itsatacoshop247

    Is there an API or anything for this plugin so that I can check if a player has building permissions on a specific block? Users of my plugin and the factions plugin are getting kind of rowdy over on my thread, yet I don't see any links to an API anywhere within your documentation.
     
  21. Offline

    Brettflan

    "territoryBlockCreepers" and "territoryBlockCreepersWhenOffline" in the 1.6.x release builds. If you're using a 1.7.x non-production alpha build (which you almost certainly shouldn't), I plan to add that functionality back before the 1.7 branch hits stable status.

    Thanks for pointing that out, I've just fixed it.

    I'm not sure why you'd need to, but this static method returns a boolean to indicate just that:
    FactionsBlockListener.playerCanBuildDestroyBlock(Player player, Location location, String action, boolean justCheck)
    player and location should be obvious. action is a description of the action in question, normally "build" or "destroy", used in failure messages. If justCheck is true, Factions itself will not indicate failure to the player, and painBuild will not be applied; otherwise, Factions indicates failure to the player and inflicts painBuild damage if applicable.
     
  22. Offline

    austin1397

    Thank you for helping out. I tried several different options but finally got one that works. Deleting the current lib/gson.jar and replacing it with the gson.jar from the first link worked for me. I don't know about the second link but I know the first one is a winner. Thanks again!
     
  23. Offline

    SouthPark16

    Hey Can you update this to 1.2.3?
     
  24. i got question:
    i want to make 3 different factions. Orc , Human and Elf.
    Is it possible to make 1 spawn island (Neutral area) where first time joining player is guided to pick 1 sign or teleport which takes him to the certain faction area, could he be automatically set into certain faction depending which sign he hits / teleport he takes?

    EDIT:

    How do i exactly make with bPermissions so normal members CANNOT create NEW factions?
    I want to make 3 certain factions, ppl have access to join them and leave them but not edit them & create new 1s.
    These correct?
    - ^factions.kit.fullplayer
    - ^factions.create
    - factions.admin
    - factions.chat
    - factions.help
    - factions.home
    - factions.invite
    - factions.join
    - factions.leave
    - factions.list
    - factions.save

    EDIT2:
    WTF: i cannot make factions with either of these nodes:

    - factions.kit.admin
    - factions.kit.mod

    Normal players cannot create now fcoz of the ^factions.create etc. but why cant i?!
     
  25. Offline

    Boru

    I got big, big problem, normal member (Gracz) can make a faction my permission: http://pastebin.com/yffinv4B
    How can i repair it, i got latest version of factions plugin
     
  26. Offline

    xcjen

    Can somebody tell me how to disable creepers explosion on the claimed land? i changed this from false to true but it doesnt help.
    Code:
    "territoryBlockCreepers": true,
    "territoryBlockCreepersWhenOffline": true,
     
  27. if you use bPermissions
    - ^factions.create

    is the node you need to set. Yes, with "^"
     
  28. Offline

    Boru

    I got PermissionsEX
     
  29. Offline

    Brettflan

    Hey can you figure out that it already works in 1.2.3?

    1. There are probably other plugins which can issue the appropriate commands on clicking signs or whatever. Otherwise, You could simply have them join a faction and use /f home to teleport to their faction home (assuming you can ensure that the faction homes remain set).
    2. Tried adding back the factions.create permission for your admin group?

    Semirotta answered, but you could also have read the FAQ. Anyway, you'll need to check with PermissionsEx to see what method they provide for removing permissions. I'm pretty sure it's the one indicated in our FAQ message that PermissionsEx uses, though.

    What version of Factions are you running?
     
  30. Im using bpermissions and i have added

    - factions.kit.admin

    and normal players added these:
    - factions.kit.halfplayer
    - ^factions.create
     

Share This Page