[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)
    Never tried running Nether and Multiverse side by side myself, may be an interesting try-it-and-see.

    Anyways, been putting some work into Nether 2.0 and here's what I've got so far:
    https://github.com/SpaceManiac/Nether
    http://wombat.platymuus.com/dl/temp/Nether-2.0.jar

    Here's a snip from the default configuration:
    Code:
    # Configuration for Nether 2.0
    
    # Mode can be one of three values:
    # 0 - Classic mode, just like Nether 1.2 (no delay when portalling)
    # 1 - Agent mode, which uses Nether 1.2's portal code but the new portalling
    #    events (delay when portalling)
    # 2 - Adjust mode, which uses the standard portal code but allows configuration
    # Classic mode requires allow-nether in server.properties to be false, and agent
    # and adjust mode require it to be true.
    mode: 1
    
    # Respawn affects how respawning works, and is independent of the mode.
    # false - respawning is not handled by this plugin - dying in the Nether will
    #    respawn you there.
    # true  - if a player dies in the Nether, they will respawn in the normal world.
    respawn: true
    
    # This is the name of the nether world. It only affects Classic mode.
    worldName: 'nether'
    
    # One block in the Nether equates to scale blocks in the normal world. Only
    # affects Classic mode.
    scale: 8
    
    # Whether to log portalling and respawning. Exact messages vary based on mode.
    log: false
    
    # Various options that apply to all modes are available.
    # searchRadius - the radius to search around the exact destination for an
    #    existing portal.
    # creationRadius - the radius around the exact destination that a portal may be
    #    created (does not affect Classic)
    # canCreate - whether new portals are allowed to be created.
    # If canCreate is off and no portal is found, some portals will not function.
    options:
      searchRadius: 16
      creationRadius: 12
      canCreate: true
    
    Everything works in theory but I've done zero testing, so if any adventurous could let me know what goes horribly wrong, that'd be great.
    illusive101 likes this.
  4. Offline

    illusive101

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    http://i.imgur.com/MBAKV.png

    That's what I got when I tried to fire it up on the latest recommended build for 1.8

    Hopefully fixed soon, I love this plugin :)
  5. Offline

    sirvulcan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That error appears to be caused when it tries to load a blank configuration file. If you just dump the jar file in and start bukkit a blank Nether/config.yml file is created. This needs to be filled in with his default config above or it will give you that error you got.
  6. Offline

    sirvulcan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Found a bug with the new release, it seems to put you on top of the gate once you have teleported through. Also not sure if its a bug or just my server. Once im in the nether (brand new world) I just get dropped due to an overflow. I also get dropped each time I connect back to the server.
  7. Offline

    Naucoo

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    No console errors, but i do spawn in on top of the portal with 2.0.
  8. Offline

    dequis

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Thanks SpaceManiac for nether 2.0!

    I was going to switch to multiverse-netherportals but the default search radius seems to be 1024 blocks in the overworld. So I found out that nether 2.0 supports agent and adjust modes. Looking at the code it seemed that adjust was what I needed to tweak search/creation radius, so I installed it alongside multiverse-netherportals, but I had some problems: when creating a portal on the overworld, going through that portal and then going back to the overworld, another portal somewhere else on the overworld was created.

    My solution was dropping multiverse-netherportals and replacing it with nether 2.0 in classic mode (so all portals lead to the same nether and return to the main world), which worked flawlessly just like 1.2. But I imagine this is not something all server admins can do, and fully working agent/adjust modes would be a nice feature.
  9. Offline

    SpaceManiac

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Hey, you're very welcome! Over the break I should have spare time to fix this up and release it on BukkitDev and whatnot.
  10. Offline

    Tupas

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    That spawning on top of the frame sure needs to be fixed, it's pretty annoying when portal is created somewhere in undersea caves with low ceiling and you spawn just in that sea.
    But still, great plugin! I hope it can't be used as a griefing tool (ie for destroying houses with portal)?
  11. Offline

    NuclearW Citrullus lanatus Administrator

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Moved to inactive, please update to the latest RB and tag me or another staff member in a response post to have it moved back.
  12. Offline

    dequis

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

    berg_jnl

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

    dequis

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

    Also @SpaceManiac updated his branch two weeks ago but never released a build. Maybe it's not ready, maybe he forgot. Who knows. There's also a fix for spawning on top of portals on agent mode there. It's not in my fork mostly because I use classic (due to bugs in agent...)

Share This Page