[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

    Let's see then, going through the code to look for potential problems based on that info, here are some things to verify...
    1. The player in question does not have admin bypass mode enabled (/f bypass).
    2. Chests are listed in "territoryProtectedMaterials".
    3. The conf.json options "ownedAreasEnabled" and "ownedAreaProtectMaterials" are both set to true.
    4. The player in question does not have the factions.ownershipBypass permission.
    That's from reading through the code which determines whether to allow such access and making sure there are no apparent bugs. I've also tested it myself with a normal faction member trying to access a chest in territory I've set myself as owner of, and they are correctly stopped from being able to access chests, build/destroy, and so forth.
    So if you think you've covered all of those and it's still not working for you, I'm not sure what else it could be. You've confirmed the chest is definitely in owned territory, that you are definitely the only one in the owner list, and that the other person is not a faction admin or faction moderator.
     
  2. Offline

    embty

    Checked everythong mentioned above ill try reinstalling the new version later maybe it wasnt uploaded correctly thanks for your time hope it works ill test it out more tonight.
     
  3. Offline

    Djrowling

    Whenever i try to unclaim land i get this error message: An internal error occured while attempting to peform this command.
    It is on Craftbukkit build #1000 and it is the latest version of factions, it has just now occured since downloading the latest version of factions.
     
  4. Offline

    Aliman999

    ive made an Account JUST for a Suggestion to Factions, Can you Please add Admin or Mod Only Faction Land? like if u want only Mods to build somewhere u do /f Adminclaim or /f adminautoclaim or /f modclaim, /f modautoclaim
    Just for the Safety of the Factoins plugin? it would be alot more helpful! and useful to stop Stealers from Going though an Admins or Mods Chest, or Private Furnace, or hidden Chests trying to hide it. :) Please add an Update with that :DDDDD <3 it
     
  5. Offline

    Brettflan

    Yeah, it's a bug in 1.4.3. It will be fixed in the next release, which I hope to release in the next few hours.

    Not currently planned, sorry.

    OK, then:
    I'm going to work on adding peaceful factions for the next release.

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

    Belladonna

    could you add support for admins to turn on monsters in safe zones and the ability to turn off explosions like say from tnt or creepers in the safe zones. Also could you put in safe zone warps for admins.

    I am making an fun maze for the server i am an admin on and would like to have monsters spawn to ramp up the difficulty.
     
  7. Offline

    MephistophiA

    Thanks for your plugin but I got this error:

    2011-08-02 06:31:56 [SEVERE] [JAR-LOADER] This file does not exist: .\lib\gson.jar
    2011-08-02 06:31:56 [SEVERE] [Factions v1.4.4] Disabling myself as .\lib\gson.jar is missing from the root Minecraft server folder.
    Build 1000 Factions Ver. 1.4.4
     
  8. Offline

    embty

    Only iconomy ? :(
     
  9. Offline

    Brettflan

    It would be relatively simple to add in options to allow monsters to spawn and attack in safe zones; I'll consider it.

    That changed in 1.4.2. Read the installation notes in the first post.

    It was what was requested and what the donation was for. The economy framework I added to Factions could be made to support other economy plugins without a huge amount of hassle. I don't use any economy plugins on my own server, though, and iConomy support was only added due to the donation.
     
  10. Offline

    Bogden

    Thanks for the response. Sorry, but I'm still a little unclear. Are you planning on adding this feature? Do you think it would be difficult to add a configurable necessary distance from enemy territory and/or enemy players as well? Since you already have the option to disable home teleporting when near enemy players, I would imagine that much of the code could be reused.

    Also, do you think it would be feasible to create a "faction bank" using iConomy? Ideally, anyone could deposit to it, but only faction admins and/or mods would be able to withdraw from it. Or would that be something that would have to be handled by the iConomy plugin?

    Thanks for 1.4.4 and thanks for being so good about responding to everyone!
     
  11. Offline

    ledhead900

    Thanks for releasing this, Also what do you mean by ^ are we talking like factions that server admins can make for like Server starting Factions as that would be great.
     
  12. Offline

    Brettflan

    1. Neutral players cannot harm members of a faction inside that faction's territory. So in other words, with that change, if a person was in another faction's territory and they were at neutral status, they would be completely at the other faction's mercy since they would be unable to declare enemy status while in that faction's territory. Doesn't sound good to me.
    2. In the iConomy thread, the author recently stated that banks are going away in the upcoming iConomy 6 update.

    Peaceful status will be something that can be bestowed on any normal faction, but only by a server admin or moderator or someone else with the appropriate permission. It won't be something the faction itself can directly set or remove. It's mostly for people who want to build peacefully on the server, either permanently or as a temporary break from the fighting. These were the notes on it I posted a bit ago:
     
  13. Offline

    ledhead900

    Sounds good now I just need to find a way to make a owner for this faction that is not a real player. Then we just need default faction join and we have ourselves a fully working new player starting faction.
     
  14. Offline

    Cal27

    I have a feature request: Disabling certain commands in enemy territory. I like the option to disable /f home, but players will just end up using /home or /spawn.
    I've attached an untested patch that should implement that functionality. I tried to test it, but I think I botched the jar, since I get a NoClassDefFoundError: com/google/gson/reflect/TypeToken on loading and I didn't touch anything to do with the GSON lib. I've never written something for Bukkit before, so I apologize if I'm missing something important or I broke something.

    Also, the plugin appears to be looking in plugins/lib/ for gson.jar, rather than lib/ in the server root.
     

    Attached Files:

  15. Offline

    Bogden

    I'm curious as to why you think neutral players should not be at the mercy of another faction if they are within another faction's territory. After all, it is their territory, so the faction should reign supreme over neutral players in their own area.

    But I do understand that on some servers, it would not be feasible for neutral players to be unable to declare war while in another faction's territory.

    Do you think you could add this as a configurable option, rather than required for everyone? If it is not too much work for you, of course. It would be very, very much appreciated.
     
  16. Offline

    syxtus

    Can we restrict the max size of a faction(Number of players in it)?
     
  17. Offline

    Darcion

    thanks for the ignore factionless, thats what i needed in combination with warzone and frindly fire

    next question is

    you gave us iconomy support and this option
    "econCostOpen": 0.0,

    no close cost?
     
  18. Offline

    ledhead900

    You beat me to asking that lol, I guessed it covered both but have not tried it yet myself.
     
  19. Offline

    Zach667711

    OK i use permissionsbukkit and i added the permssions node "factions.disableCommand.create: true" to the permissions.yml file but the player can still create factions??? please help me!!!
     
  20. Offline

    Darcion

    that option with factionless was my little idea as new feature and it come very fast in, thanks again brettflan
     
  21. Offline

    BeTrayed

    @Brettflan
    That was extremely fast. Thanks for adding the Map changes. BTW, in version 1.4.3 whenever I did /reload in the game it would reset my conf.json to the defaults. Can you confirm if this occurs in v1.4.4? I'll be downloading and installing later this evening but wanted to know if you've noticed it.
     
  22. Offline

    Darcion

    you have to /f reload conf
     
  23. Offline

    BeTrayed

    I understand that, but I am talking about /reload which you have to do when you install new plugins. Everytime I do this (confirmed in 1.4.4 as well) it resets my conf.json file. This messes heavily with my factions because I disable many things and change many variables.

    @Brettflan
    Confirmed that /reload does in fact reset json.conf to defaults in v1.4.4 as well.
     
  24. Offline

    zaklampje

    When you join a faction, your group doesn't change. Is there a way that when you join a faction, you get a certain group?
     
  25. Offline

    ledhead900

    Sorry, I think you applied my post to wrong part of yours. I want pvp on at all times regardless of frictionless

    I was referring to



    Tip: Never use /reload, Always cleanly shutdown your server to install plugins and start it again then cleanly shutdown once more to edit the generated config files if you cannot edit them in-game then start the server once more.

    /reload can never ever be trusted only per plugin reloads work correctly such as /f reload as I understand it you configured this plugin in-game ?, if so all u should have done was /f save then /f reload conf. In this case if did not do /f save, then you reset that config with /reload as it won't apply and save instantly.

    That only happens if you manually setup the config before starting the server.

    Edit:
    Just did a dirty /reload on my server it did not reset faction data @Brettflan :confused:
     
  26. Offline

    FuturaEX

    Hi! do you have to have permissions to use this this plug in?? i really wan't everyone on mye server able to create or join a faction, but don't wanna use permissions is it possible?
    i don't use permissions, so only the OP on my server can create or join a faction, wich i think is really sad..... i've tried permissions but its just too much work, so i rather don'tuse it.
     
  27. Whenever i change my config file, it just reverts every time i start it up etc. iv even tried making the file read only but things dont change in game, it stays as default. But then when i open the conf.json it is how i edited the file and it hasent reverted back to the original. Can someone help me?
     
  28. Offline

    Bogden

    Code:
    2011-08-02 13:18:50 [INFO] [Hungry] Unloading Effects...
    2011-08-02 13:18:50 [INFO] [Hungry] Attempting to write configuration files to disk...
    2011-08-02 13:18:50 [SEVERE] Error occurred while disabling Hungry v0.2.1 (Is it up to date?): tried to access class com.google.gson.JsonSerializationContextDefault from class com.google.gson.Gson
    java.lang.IllegalAccessError: tried to access class com.google.gson.JsonSerializationContextDefault from class com.google.gson.Gson
        at com.google.gson.Gson.toJsonTree(Gson.java:217)
        at com.google.gson.Gson.toJson(Gson.java:260)
        at com.google.gson.Gson.toJson(Gson.java:240)
        at us.icebrg.hungry.configuration.ConfigurationService.save(ConfigurationService.java:44)
        at us.icebrg.hungry.configuration.ConfigurationService.save(ConfigurationService.java:40)
        at us.icebrg.hungry.configuration.ConfigurationService.save(ConfigurationService.java:35)
        at us.icebrg.hungry.Hungry.saveConfiguration(Hungry.java:366)
        at us.icebrg.hungry.Hungry.onDisable(Hungry.java:186)
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:128)
        at org.bukkit.plugin.java.JavaPluginLoader.disablePlugin(JavaPluginLoader.java:899)
        at org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:288)
        at org.bukkit.plugin.SimplePluginManager.disablePlugins(SimplePluginManager.java:281)
        at org.bukkit.craftbukkit.CraftServer.disablePlugins(CraftServer.java:157)
        at net.minecraft.server.MinecraftServer.stop(MinecraftServer.java:312)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:391)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Factions isn't letting Hungry write its config file.
    http://forums.bukkit.org/threads/mech-hungry-v0-3-yet-another-hunger-plugin-1000.21434/
     
  29. Offline

    ledhead900

    I think thats an issue for Hungry and where your Json Libary file is located.
     
  30. Offline

    Bogden

    The configuration file saves itself perfectly when Factions is disabled, though.
     

Share This Page