[INACTIVE][TP] Nether v1.2 (2.0 in progress) - Super-Simple Nether Portals [1000]

Discussion in 'Inactive/Unsupported Plugins' started by SpaceManiac, Feb 15, 2011.

     
  1. Offline

    SpaceManiac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Nether - Super-Simple Nether Portals
    Version: v1.2
    Tested on: should work on all RBs 450+; tested on 766. DOES NOT work on 1060.

    I'm updating Nether very soon to work on 1060+ and also adding some nifty new features!

    I use Bukkit, but have no plugins except a bit of my own tinkering installed. When multiworlds came out I decided that the denizens of my server could use some Nether action, but every plugin I could find came with too many frills, so I wrote up a simple one to use. There is no configuration and no commands. Figured I'd post it here in case somebody found it useful. It's basically designed to be used when you just want to add a classic Nether to your currently single-world server.

    Features:
    • World coordinates are scaled 8x like in single player.
    • No configuration, commands, or persistent storage - drop and go!
    • Teleportation is smooth and usually lag-free (especially when the chunks on the other side are already loaded)
    • Portals are auto-created when teleporting through a new portal, carving a small cavern and placing a platform if needed.
    • Dying in the Nether teleports you back to the Earth spawn!
    Known Issues:
    • Portal frames are not detected, only active portals, so if you try to portal through to an inactive portal, a new portal might be generated a few blocks off.
    • Both sides of a portal must be uncovered or there is a risk of suffocation when teleporting in.
    • The area carved around new portals can sometimes cut into existing structures if you're not careful, though this is unlikely.
    • Ghast noises can still be heard on Earth in some cases (Bukkit bug).
    Download: Nether v1.2
    Source code: GitHub (MIT License)

    Changelog:
    Version 1.2 (April 13)
    • Portals no longer make a giant platform and air bubble and instead seek vertically for a suitable location (thanks Acru).
    • The Nether world name is now configurable (thanks Acru).
    • The Nether world is now loaded on startup instead of first portal use.
    Version 1.1 (February 25)
    • Removed some vestigial debugging methods.
    • Dying in the Nether now respawns players on Earth.
    • Fixed TSLPC.
    Version 1.0 (February 15)
    • Initial release.

    This post has been edited 2 times. It was last edited by SpaceManiac Sep 28, 2011.
  2.  
  3. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    U still her explosions in the normal world and the zombies follow you from the nether?

    oO First time I hear about something like that.

    I'm using Nether 1.2(Nether 1.1 + Acrus Fork) and I never experienced any issues like that. Cant say anthing about Brettflans build as I havent tested it yet.

    Could you try using Acrus build? Its working perfectly fine on CB556, cant say anthing about CB600 though. You can find a compiled version from Acru himself some pages ago.
  4. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I haven't personally seen it do that since about a week ago or so, but it does happen. I'm not sure if there are any specific circumstances that cause it or not.

    I seem to recall that when it happened to me I had used a /home command (from Essentials) which teleported me from the Nether back to the normal world, rather than having gone through a portal.
  5. Offline

    computerquip

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    For the sake of fixing it, I can give you my server address so you can come on and see for yourself.

    EDIT: btw, Brettflan, why not fork the project officially? SpaceManiac mentioned that he'd get back into it but he hasn't show interest since.
  6. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I do have my source fork available:
    https://github.com/Brettflan/Nether
    SpaceManiac is still around and expressed interest in maintaining the project just on the last page, so that works for me. I'll just bum around here until he runs me off. ;)

    That problem of creatures potentially coming with you when you teleport out of the Nether is a CraftBukkit bug (or Mojang client/server bug), and I'm ~90% sure there's no good workaround for it.
    From the 3-4 times I saw it happen they seem to usually just be phantoms which you can't actually interact with, particularly Pig Zombies. Ghast fireball explosions seem to be another matter.
    What version of CraftBukkit are you on, out of curiosity?
  7. Offline

    computerquip

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    At the time, I was using #600. Using #602 I couldn't replicate the problem. However, I wasn't using the same world so maybe just bad luck? I have the old map data so I can test the old map data. I'll do that in the morning.
  8. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    There is no build 605 yet. The actual build number is towards the end of the version string; in your case, it should be 602.
    I can't duplicate your problem using my unofficial Nether build 1.3.1 in RB 602. I built, lit, and went through a new portal to the nether and then likewise created another new portal back a short distance away in the nether.
    It does indeed show "1, 0" normally in your console when a portal is lit (whether by you using flint&steel or by something else, even when an exit portal is automatically created by this plugin).

    For example, the test I just ran:
    Code:
    09:12:13 [INFO] 1, 0
    09:12:20 [INFO] NETHER_PLUGIN: Creating new portal, X oriented. Searching along Y (vertical) for a good spot.
    09:12:20 [INFO] NETHER_PLUGIN: Creating new portal at (X: -11, Y: 32, Z: 22)
    09:12:20 [INFO] 1, 0
    09:12:20 [INFO] NETHER_PLUGIN: Brettflan used portal at (-82, 65, 177) to NETHER world (-10, 32, 22)
    09:14:44 [INFO] 1, 0
    09:14:54 [INFO] NETHER_PLUGIN: Creating new portal, X oriented. Searching along Y (vertical) for a good spot.
    09:14:54 [INFO] NETHER_PLUGIN: Creating new portal at (X: -24, Y: 64, Z: 304)
    09:14:54 [INFO] 1, 0
    09:14:54 [INFO] NETHER_PLUGIN: Brettflan used portal at (-2, 37, 38) to NORMAL world (-23, 64, 304)
    09:15:29 [INFO] NETHER_PLUGIN: Brettflan used portal at (-24, 64, 304) to NETHER world (-2, 37, 38)
    09:15:50 [INFO] NETHER_PLUGIN: Brettflan used portal at (-8, 32, 8) to NORMAL world (-71, 65, 64)
  9. Offline

    mechaaries

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ok this is REALLY weird... now it works igniting it again.. must been a glitch...
  10. Offline

    maxim leyh

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    works also with build 612 ;)

    thx a lot for this
  11. Offline

    FIX94

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I tried the unofficial 1.3.1 now and it doesn't work with craftbukkit 617. It loads fine but when I try to use a portal I get this:
    Code:
    2011-04-01 11:16:58 [SEVERE] Could not pass event PLAYER_MOVE to Nether
    java.lang.NullPointerException
        at org.innectis.Nether.NetherMain.EnterPortal(NetherMain.java:200)
        at org.innectis.Nether.NetherPlayerListener.onPlayerMove(NetherPlayerListener.java:53)
        at org.bukkit.plugin.java.JavaPluginLoader$7.execute(JavaPluginLoader.java:205)
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:59)
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:255)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:128)
        at net.minecraft.server.Packet10Flying.a(SourceFile:126)
        at net.minecraft.server.NetworkManager.a(NetworkManager.java:198)
        at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:72)
        at net.minecraft.server.NetworkListenThread.a(SourceFile:100)
        at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:368)
        at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)
        at net.minecraft.server.ThreadServerApplication.run(SourceFile:375)
    Acru's build 1.1.5 still works fine but I want to use the preloaded world version for a faster teleport, any ideas?
  12. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll check into it.

    EDIT: Ah, I should have added a check for whether the new text values were properly set or not. One of them isn't in your case. I'll add a check for that in a bugfix release shortly.
    If you're in a hurry for a fix, either delete the plugin's config.yml file and let the plugin recreate it, or edit the file and make sure all these values are set:
    Code:
    show-entry-text: true
    show-exit-text: true
    debug-output: false
    compression-ratio: 8
    portal-entry-text: You feel the pull of nether energies.
    nether-world-name: netherworld
    portal-delay-seconds: 5
    portal-exit-text: The portal has taken you... elsewhere.
  13. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    New unofficial release:
    http://wimbli.com/minecraft/Nether_1.3.2_unofficial.zip

    Changelist:
    • in case of loading an old config.yml from a previous version, it now makes sure entryText and exitText are properly set
    • now ignoring move events which other plugins have already cancelled
    • proper thread-safety added for teleportTimers

    @SpaceManiac
    I kind of feel like I'm hijacking your thread here... my apologies.
  14. Offline

    FIX94

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the new version, works fine now!
  15. Offline

    SpaceManiac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Brettflan I don't mind, really, was busy with school all week. Should be able to get stuff taken care of this weekend, getting Acru's code merged in (it's just push away, actually, I've been testing it on my server for a few days) and checking what of yours ought to be included. A fair amount, I think. :D
  16. Offline

    Strongit

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for the updates Brett, been messing with 1.3.2 on my test server using version 617. Everything seems to be OK so far.
  17. Offline

    bakon balázs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    ooom two bugs for the author : >

    1. when you disconnect in the nether you may die and you logged in the normal world without any items.
    2. on my server spawn too many ghast!
  18. Offline

    Sandbird

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Guys will this "break" my normal map at any case ?
    I mean does anything, besides the portals stay on the normal map ?
    I am asking cause i'd like to be able to use my map on a non bukkit server in the future.
  19. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    1. Running on older CB builds, you would be stuck back in the main world if you disconnected in the Nether and the server was restarted after that. This was a CraftBukkit issue. I hadn't noticed it removing inventory, but maybe so. However, from brief testing, the problem seems to be fixed on RB 617. After disconnecting in the Nether, restarting the server, and reconnecting, I started out correctly in the nether. So, are you actually having that problem in RB 617?
    2. Singleplayer also spawns too many ghasts, IMO. This plugin doesn't alter creature spawn rates in any way. If you want to modify their spawning rates or disable them, you should probably look for another plugin for that.

    Your normal world will be completely unaffected other than added portals, and they of course will simply not work if/when the world is later loaded on a non-Bukkit SMP server.
  20. Offline

    MrKrucible

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    does this work for the 1.4 build?
  21. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
  22. Offline

    bakon balázs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Brettflan: yes i running on cb 617

    http://noob.hu/2011/04/04/2011-04-04_11.14.18.png
    and this is the normal spawn rate? :)
    this is the greatest nether plugin ever, but i think this is too many ghast :)
    or maybe my netherworld map is bugged a little bit.

    so i make another nether, hope get better :)
  23. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That is indeed a lot of ghasts. :)

    Again though, this plugin does not touch creature spawning at all. Whatever spawn rate you're seeing is down to CraftBukkit or more likely the default Minecraft server's behavior.
  24. Offline

    bakon balázs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    i created another nether map, and now the number of ghasts is perfect.
    sry ;) i think the problem was on my bukkit :)
  25. Offline

    Shasharala

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I thought this was listed as a CraftBukkit problem.
  26. Offline

    revil

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks for this awesome Plugin :D
    It would be great if u could implement a feature to have multiple nethers for different worlds
  27. Offline

    ettore85a

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    any update? :)
  28. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin is meant to work like singleplayer, with one normal world and one nether world. There are other plugins available for multiple worlds of different types.

    Is one needed?
  29. Offline

    Euron

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I wasn't aware customization was a bad thing. Would it really be that difficult to code in multiple nethers?
  30. Offline

    Dangirdas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Please update this plug!
  31. Offline

    DeNarr

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Does this even need updating? I'm running it on my updated server and I haven't noticed any new problems.
  32. Offline

    Dangirdas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Yes each stupid time someone enter the nether the whole console goes crazy and spits out endless of errors and the player gets stuck and i need to restart the server for them to got free D:

Share This Page