Inactive [TP/MISC] NoPortals v0.6.0 - Prevent Players from creating Portals.[CB 1.3.2R0.1]

Discussion in 'Inactive/Unsupported Plugins' started by kerovan, Aug 27, 2011.

  1. Offline

    kerovan

    NoPortals
    NoPortals will control who can and cannot create portals with any map on your server.
    This is a continuation of the original version by Iffa. Old Thread.

    We are moving this to BukkitDev for faster and easier maintanence. Please visit us there for any issues and for tickets. We will still be watching this thread but BukkitDev will be faster and easier!

    http://dev.bukkit.org/server-mods/noportals/
     
    Nand0_ and erickingsr like this.
  2. Offline

    bobeeb

    thnx for continue this plugin. we used the 0.2 version but its broken with bukkit 1060
    we will try your new version now, ican give you some feedback after testing in some days
     
  3. Offline

    kerovan

    Feedback is always welcomed. I recommend you remake all your portals before turning watchdog and/or destroyer on. Assuming you plan on using those features.
     
  4. Offline

    iffa

    Good to see this being continued by someone. Didn't know my... second or third plugin was this useful.
     
  5. Offline

    Gamolin

    You would be surprised how useful it can be. Many servers need to restrict who can make portals to prevent players from using them to get around rules that they have in place.
     
    kahlilnc likes this.
  6. Offline

    jasonsj10

    I don't understand what it applies to? How would some one make a portal if they don't got permission to in the first place? And what plugin is it SOPOSE to prevent portals from?
     
  7. Offline

    kerovan

    Can you elaborate on which area you are confused about?

    This plugin is used to prevent players from created portals to the nether. If you are op or have the permission then you will have the ability to create the portal, if not then the obsidian block will just catch fire. If you have found a way to create a portal without the permission please feel free to let me know and I will be happy to work with you on finding a solution.

    The purpose of the watchdog system is to locate portals that have already been created by players prior to installing v0.4 of this plugin.
     
  8. Offline

    Endimmion

    does this plugin work the new bukkit permissions system (Superperms)?
     
  9. Offline

    kerovan

    Not yet, that will be included in the next update. Right now it has been tested with Permission 3.1.6 or defaults to OP if permissinos is not installed.
     
  10. Offline

    bobeeb

    any eta for the 1185 version?
     
  11. Offline

    kerovan

    The current version will work with 1185. I am going to be doing an update to fix the small bug with 1185 however you should be protected with the current version. Next few days you should see a 1185 version coming out.
     
    erickingsr likes this.
  12. Offline

    hugonoob

    Update pls
     
  13. Offline

    hugonoob

    Okey Works for me
     
  14. Offline

    erickingsr

    Hi kerovan,

    This plugin is working as intended in the world. However, users can still create Nether Portals .... when they are in the Nether. Any fix for this?

    Thanks,
    Eric
     
  15. Offline

    Gamolin

    We researched this last night and were able to reproduce the problem and the fix has been patched in, new version 0.4.7 has been uploaded and is ready for use. Sorry for the delay on the fix!
     
  16. Offline

    Gamolin

  17. Offline

    kerovan

    Updated.
     
  18. Offline

    Blocksnip3r

    Simple, and effective. Thank you sir.
     
  19. Offline

    Doc

    CB build 1714 - 1771 (and higher)
    Code:
    2012-01-23 22:49:38 [SEVERE] Could not pass event org.bukkit.event.player.PlayerPortalEvent to NoPortals
    java.lang.NullPointerException
            at net.vengeancecraft.NoPortals.NoPortalsPlayerListener.onPlayerPortal(NoPortalsPlayerListener.java:27)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:335)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:327)
            at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:338)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:287)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:316)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:722)
            at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:108)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
     
  20. Offline

    GmK

    Happens here too - but it doesnt stop the plugin from working! (For us at least)
     
  21. Offline

    Gamolin

    I will look into this tonight when I get home from work, should have a fix shortly after :)

    OK, I have been at it for about an hour now and I have so far been unable to reproduce the error running on 1772, I am running the new version of this plugin I have been working on, but I haven't done anything with the player event so that shouldn't be it. When is this error occurring? Is it right as the plugin loads? Does it only do it one time? The new version will be uploaded in the next day or so once I feel the new watchdog and destroyer are working as bug free as I can. Let me know if there is anything going on at the time the exception pops up!

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

    Doc

    Sometimes I see this error when somebody stands in a portal waiting for Multiverse telling people they don't have access.
     
  23. Offline

    Gamolin

    Ahh, ok, I see it more now, it is less a problem with the plugin, and more a fight for control from two plugins. I will see what I can do to get rid of this one. I see what I did there now heh.

    Ok, I know what the problem is (I am pretty sure anyway) so I will code the fix tonight, and new version should be out in the next day or so, need to recode for the new event system now and make sure everything is still peachy.

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

    Gamolin

    Just waiting on the new file to get approved in Devbukkit for the new version NoPortals v0.5, as soon as it is updated I will post the new version

    Ok party people, it still says awaiting approval but I updated the link at the top of this post with the newest version and it is allowing downloads, so have at it! NoPortalV0.5 is officially released!

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

    Doc

    Tested for a sec on the dev server, and is now in production.
    THANKS!!!
    No errors to report. Will keep you in the loop.

    -Doc

    ok I spoke a tad too soon, however, its not a dire need.

    I just updated PluginReloader and decided to try a reload on NoPortals, here is the result.

    Code:
    ./reload NoPortals
    [NoPortals] Unloading NoPortals v0.5.
    NoPortals Disabled
    [NoPortals] Loading NoPortals v0.5.
    [NoPortals] Config loaded successfully.
    [NoPortals] Found and will use Permissions v2.7.7 for permissions.
    [NoPortals] Enabled. Version 0.5
    [NoPortals] Watchdog is enabled.
    [NoPortals] Destroyer is enabled.
    java.lang.IllegalArgumentException: The permission noportals.reload is already defined!
            at org.bukkit.plugin.SimplePluginManager.addPermission(SimplePluginManager.java:628)
            at net.madjawa.pluginreloader.PluginReloader.loadPlugin(PluginReloader.java:234)
            at net.madjawa.pluginreloader.PluginReloader.onCommand(PluginReloader.java:85)
            at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40)
            at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:168)
            at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:386)
            at org.theanticookie.bukkit.httpconsole.ConsoleRequestHandler.executeConsoleCommand(ConsoleRequestHandler.java:85)
            at org.theanticookie.bukkit.httpconsole.ConsoleRequestHandler.HandleRequest(ConsoleRequestHandler.java:128)
            at org.theanticookie.bukkit.httpconsole.HTTPServer.requestHandler(HTTPServer.java:139)
            at org.theanticookie.bukkit.httpconsole.HTTPServer.run(HTTPServer.java:335)
    Error with NoPortals: The permission noportals.reload is already defined! (check console for more details)
    Thought I would give you a heads up.
    -Doc

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

    Gamolin

    I'll look into it, haven't had much experience with PluginReloader, so it might be a little while.

    Ok, dumb question more then likely. Do you happen to have more then 1 copy of the noportals.jar in the plugin folder? even renamed ones if there is more the one copy can cause this.

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

    Doc

    1. not dumb question, it happened to me before with Herochat.jar and HeroChat.jar (but not this time, I just checked with a ls -laF | grep -i portal)
    2. this is now happening occasionaly
    Code:
    2012-01-27 09:16:12 [SEVERE] Could not pass event org.bukkit.event.player.PlayerPortalEvent to NoPortals
    org.bukkit.event.EventException
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
            at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:338)
            at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:351)
            at net.minecraft.server.BlockEnderPortal.a(SourceFile:55)
            at org.getspout.spout.block.mcblock.CustomContainer.a(CustomContainer.java:322)
            at net.minecraft.server.Entity.move(Entity.java:614)
            at net.minecraft.server.EntityLiving.a(EntityLiving.java:793)
            at net.minecraft.server.EntityHuman.a(EntityHuman.java:1106)
            at net.minecraft.server.EntityLiving.d(EntityLiving.java:972)
            at net.minecraft.server.EntityHuman.d(EntityHuman.java:311)
            at net.minecraft.server.EntityLiving.y_(EntityLiving.java:339)
            at net.minecraft.server.EntityHuman.y_(EntityHuman.java:159)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:316)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:722)
            at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
            at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
            at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
            at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
            at sun.reflect.GeneratedMethodAccessor48.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
            ... 24 more
    Caused by: java.lang.NullPointerException
            at net.vengeancecraft.NoPortals.NoPortalsPlayerListener.onPlayerPortal(NoPortalsPlayerListener.java:29)
            ... 28 more
     
  28. Offline

    Gamolin

    Ok, let me dig into multiverse and the other and see what is going on with them, thought it was a simple priority issue, but apparently it is more. Will try and have a fix in a bit
     
  29. Offline

    Endimmion

    I'm having the same errors

    Code:
    2012-01-29 02:47:16 [SEVERE] Could not pass event org.bukkit.event.player.PlayerPortalEvent to NoPortals
    org.bukkit.event.EventException
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1026)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:57)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:453)
        at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:338)
        at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:351)
        at net.minecraft.server.BlockEnderPortal.a(SourceFile:55)
        at org.getspout.spout.block.mcblock.CustomContainer.a(CustomContainer.java:322)
        at net.minecraft.server.Entity.move(Entity.java:614)
        at net.minecraft.server.EntityLiving.a(EntityLiving.java:793)
        at net.minecraft.server.EntityHuman.a(EntityHuman.java:1106)
        at net.minecraft.server.EntityLiving.d(EntityLiving.java:972)
        at net.minecraft.server.EntityHuman.d(EntityHuman.java:311)
        at net.minecraft.server.EntityLiving.y_(EntityLiving.java:339)
        at net.minecraft.server.EntityHuman.y_(EntityHuman.java:159)
        at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:316)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:722)
        at net.minecraft.server.Packet10Flying.handle(SourceFile:126)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100)
        at org.getspout.spout.SpoutNetServerHandler.a(SpoutNetServerHandler.java:587)
        at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78)
        at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:536)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:434)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
    Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor120.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:601)
        at org.bukkit.plugin.java.JavaPluginLoader$103.execute(JavaPluginLoader.java:1024)
     
  30. Offline

    Gamolin

    Can you guys give me a list of what plugins you are loading on your server, I have been at it a while and cannot get the error you are getting to pop up on mine. And are you using the latest version of all the plugins?
     

Share This Page