[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

    Lukee9

    I know you're not going to add anything major, but it would be really helpful if you were to add /f disband [faction]
    as somebody has made a faction on my roleplay server called 'CookieLand'.
    Can you make sure that /f disband can only be done by the host in the CMD
     
  2. Offline

    Brettflan

    Already in, with that even being the command used.
     
  3. Offline

    Windwaker

    Suggestion: How about a merge command? Many times I come across people who want to merge their faction, but then they have to reclaim all the land and all that so what if there was a

    /f merge <faction>

    It would send a request to the other faction...

    "<faction> would like to merge! Do you accept?"

    /f merge <faction>

    Then all claimed land from both factions would be combined as well as power and players :)
     
  4. Offline

    yourock129

    Can you make it where if you are not in a real faction you automatically go to a certain pre-determined faction? such as if I logged onto a server for the first time and it said i was in the faction "The faction for the factionless"? Thanks!
     
  5. Offline

    Colby l

    Is This Build Compatible With CB #928?
     
  6. Offline

    tritonx

    A suggestion to complement the connected claim zone, with a max number of different "region", lot of ppl like to have many hideouts.

    I'm sorry, I feel like a player annoying the admin to adds some feature....

    And maybe a VIP you could give to another player so he can enter and build in your area while staying in his own faction?
     
  7. Offline

    EssentialsTeam

    Factions breaks Essentials, please read the first post of the Essentials-Thread.
     
  8. Offline

    tritonx

    What part of it ... because I run them fine right now ... ?

    I have Chat and Groups from Essentials
     
  9. Offline

    EssentialsTeam

    This happens sometimes with CraftBukkit #928. You won't be able to use the Essentials commands.
     
  10. Offline

    Mats391

    can anyone recommend an Essentials like plugin that works with Factions?
     
  11. Offline

    robbert777

    problem: when i say something it duplicates in the chat: example when i say hi, the chat says:
    **pirate Admin robo: hi
    Admin robo: hi
     
  12. is there something in the config file i can change so ppl can pvp in some1 elses territory?
     
  13. hm i got a little big very big problem, when i edit the config file it just goes back to default when i start the server up again. i tried many other ways like turning lock on, saving reloading etc.. and putting server down editing it on my pc and the uploading it. i also tried to re download it but thats not working to.
     
  14. Offline

    jamoowns

    Hey, alot of people have asked about a sort of /f power command. To check their personal power. I added this simple code to cater for my needs for this. I'm posting it here so if want you can add it in, or someone else can use it if they want.
    A new class file called FCommandPower.java, in the commands folder has to be added. With the code:
    Code:
    package org.mcteam.factions.commands;
    
    import org.bukkit.ChatColor;
    import org.bukkit.command.CommandSender;
    
    public class FCommandPower extends FBaseCommand {
    
        public FCommandPower() {
            aliases.add("power");
    
            optionalParameters.add("faction tag");
    
            helpDescription = "Show a players personal power";
        }
    
        @Override
        public boolean hasPermission(CommandSender sender) {
            return true;
        }
    
        public void perform() {
            if (me.getPowerRounded() < 1){
    //If the player's power is less than 1, the number will be in red
            sendMessage("Your personal power is: " + ChatColor.RED + me.getPowerRounded() + ChatColor.YELLOW + "/" + me.getPowerMaxRounded());
    
            }
            else{
    //If the player's power is greater than 0, the number will be in green
            sendMessage("Your personal power is: " + ChatColor.GREEN + me.getPowerRounded()+ ChatColor.YELLOW + "/" + me.getPowerMaxRounded());
    }}
    }
    
    Obviously the color section and the exact message can be tweaked to your personal needs. But enjoy :)

    A little code has to be added into the Factions.java file too
    Code:
            commands.add(new FCommandPower());
     
  15. got any idea how come that i cant change the conf file?

    Code:
    [COLOR=rgb(0, 0, 0)][SIZE=12px][FONT=Arial]2011-06-26 14:07:38 [INFO] [Factions v1.3.2] Loading conf from disk[/FONT][/SIZE][/COLOR]
    [COLOR=rgb(0, 0, 0)][SIZE=12px][FONT=Arial]2011-06-26 14:07:38 [SEVERE] org.mcteam.factions.gson.JsonParseException: Expecting object found: "?"
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.JsonObjectDeserializationVisitor.visitFieldUsingCustomHandler(JsonObjectDeserializationVisitor.java:100)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.ReflectingFieldNavigator.visitFieldsReflectively(ReflectingFieldNavigator.java:63)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.ObjectNavigator.accept(ObjectNavigator.java:120)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.JsonDeserializationContextDefault.fromJsonPrimitive(JsonDeserializationContextDefault.java:85)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.JsonDeserializationContextDefault.deserialize(JsonDeserializationContextDefault.java:56)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.Gson.fromJson(Gson.java:551)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.Gson.fromJson(Gson.java:498)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.Gson.fromJson(Gson.java:467)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.Gson.fromJson(Gson.java:417)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.gson.Gson.fromJson(Gson.java:389)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.Conf.load(Conf.java:183)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.commands.FCommandReload.perform(FCommandReload.java:38)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.commands.FBaseCommand.execute(FBaseCommand.java:61)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.Factions.handleCommand(Factions.java:351)
    2011-06-26 14:07:38 [SEVERE] at org.mcteam.factions.Factions.onCommand(Factions.java:336)
    2011-06-26 14:07:38 [SEVERE] at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
    2011-06-26 14:07:38 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:129)
    2011-06-26 14:07:38 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:304)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:725)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:691)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:684)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:223)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-06-26 14:07:38 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)[/FONT][/SIZE][/COLOR]
    
    This is the error i get
    even when i just change a little thing like Powerloseondeath: to 1 i get an error (and i do /lock on followed by /f reload conf when im done and /lock off

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

    SpyDaniel

    I have it so that:

    "wildernessDenyBuild": true,
    and
    "wildernessDenyUseage": false,

    But players can not destroy blocks, I thought Useage would mean they could break blocks? Just not place them.
     
  17. Offline

    Sleelin

    I have a feature request:

    My server runs multiple worlds, however we only want factions to be available in one world. Currently, if we were to run this mod, every time a user dies in any world, their power rating goes down, and also, their chat tag appears no matter what world they're in. Is it possible to add permissions nodes to only have these things happen in worlds which have the appropriate permissions node defined?
     
  18. Offline

    T4L_Goose

    "Useage" is for actually using things like Chests, Furnaces, Doors, etc. "Build" covers the placing and removing of blocks.

    By the way, Brett. Just donated $50. Thanks for the awesome Plugin and all the work you put into it. You've really made Minecraft into a different game for me because of it.
     
  19. Offline

    embty

    use /f worldnopowerloss
     
  20. Can someone help me with the error please ten thousand thanks!
     
  21. Offline

    T4L_Goose

    Make sure to turn your server off while you edit the config file. It's really the only for sure safe way to edit your files without them messing up.
     
  22. Offline

    Zothen

    Hello brettflan, may I request a setting to disable /f home when homes are enabled, so players only spawn at home when dying? That would be really awesome for all those server that have setups without any porting stuff.
    Thanks a lot!
     
  23. Offline

    T4L_Goose

    Yes this please. Just make it so people can spawn at their faction home, but can't teleport there ever.
     
  24. Offline

    Deathfromace

    You can disable that in the config and just make them use beds for spawn.

    You can pvp in their territory but must be at war with them.
     
  25. Offline

    brord

    it doesnt protect my blocks in the nether, plugins or supposed not to do so?
     
  26. Offline

    Djrowling

    This is an amazing plugin, very underrated and its use in PvP is iconic, please keep updating! Thank you.
     
  27. Offline

    Brettflan

    Not currently planned. Of course, the source is available and I accept reasonable pull requests. :)

    Not currently planned.

    Not currently planned, and it would be more trouble to code than you might think. It would need to essentially map out connected regions to count how many separate regions it comes down to, where currently it just has to check if the new claim is connected to an existing one.
    The VIP thing is also not planned.

    Is this in regards to the "enabling other plugins" bit? If so, 1.3.2 uses softdepends as well which should take precedence. I will be removing that code regardless for the next release since the recent availability of softdepend gets rid of the need for it, though I'm not sure when the next release will be.

    What chat plugin are you using?

    Presumably the text editor you're using is messing up the file encoding (might try Notepad++), or you are making a mistake when editing the file.

    One issue I notice in your code is that you have an optional parameter "faction tag" which you are not using.

    Much appreciated, thanks. :)

    All right, I'll add an option along those lines to conf.json for the next release.

    I haven't seen that happening before, but I'll add that to my list of things to test.
     
  28. Offline

    Ziden

    Players telling me that they cant declare war to enemyes, and they cant kill other factions on theyr own territory
    am i missing something ?

    PS: Admins could be able to manipulate faction territories. Admins cant use anything on fact. ter.

    thanx for the awesome plugin !
     
  29. Offline

    Brettflan

    1. Are they getting an error when they try, or what? More details would be helpful.
    2. Do you mean when they're in another faction's territory, they can't hurt members of that faction? If so, assuming they haven't declared war on that faction, that's normal.
    3. Sounds like /f bypass is what you're after.
     
  30. Offline

    embty

    An update for 935 please ?:> and whats with essentials is that fix-able?
     

Share This Page