[INACTIVE][TP/MISC] NoPortals v0.2 - No more useless portals! [860]

Discussion in 'Inactive/Unsupported Plugins' started by iffa, Jun 11, 2011.

  1. Offline

    iffa

    NoPortals
    Version: v0.2
    NoPortals allows you to deny / allow players' access to making portals in the Nether. No more useless portals that expand your normal world! (or vice versa)

    Permissions:
    NOTE: If you use no permssion nodes, players will be allowed to make portals
    in the normal world, but not in the Nether!

    'noportals.nether.allow' - Allow portal making in the Nether
    'noportals.normal.deny' - Block portal making in the normal world

    Requested here

    Features:
    • Block creation of portals in the Nether & normal world
    • Easy to use
    Download:
    Download (v0.2)
    Source Code

    Planned Features:
    • Deny Ghasts from blowing up portals(to avoid bypassing)
    • Fix a bypass that allows portals to be made if a block is lit next to the obsidian
    Changelog:
    Version 0.2
    -New permission nodes
    -Deny portal building on normal world

    Version 0.1_1
    -Added environment check (Nether)

    Version 0.1
    -Initial release
     
  2. Offline

    Razish

    Good job releasing things =]
    Simple, effective, customisable enough. Me likey.
     
  3. Offline

    iffa

    I guess I forgot to include the permission node there - oh well. Updated post
     
  4. Offline

    Tadas159

    Thanks for this great plugin!

    Edit: I get this error in my console.
    Code:
    2011-06-12 12:58:11 [SEVERE] Could not pass event PLAYER_INTERACT to NoPortals
    java.lang.NullPointerException
        at me.iffa.NoPortals.NoPortalsPlayerListener.onPlayerInteract(NoPortalsPlayerListener.java:20)
        at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:306)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:310)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:166)
        at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:137)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:518)
        at net.minecraft.server.Packet15Place.a(SourceFile:57)
        at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
        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)
     
  5. Offline

    iffa

    It worked for me just a few minutes ago. What CB do you use?
     
  6. Offline

    Juze

    What if you don't have either of the permissions? You're denied?
     
  7. Offline

    iffa

    Then you can build portals in the normal world but not in the Nether. ?
     
  8. Offline

    Tadas159

    I use 860 ofcourse. I tested it with 2 accounts one with the permissions to make a portal in the nether and one without it.
     
  9. Offline

    iffa

    And do you get this error when (trying to) make a portal? I can't reproduce it. What plugins do you have? Going to probably get a bugfix update today... can anyone test making portals with the 'noportals.nether.allow' node in the Nether?
     
  10. Offline

    Tadas159

    i have found a bug. If theres a wall near the portal or a block and if you try to lightting up the portal by right clicking the wall or a block near the portal the portal lights up.(i try to light up the side if the block not the top or the bottom.)
     
  11. Offline

    iffa

    More information please.. So if the player doesn't have permissions to make a portal, doing this bypasses the check completely?
     
  12. Offline

    Tadas159

    So i tested with a player that didn't have a permission to make a portal in the nether.
    Here is an image:
    [​IMG]

    I try to right click the block i'm looking right now and the portal lights up.
    It bypasses the check i think.
     
  13. Offline

    iffa

    I'll see what I can do, expect 0.2_1 or 0.3 sometime today!
     
  14. Offline

    Tadas159

    @iffa I will wait then.
     
  15. Offline

    Tadas159

    So when will you update this?
     
  16. Offline

    iffa

    I've been working on a few other projects.. I haven't abandoned this though. Hopefully this week...
     
  17. Offline

    Tadas159

    I will wait again then.
     
  18. Offline

    Tadas159

    I really need this please update.
     
  19. Offline

    John McFo

    Me too... :oops:

    Greetings, McFo
     
  20. Offline

    matejdro

    Can you add option to disable portal creation per world? So lets say i want players to create portals in normal world, but not in creative.

    Also, I'm not sure if this is implemented yet, but plugin could also remove existing portals, so players can't use portals that were created before installing this plugin.
     
  21. Offline

    iffa

    If anyone feels like it they can continue this plugin, no interest. Just grab the source.
     
  22. Offline

    jascotty2

    Code:
    [SEVERE] Could not pass event PLAYER_INTERACT to NoPortals
    java.lang.NullPointerException
            at me.iffa.NoPortals.NoPortalsPlayerListener.onPlayerInteract(NoPortalsPlayerListener.java:31)
            at org.bukkit.plugin.java.JavaPluginLoader$10.execute(JavaPluginLoader.java:307)
            at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:58)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:332)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:168)
            at org.bukkit.craftbukkit.event.CraftEventFactory.callPlayerInteractEvent(CraftEventFactory.java:139)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:782)
            at net.minecraft.server.Packet18ArmAnimation.a(SourceFile:35)
    ...
    
    and the source code link gives 404, so how is anyone going to get the source?
    (please upload a quick fix or the source)

    not urgent.. still seems to work like it should, but i don't generally like plugins throwing errors
     
  23. Offline

    kerovan

    LINK TO NEW VERSION: NoPortal v0.3

    v0.3
    Fix for the portal next to a wall bug.

    v0.2
    I believe the PLAYER_INTERACT issue has been fixed and it should work with CB1000.

    Let me know if anyone still gets the issue, We tested this for about 3 hours and was unable to get the error.
     
  24. I see the url for the source is still a 404. I was interested in at the least taking a look at the code. If you could get the source available again, that would be appreciated. Thank you.
     
  25. Offline

    Tadas159

    Can someone fix this?
     
  26. Offline

    untergrundbiber

    Is there a alternative for the plugin?
     
  27. Offline

    kerovan

    Seriously??

    Look at my post just above yours'

    There is a link in it that provides a patched version.
     
  28. Offline

    untergrundbiber

    Oh sorry was to late for me this day :D
    Works perfect!
     
  29. Offline

    Firewolf34

    Just downloaded! Glad to see that someone picked up on the development.
     
  30. Offline

    kerovan

    I updated the download link to 0.3 which handles the reported bug that allows portals to be activated when next to a wall. I am working on coding the remove current portals feature. When I roll next version out, I plan on starting a new thread instead of hijacking Iffa's thread.
     

Share This Page