[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

    SpaceManiac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Dangirdas Could you post the specific error?
  4. Offline

    Volacious

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I tried out this plugin - The only issues I've found is that soul sand doesn't work in Earth (Bukkit Bug I guess) and that Ghasts can be heard around and close to spawn, and it seems that they even shoot at players in Earth, but hit objects in Nether, can anyone confirm this ? - We have heard booms and ghast screams around and in the general area around spawn. and it would also seem that Spawn protection (None block placement or removal) also makes that area in Nether protected.

    So:

    Soul Sand has no effect in Earth
    Ghasts can be heard in Earth mode, in my case around and near spawn.
    Spawn Protection is enforced in Nether

    Also seems like it disables monster spawning in Earth realm, pigs and others do spawn hower, just not hostile. Was broken with a Bukkit release
  5. Offline

    Volacious

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Try the unofficial together with the newest recommended bukkit and you should have no issues. If you still get the problem you can try and post the errors here - Could be colliding with other plugins as well.
  6. Offline

    zok

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Could you update it for the latest build 617? on 617 you can olny telle port once each way to nether back and than they do not work anymore and i do not get any error's.
  7. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Have you tried my last unofficial build? I've tested it in 617 and didn't notice any problems like that.
    SpaceManiac does appear to be working on an update for his official release, though.
  8. Offline

    xDerik

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This works fine for me in 617, the only issue I'm having is with the spawn points. Since 1.4 came out and we can reset our spawn points using beds, every time you go into the nether it changes your spawn point back to the default one.
    Is there any way to update this to send you back to your saved spawn when you die?

    It doesn't matter if you die in the nether, or if you die on earth, as soon as you go into the nether, your spawn breaks. I can go in, come back out, and die on earth, and I'll go back to the original spawn.
  9. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    brettflans 1.3.2 is working on CB670 though I have this issue too:

    update plz? =)
  10. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'll look into it today.
    EDIT: by the way, for clarification, is it resetting your spawn point or is it just that deaths in the nether world respawn you at the default spawn on the first world? I expect it's the latter, based on the code. Again though, I'll look into it.
  11. Offline

    Kerstubexs

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    We seem to have a problem with not being able to see Ghast's fireballs. Anyway to fix this?
  12. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I respawn at my worlds normal respawn point that I set, so its like before 1.4 and just ignoring the bed =)
  13. Offline

    D2S4L1T2

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Not currently. That's a problem on Bukkit's side, unfortunately, and likely related to problems with invisible ghasts and/or unkillable slimes.
  14. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Actually, the invisible Ghast fireballs are from Mojang's original code. At least in 1.3 for sure, because I tested the official server with it set in server.properties to use a Nether world, and it had the invisible fireballs and the Ghasts also not showing the spitting animation to go with it. Since it's still broken in CraftBukkit, I assume the 1.4 official server still has the problem as well.

    OK, I looked into it. There's currently no good way I know of to check and see if the player has a special respawn location set or not, and Bukkit still respawns players in the world they die in by default. So... not sure offhand what the best way to handle it is and I don't have time to work on it further at the moment.
  15. Offline

    malteee

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Is there a way to set the Monsters in the Hell to "false"?
    In my server.properties:
    "spwan-monsters: false". In the normal world: It runs!
    In the Hell are Monsters: Sooo many Ghast's.
    What can I do to have no monsters in the Hell?
  16. Offline

    Killburner

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Same issue here on cb670.
  17. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    You should be able to use another plugin like CrowdControl or EssentialsProtect to prevent specific mob types from spawning.

    Have you tried my last unofficial build 1.3.2 linked above in response to that post? It should be working.
  18. Offline

    Berzerk404

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    I'm running b670 with nether 1.3.2 and no matter what I do, I can't get the chunk with a portal in it to load after a jump. I've tried all of the nether plugins (I liked this one the most) but no matter what I do, it won't load properly. Any ideas?
  19. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Brettflan
    I havent done any bukkit developing yet, but are you able to use "org.bukkit.event.player.PlayerRespawnEvent.getRespawnLocation()" to get the location of the bed BEFORE they enter the nether? if so, why not just cache it and in case they die or leave the nether just reset the respawn location to that value you cached earlier using "org.bukkit.event.player.PlayerRespawnEvent.setRespawnLocation (Location respawnLocation)" and respawn them afterwards.
    As I said I havent done any bukkit development yet myself so I cant tell if getRespawnLocation() actually works that way or if it'll just give you the normal spawn, but this might be an idea.

    Other idea:
    I dont really know but I think the plugin respawns the player into the normal world, right? Like its not the default bukkit behaviour. If so, would respawning at beds work if you disable that component? If so: give an option to disable it :p

    Other idea if getRespawnLocation does work indeed and if the plugin does the respawning and if respawning at bed works with the plugins respawn feature disabled: Just check for "getRespawnLocation()" != default spawn and if its true just disable the spawning of the plugin :p

    Hope any of this helps you, for now I cant do anything else as I dont had the time to do any bukkit developing yet
  20. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Oh and what happened you @SpaceManiac? You wrote like ages ago you would compile a new version using the input of Arcu and Brettflan
  21. Offline

    Xandrake

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    This plugin does not seem to work on 670. It says You feel the pull of nether energies, and thats it, you dont get ported.
  22. Offline

    sharkale

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    works for me.
  23. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Dreadreaver You can only use the getRespawnLocation() function when it's attached to a PlayerRespawnEvent. Until you have an event fire which passes a PlayerRespawnEvent (which only happens when a player respawns), you can't use it.
    The default behavior with Bukkit is to respawn you in the world you die in. I'm not certain where it gets the location within that world from, though. It bears looking into, but... lately my free time is very limited.

    Unofficial 1.3.2 is working fine for me in 670 as well. @Xandrake - Did you change the settings in the plugin's config.yml, and if so, what settings do you have in there?
  24. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Brettflan
    Newest CB673 changelog is:
    "Made fauxSleeping persist on death and cross-world teleport. (commit: 55e3e267880febaabbde243e557b4dbcb5fa9924) (detail / githubweb)"
    Whats fauxSleeping? Persist on death and cross-world teleport indicate that this could fix our problem.

    I just updated to CB673 but the problem remains ...
  25. Offline

    Xandrake

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    It seems to be working fine now thanks, it was a issue with my custom compile of bukkit.
  26. Offline

    Brettflan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    All right, another unofficial:
    http://wimbli.com/minecraft/Nether_1.3.3_unofficial.zip

    Changelist:
    • Added "spawn-fix" config option; can be used to disable the feature which makes players respawn in a non-nether world
    • Added code to ensure safe running of "players in portals" check; no direct problem found in this plugin, but a very similar method in another plugin had problems

    @Dreadreaver from what I can tell, fauxSleeping is pretty much what the name indicates, a way to make the server see the player as being in a bed when they might not be. Probably for AFK scripts and similar. So, nothing to do with this.
    I added the "spawn-fix" option for you to test disabling that feature, so you can see if it works better for you.
  27. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    alright. fauxSleeping .. lol I probably was too tired to understand the meaning behind the word :p

    anyway, thx for 1.3.3, gonna start testing =)
  28. Offline

    Dreadreaver

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    when I die in the nether I'll respawn in the nether - doesnt matter if you got your bed set or not.
    havent tested dying in the real world AFTER going through the nether yet though
  29. Offline

    SpaceManiac

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

    Kuun

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Eyh SpaceManiac, thx for the update ! I got one (stupid) question. if i use the new version, do i need to rebuild my portals? Or all the information of portalS / netherworld that i have in 1.1 will be saved ?

    And does it work with CB677?
  31. Offline

    Someone3x7

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Bug: Placed lava in the normal world is flowing like lava in the nether. Much further than 3 blocks.
  32. Offline

    SpaceManiac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    @Kuun Yep. If I recall correctly, Brettflan's build changes portal placement a bit, but 1.2 portals and 1.1 portals should hook up just fine.

    @Someone3x7 Sounds like a Bukkit bug, but I'll take a look when I can.

Share This Page