[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

    Ryan56k

    I have that in there and it doesn't seem to prevent anyone from creating a faction. :/
     
  2. Offline

    pandapipino

    do you have a firelord plugin? if yes then disable it
     
  3. Offline

    Brettflan

    What exactly are you trying to do in the first place?

    Sorry, it's all-or-none for the War Zone power loss setting. Alternately you can disable power loss for an entire world using "worldsNoPowerLoss", if that helps.

    Did you follow the How Do I Install instructions in the first post?

    No, but you can place unlimited Safe Zones and War Zones.

    It's simple enough to disallow land claiming, if you read the user guide. Of course, if you're just wanting a plugin for chat channels, there are plenty of those available which would probably be more useful to you than Factions.

    Did you provide those users with safe zone or war zone permissions or bypass permission?
    The chat formatting error should pretty clearly tell you what to do. If not, I might be able to help if you paste the actual entire error message here.
     
  4. Offline

    Darkedge

    I'm trying to see if a user has the ability to build/destroy in a specific area, more specifically, to allow members of a faction to edit chests that are protected using ChestShop - I've got the ChestShop bit done, I just need to know how I can see if a user can build in a certain area - is this even possible?

    Thanks,
    Darkedge.
     
  5. Offline

    Switch0r

    I wanna build a admin faction on spawn, is there a way to cheat to claim as much land as needed ?
     
  6. Offline

    Rnadmo

    Like he said above, just claim it as a safezone or warzone. Anyone with the "factions.manageSafeZone" permission will be able to build in the safezone. Anyone without that permission wont be able to.
     
  7. Offline

    Captain_Broll


    I fixed the problem where people couldnt talk didnt went onto the guide thing. But i have checked if people have the bypass or permissions to build in safearea and there is nothing. i havent enabled it in the config ether.
     
  8. Offline

    lauris3722

    I'm experiencing some bug, where players can sometimes destroy and rob other faction's houses, even if they are not releated to the faction in any way.. About 3-4 factions have been already demolished. When they enter faction's zone, nothing shows up in chat, like it's still a wilderness.

    Please make an investigation.

    Plugins:
    AdminChat
    AdminCMD
    Advanced Bans
    Auto Message
    CFBanner
    Factions
    iConomy
    ItemCommandRepair
    LavaForge
    Log
    MobileAdmin
    MyHome
    OpenInv
    OtherBlocks
    Permissions (really old version)
    Disable Commands
    Scuba Kit
    KTShop
    Super Pickaxe
    Surprise Egg
    World Border
    xAuth
     
  9. Offline

    Brettflan

    Hmm. I suppose I could add in hookable methods to the main class which indicate if the player has rights for the location. Something like these, maybe?
    boolean isPlayerAllowedToBuildHere(Player player, Location location)
    boolean isPlayerAllowedToInteractWith(Player player, Block block)
    boolean isPlayerAllowedToUseThisHere(Player player, Location location, Material material)

    Are they notified they're in a Safe Zone or War Zone when they enter the area? Does it show up when you use /f map? Are you using any plugins which forcibly refresh a chunk, such as BananaChunk? AFAIK there's still a Bukkit bug which shows up most frequently if a plugin forcibly refreshes a chunk, and which causes all blocks in that chunk to be reported as AIR. This obviously causes all sorts of trouble for plugins, like Factions not protecting anything in the chunk since it sees people as interacting with air.

    Sounds like the Bukkit bug mentioned above, other than the fact that it's not letting them know when they enter the area. You're sure about that detail? Does the claimed area show up when you use /f map?
     
  10. Offline

    Captain_Broll

    It does say that your in a safezone and warzone for me yet anyone can edit the blocks in it. and is shows up on the /f map
     
  11. Offline

    Darkedge

    It would expand factions availible API a lot and allow me to make this plugin, I would imagine it would open up heaps of possibilities for other plugins - If you would add it, it'd be much appreciated.
     
  12. Offline

    goldkilla88

    I'm getting loads of errors from 1.5.1. From what I can tell, Permissions 3.x is causing it.

    Code:
    [Factions v1.5.1] === ENABLE START ===
    2011-09-26 18:10:13 [INFO] [Factions v1.5.1] Loading conf from disk
    2011-09-26 18:10:14 [INFO] [Factions v1.5.1] Loading players from disk
    2011-09-26 18:10:14 [INFO] [Factions v1.5.1] Loading factions from disk
    2011-09-26 18:10:14 [INFO] [Factions v1.5.1] Loading board from disk
    2011-09-26 18:10:14 [SEVERE] Error occurred while enabling Factions v1.5.1 (Is it up to date?): com/nijikokun/bukkit/Permissions/Permissions
    java.lang.NoClassDefFoundError: com/nijikokun/bukkit/Permissions/Permissions
        at com.massivecraft.factions.Factions.setupPermissions(Factions.java:218)
        at com.massivecraft.factions.Factions.onEnable(Factions.java:149)
        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:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.ClassNotFoundException: com.nijikokun.bukkit.Permissions.Permissions
        at java.net.URLClassLoader$1.run(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.PluginClassLoader.findClass(PluginClassLoader.java:24)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 12 more
     
  13. Offline

    Brettflan

    Do you have "safeZoneDenyBuild" and "warZoneDenyBuild" both set to true? Does this persist after a server restart? If so, could you zip up your server data files, stick them on <Edit by Moderator: Redacted mediafire url>

    I'll see about adding those for the next release.

    Factions is compiled against Permissions 3.1.6. What version of Permissions are you using?
     
    Last edited by a moderator: Nov 27, 2016
  14. Offline

    T4L_Goose

    Can you possibly add a command to unset a faction home?
     
  15. Offline

    goldkilla88

    Your old "home" is automatically deleted if you set a new one.

    @Brettflan Yes... Crap... Well, anyway. I get another error in the console when I don't have P3.1.6. It says something about Enderman picking up blocks in faction areas.
    Code:
    [Factions v1.5.1] === ENABLE START ===
    2011-09-26 20:42:55 [INFO] [Factions v1.5.1] Loading conf from disk
    2011-09-26 20:42:56 [INFO] [Factions v1.5.1] Loading players from disk
    2011-09-26 20:42:56 [INFO] [Factions v1.5.1] Loading factions from disk
    2011-09-26 20:42:56 [INFO] [Factions v1.5.1] Loading board from disk
    2011-09-26 20:42:56 [INFO] [Factions v1.5.1] Permissions plugin not detected, defaulting to Bukkit superperms system
    2011-09-26 20:42:56 [SEVERE] Error occurred while enabling Factions v1.5.1 (Is it up to date?): ENDERMAN_PICKUP
    java.lang.NoSuchFieldError: ENDERMAN_PICKUP
        at com.massivecraft.factions.Factions.onEnable(Factions.java:171)
        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:171)
        at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:154)
        at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:297)
        at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:284)
        at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:152)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:348)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    It still works on the server though. (sorta)
    Also, I updated to 1.5.1 a few days ago and now every time I turn off my server, the factions are reset and everything is set to wilderness. It is getting VERY annoying.
     
  16. Offline

    timetoslide

    hello, may I wonder why the /f create command is not restricted to Moderators and above? Permsbukkit config file: http://pastie.org/2599045
     
  17. Offline

    forceserver

    this plugin don't work to protect chest in guildarea
     
  18. Offline

    Brettflan

    I'm not sure that it would be worth a separate command. One thing, if you have "homesMustBeInClaimedTerritory" set to true, you can unclaim the chunk the faction home is on, then use /f home to make it notice and clear the faction home, then you can re-claim the chunk.

    1. That means you're running a CraftBukkit version older than 1185. If you want to use factions with older CB builds, you'll need to use 1.4.9 or older.
    2. Are you not shutting down your server properly using the "stop" command? Are you editing any of the files by hand? If neither of those is the problem, you should be getting an error message when you start up the server. What does it say?

    If your permissions plugin uses the built-in Bukkit "superperms" permission system, that permission is granted by default. You'll need to configure your permission plugin to disable/remove that permission for people you don't want to have it.

    Yes, it does. Perhaps you could provide further details about the problem you're having?
     
    lulatsch70 likes this.
  19. Offline

    ledhead900

    @Brettflan
    Think we could get a "DenyEndermanBlocksOffline:" config setting. If it was not too much trouble.

    Also need to look into PEX support tho It should still work as long as I use the bridge.

    Edit:
    General question: Ico6, supported by register or with out it ?, Is register only for non Iconomy plugins?
     
  20. Offline

    forceserver

    2011-09-28_01.44.50.png it don't work to protect chest
    2011-09-28_01.29.16.png 2011-09-28_01.29.17.png 2011-09-28_01.29.20.png 2011-09-28_01.29.24.png 2011-09-28_01.29.26.png


    i am not admin , op
    but open chest
     
  21. Offline

    Kaosvf

    Hi,
    I would report these errors:
    Code:
    2011-09-27 18:36:47 [SEVERE] null
    org.bukkit.command.CommandException: Unhandled exception executing command 'f' in plugin Factions v1.5.1
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:41)
    	at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:163)
    	at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:353)
    	at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:756)
    	at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:721)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:714)
    	at net.minecraft.server.Packet3Chat.a(Packet3Chat.java:33)
    	at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    	at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:92)
    	at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:500)
    	at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
    	at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:464)
    	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:374)
    	at net.minecraft.server.ThreadServerApplication.run(SourceFile:417)
    Caused by: java.lang.NullPointerException
    	at com.massivecraft.factions.Faction.getRelation(Faction.java:226)
    	at com.massivecraft.factions.Faction.getRelation(Faction.java:222)
    	at com.massivecraft.factions.Faction.getRelation(Faction.java:245)
    	at com.massivecraft.factions.SpoutFeatures.updateAppearances(SpoutFeatures.java:83)
    	at com.massivecraft.factions.FPlayer.resetFactionData(FPlayer.java:88)
    	at com.massivecraft.factions.FPlayer.clean(FPlayer.java:770)
    	at com.massivecraft.factions.Faction.delete(Faction.java:729)
    	at com.massivecraft.factions.commands.FCommandDisband.perform(FCommandDisband.java:70)
    	at com.massivecraft.factions.commands.FBaseCommand.execute(FBaseCommand.java:65)
    	at com.massivecraft.factions.Factions.handleCommand(Factions.java:485)
    	at com.massivecraft.factions.Factions.onCommand(Factions.java:470)
    	at org.bukkit.command.PluginCommand.execute(PluginCommand.java:39)
    	... 13 more
     
  22. Offline

    Brettflan

    1. "territoryDenyEndermanBlocksWhenOffline"? That's a mouthful. Eh, I suppose.
    2. iConomy 6 is only supported if you use Register. It's by the same author, and he has recommended other plugin authors bridge with it instead of directly with iConomy 6.

    So to be clear, what I seem to be seeing in the screenshots is that you're repeatedly right-clicking on chests in claimed territory and every once in a while one of those will bypass the protection? If so, that sounds like a Bukkit bug in that the interaction event is not being passed on correctly to plugins.
    What build of CraftBukkit is that server running? Is there any other special circumstance or detail as to how you're able to do so?
    I tried to duplicate those results on a test server running RB 1185 and Factions 1.5.1 for about a minute solid of rapid right-clicking on a protected chest, but the protection held up as it should.

    Thanks for the report, I'll see about fixing that in the next release.
     
  23. Offline

    ledhead900

    Alright good to know thx.
     
  24. Offline

    goldkilla88

    I just replaced my server jar with a fresh one from the Bukkit homepage. Sure enough, no Faction errors.
    Guess I might have still had the 1185 Pre-Release jar in there without knowing.
     
  25. Offline

    AsHperson

    pls move to dev-bukkit page so it is possible for craftbukkituptodate to detect updates.
     
  26. Offline

    Laon8orsSon

    when i click the download link it says


    SSL connection error

    Unable to make a secure connection to the server. This may be a problem with the server, or it may be requiring a client authentication certificate that you don't have.
    Error 107 (net::ERR_SSL_PROTOCOL_ERROR): SSL protocol error

    it says that about all https:// things. but not for /http://
    Would you mind adding it to MediaFire or something? :/
     
  27. Offline

    The_Yogs

    No errors for me just before my names its like.

    E[Faction]pikRussian

    OR:
    a[Swampies]The_Yogs
     
  28. Offline

    Brettflan

    Already there: http://dev.bukkit.org/server-mods/factions/
    Though craftbukkituptodate doesn't (didn't?) require anything of the sort and should already be pointing to the JAR we have hosted on GitHub.

    Try downloading from the BukkitDev page linked just above if you can't download through HTTPS.

    Please read the user guide's configuration page, specifically the part pertaining to chat configuration.
     
  29. Offline

    T4L_Goose

    Right, but I don't want a home anymore. I want people to be able to use a bed as a spawnpoint instead. I guess I assumed the faction homes would be more like a defacto spawn point if you didn't have a bed set as your spawnpoint already.
     
  30. Offline

    AsHperson

    ok, thats cool, I didnt know you were on bukkit dev cause I didnt see it on this plugin's page :/
     

Share This Page