[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

    l5p4ngl312

    build 820 and someone in my faction cant use doors or place blocks. And they're in my faction in my territory. They can in the wilderness. What is wrong?
     
  2. Offline

    Brettflan

    Another user, thomastanck, submitted some code a bit ago to have separate versions of "territoryProtectedMaterials" and "territoryDenyUseageMaterials" which are used if all players in that faction are offline. That will be in the next release. I also added an offline version of "territoryDenyBuild" myself to complement those additions. I suppose it would be sensible and easy enough to go ahead and add offline versions for the 3 explosion types (TNT, creepers, fireballs) as well. I'll do that.

    Here:

    Double-check and see if they are getting messages indicating they can't build in the territory of [whatever] or anything else which indicates Factions. If not, Factions is not to blame. It's another plugin or CraftBukkit itself.
    You could try removing plugins one at a time (including Factions) to try finding the culprit; if you can track it down, please post back here no matter which it is. Others were having similar problems but none have posted back with results, and it would be nice to know which to refer others to who have similar problems.
     
  3. Offline

    T4L_Goose

    Alright thank you very much.

    And also, I know you said this wasn't planned, but would a donation actually change your mind about the Residence plugin thing I mentioned earlier? It would really add a lot to this plugin I think.

    My idea is that, only people in a faction can set up residences (probably admin/moderator only as well), and it has to be in claimed territory. They can then put the residence up for rent, and anyone, whether it be another member from the same faction, or a member of another faction, could purchase and live in the residence, just like it was their own little claimed land. This would be so awesome for shops, inns, etc.

    I guess the only thing you would have to do is make the plugin play nice with the Facion Plugin's territory feature, and also make it so only faction members can create residences in their own territory. The Residence plugin should take care of the rest.

    I had this very issue. Use 818 and see if it fixes the issue.

    Nevermind, it's still happening to me too. It seems to just happen at random times.
     
  4. Offline

    Toni

    Hey, out of no where /f disband <faction> has stopped working. I've used it before but now it's just not working.

    Code:
    2011-06-10 20:17:09 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'f' in plugin Factions v1.2.2
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:37)
        at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:128)
        at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:287)
        at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:718)
        at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:684)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:677)
        at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:32)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:225)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:75)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:399)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:309)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    Caused by: java.lang.NullPointerException
        at org.mcteam.factions.commands.FCommandDisband.perform(FCommandDisband.java:26)
        at org.mcteam.factions.commands.FBaseCommand.execute(FBaseCommand.java:61)
        at org.mcteam.factions.Factions.handleCommand(Factions.java:287)
        at org.mcteam.factions.Factions.onCommand(Factions.java:272)
        at org.bukkit.command.PluginCommand.execute(PluginCommand.java:35)
        ... 12 more
    
     
  5. Offline

    l5p4ngl312

    Done. The culprit is.... dun dun dun.... WORLDGUARD!

    Got it on my first try. It seems like WG usually causes lost of problems with things so I though that was a good bet. Note the door will still open if you are not part of the faction but will close immediately after before you get through.
     
  6. Offline

    ledhead900

    WG overrides almost anything region wise so good call on that.

    @Brett
    sure thing when I get some cash flow ill drop over some $$ for those requests.
    Dynmap should fairly simple just need to talk to them as u said they both make use of json files so should not be to much hassel.
     
  7. Offline

    T4L_Goose

    Actually, sorry, I read your issue completely wrong.

    MY issue is that people are sometimes able to access other faction's claimed chests, and open their doors. It goes away after a while. It seems completely random.

    It seems to be linked with the nether somehow. When someone goes in and out of the nether a lot, they become exempt from the faction protection features and are able to access other peoples stuff. It's very strange.
     
  8. Offline

    duhfux

    Perfect. Also, perhaps the attacking player takes damage/gets a notice or both?

    Or what would be more useful for me, if possible, those without a faction who attack those in a faction or do say /f pvp (one way activation) get put into a PvP opt-in group (factionId -3) where these rules not apply.

    The reason I ask you to do this is because I accept members who want to be creative and build nice things and those who don't like PvP will be safe to roam. I currently have a rule that you can only attack other factions and not 'Loners' per say.

    Ah! I knew you'd come round :) thanks a billion for doing this.
     
  9. Offline

    MufinMcFlufin

    Hey, back again.

    Just wanted to report a typo. When a faction changes name, it says "[faction name] chainged names to [new faction name]."

    Thanks for the great plugin again.

    As for what you were asking before with Prefixer, I can't really uninstall it, as I need it or another plugin for appending prefixes, which I use to show server rank. Unless you know of another plugin that works with Permission and works with Factions, I'll have to keep the tags disabled. Sorry :/
     
  10. Offline

    Magesblood

    Ichat works very well with factions.
    Imperial, FBI, and Anunki are factions. The <A> and <D> are prefixes in Permissions and then the name. I do have the display of mods and admins tag disabled though.
    [​IMG]
     
  11. Offline

    MufinMcFlufin

    I heard from a friend who runs his own server that IChat takes a long time to update, which is the main reason I don't use it, also because I only needed Prefixer for Permissions set prefixes to work. Do you have any opinion on this?

    Also, any word on the typo? Already reported, or will be fixed in a future update?

    Btw, as always, thanks for the quick replies. :)
     
  12. Offline

    Magesblood

    Most plugins are compatible with the new CB builds once they are made. So updates normally aren't necessary.
     
  13. Offline

    MufinMcFlufin

    Well, after having done a very seamless and easy transition from 1.5_02 to 1.6.6 (compared to when I tried to do it about a week or two weeks ago >.>, where even my OP's couldn't edit any block on the map) I think I'll try out your recommendation for IChat. I hope it works out as well as you say it does.

    EDIT: Would it be possible for you to post the related parts of your ichat and factions conf files?

    I'm having a little trouble getting this to work myself.
     
  14. Offline

    tophatbandit

    Hey man, just installed Factions. I was wondering if there is anyway to give admins Unlimited power while still keeping the normal powerlevels?
     
  15. Offline

    hayhay89

    Can there be a variable so that allies etc can be attacked in the warzone?
     
  16. Offline

    Wahrheit

    Already stated to be released next update. ;)
     
  17. Offline

    ethood1999

    In the config file, where it says:
    Code:
      "territoryShieldFactor": 0.5,
      "territoryDenyBuild": true,
      "territoryDenyUseage": true,
      "territoryBlockCreepers": false,
      "territoryBlockFireballs": false,
      "territoryBlockTNT": false,
    Are those options supposed to refer to in your own territory or in enemy territory? For an example, I have "territoryBlockTNT" set to false. Does that mean that I can't use TNT in the enemy territory or I can't use TNT in my own territory?

    Also, in the config file it says this:
    Code:
      "warZoneDenyBuild": true,
      "warZoneDenyUseage": true,
      "warZoneBlockCreepers": false,
      "warZoneBlockFireballs": false,
      "warZoneBlockTNT": true,
      "warZonePowerLoss": true,
    What is considered a "war zone" and how do you get your land to be a war zone?

    Because I don't want random people being able to stroll into enemy territory with TNT and greif, but if the random person is a part of a faction that's in a war with the enemy, then they can use TNT. Is that what "war zone"'s represent? When 2 factions are at war? How does the plugin know whats "declared" war zone.

    Sorry if these are dumb questions.
     
  18. Offline

    T4L_Goose

    Yeah I'm still getting this game breaking bug right now: People are able to just go in and steal from peoples protected things like chests and such.
     
  19. Offline

    Brettflan

    That one... nah, there would be too much involved to get them really working together, I think. Sorry.

    I checked the referenced code, and the error indicates it was unable to match the faction tag you indicated. Good catch, though, I'll fix the error so that it gives you proper feedback.

    Interesting, thanks for the info. Hopefully it will be of use to others who've been having similar problems.

    For just the option which disables PvP for people not in factions, and the attacker being notified... yeah, $10 would be fine.
    For the separate PvP-enabled group, I'd rather not... it would have implications throughout the code.

    Already fixed.

    Not currently possible and not planned, sorry.

    It prevents TNT explosions from doing damage to blocks. It doesn't discriminate based on who placed it. Normally (based on "territoryDenyBuild") people who aren't in your faction can't place or trigger TNT in your territory, so it's not an option most people would likely want enabled. However, I'm sure you've heard of TNT cannons, which are an effective way of getting triggered TNT lobbed into another faction's territory where it will explode. That's the main use for that option, if you don't want TNT cannons to be effective as siege weapons for whatever reason and you don't mind preventing TNT from being usable at all in faction territories.

    Read the first post a bit. War zones are claimed just like safe zones by admins or others with the appropriate permissions.

    Try the new RB 860 of CraftBukkit, it fixes a lot of bugs.
     
  20. Offline

    MufinMcFlufin

    Thanks.

    As for the earlier request for a config file, I just did a little fiddling around and was able to get it working perfectly.

    If you care to read what my problems, in order, were then just read the below paragraph.

    My first issue was that when I was setting the config file, it was while the server was still on, and my changes were being overwritten by the server, so no changes were ever made. I eventually just took a good, hard look at the entire config file, and saw that the first change I had made for turning on tags was still disabled, so I turned the server off, set that, and was on my way. After that, I had an issue with strange characters being displayed whenever I was talking, and found that was actually because the tag insert was in the middle of where I was having each group prefix have their color set. So after a little fiddling around with the ChatTagInsertIndex, I was able to get that resolved. After fixing that, I still had one problem, that was that my group tags weren't being colored at all. I found I misunderstood the meaning of the ChatTagInsertIndex, and thought it was number of characters before a name's display or something completely ridiculous, and after setting that to zero (as opposed to 2, which would place it just after the color display for group tags) it is now working perfectly.

    Anyways, I'm glad you have an extensive config file, makes a great level of customization possible, once you get used to the format. x_x
     
  21. Offline

    Brody Romhanyi

    are we able to select the area we would like to claim? with a slecting tool instead of just doing little areas at a time?? plz answer
     
  22. Offline

    T4L_Goose

    No, it's by chunks. Making it work that way would mess up the very foundation of the plugin. Power wouldn't work the same.
     
  23. Offline

    MJRamon

    iConomy support, please? For claiming chunks and faction creating? Please?
     
  24. Offline

    Magesblood

  25. Offline

    MJRamon

  26. Offline

    Brettflan

    Not currently planned, sorry.

    So, then:
    EDIT: by the way, about the hooks I added for use by chat plugins, I might see about adding direct support to EssentialsChat at some point here since I (rarely) contribute code to Essentials. What do I mean by direct support? Basically it would allow EssentialsChat to take over faction tag insertion so that faction tags would be added to local chat as well (not just global), and it would keep EssentialsChat's local chat from being used for players who have FactionChat enabled.

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

    MufinMcFlufin

    Sweet, updating now. Thanks again for being awesome, Brettflan!
     
  28. Offline

    Magesblood

    Nice, I also just thought of something. What about making players not regenerate power while inside of the safezone? Seems to used a-lot just to get power back.
     
  29. Offline

    Toni

    Nice update, glad to see the NPE error fixed. But if you could do a little update for something; say a player has a username with a space in it -- could you make it so a player could type part of a players name and it'll detect the name?

    Example:

    Player = Hello World!

    Type in: /f admin Hello

    It would promote "Hello World!" to admin of the faction. The only reason I need this is so it's faster & well a player in my server has a space in their name and it's kinda hard to do actions with it.
     
  30. Offline

    T4L_Goose

    The Offline protection for tnt doesnt seem to work...

    I just claimed some land, had someone place a tnt block right at the border of my land, logged off, and had him blow it up, and it still did damage to my land.
     

Share This Page