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

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

  1. Offline

    SpaceManiac

    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.
     
  2. Offline

    Acru

    This plugin is looking impressive so far, much more sleek than the NetherGate one!
    (That persistence plugin is 3MB now, and its making portals all over the place.. D: )

    One thing though, probably already planned but I'll mention anyway. The portal on the other side seems to be made at the same y value as the source world, which is usually in the sky or in solid stone.

    If I remake the portal at just a different y value they seem to link properly, but I'd like to see the plugin choose a better y value on its own, an area with some air blocks over some ground blocks. (And failing this it can always default to the same as it is now.) :3

    Another thing, it wouldn't hurt to use a config file for some small things, like personally I would prefer to stay in the world I die in~ (I've found that using bukkit's built in config.yml is easy.) I won't insist on this though. ^.^
     
  3. Offline

    valkiscool

    If im going from the nether to the normal world somtimes the server won't "freeze" my position (height) so if the chucks are not loaded yet im falling in the void.
    If im going from the normal world to the nether this never happend
     
  4. Offline

    King of Koopas

    I got the same issue. I lost a lot of items from it :(
     
  5. Offline

    Dreadreaver

    never had any "falling into the void"-issues with this plugin so far ... and none on my user reported any

    btw on Nether 1.1 works on CB#478 just fine, teleporting is really speedy now :>
     
  6. Offline

    RenStrike

    Have any of these issues been fixed?

    • Disconnecting while in Nether, restarting the server, then reconnecting causes the player to appear in the regular world seemingly at the location they would have been in the Nether
    • Dying in the Nether, and re-spawning in the normal world, causes items/carts to be invisible until reconnect.
    • Disconnecting in the Nether, then reconnecting, makes it impossible to break blocks until you leave the Nether and return
    • It's impossible to destroy a portal. The visual portal disappears, but you can still step where the portal was and teleport.
    I really want to use this plugin on my server, but I can't until these issues are fixed.
     
  7. Offline

    Shados

    Y'know, it would actually be significantly faster to just start a local server and test those yourself rather than waiting on someone who either happens to know the answers or is willing to go and test them for you. Anyway, AFAIK, 2 and 4 are not issues, 3 is a problem with Bukkit rather than this plugin, and 1 I have no clue about.
     
  8. Offline

    RenStrike

    I was just checking to see if anyone knew, and to make sure they are known. All of them were issues yesterday.
     
  9. Offline

    SpaceManiac

    @daktoahawkins @Acru Thanks a million! I will check out your pull requests when I get the chance.

    @RenStrike Each of those is a Bukkit bug to some extent or another. I could do workarounds but would prefer to post reports on Leaky if only it would let me log in.

    The first - metadata about which world a player is in is stored in memory, not in the player's datafile.
    The second and third are Bukkit bugs relating to multiworld.
    The fourth only appeared after the 1.3 update. Plugins (all plugins) occasionally see blocks as completely different than they are in the actual world (so as far as the plugin is concerned, you ARE in a portal. Stopping and restarting the server "fixes" this.)
     
  10. Offline

    yummysinsemilla

    I'm curious if anyone else has had this problem. (btw, this plugin is really nice. great work)

    Last night after adding the plugin I made a portal, walked in and built a little "safe" area. For some reason I'm the only one who can break blocks or trigger anything (doors, redstone, etc) in the "safe" area. Everyone else, the blocks will get replaced (won't break on my screen) and will get no response from doors/redstone. Go a little ways out and anyone can do anything again.

    I thought maybe it had to do with being an "admin" but it doesn't apparently.

    I don't have any "protection" plugins so there wouldn't be any chunk protection interference. Do you have any idea what's going on? I do have Permissions, SpawnControl, Minecart Mania, this plugin and a couple chat plugins installed, on the latest "recommended" Bukkit version (440).
     
  11. Offline

    Acru

    Np, if you like it, use it~

    I've been poking at your code more tonight too... I've changed getSpawn to find a list of verified places directly beside the portal where you can't suffocate (out of 8 possible 1x2x1 spaces), and pick one at random, so a portal in a wall works safely. (And aborts the warp if no spaces at all found.) Might you be interested in a pull of that?

    I've also been looking into improving portal generation myself, though not finished that bit.

    This is a bug in CB 440/MC 1.3 that comes up after a while, btw. I think they may have tried to fix it in a recent dev build, though?
     
  12. Offline

    yummysinsemilla

    The thing about that is, I can break them, but I'm the only one who can.
     
  13. Offline

    rareshutzu

    Umm guys. I have no ideea on what releases are those bukkit servers. I have the latest. Does this work on latest? :D
     
  14. Offline

    Dreadreaver

    check out my post above,cant say anything about newer builds yet
     
  15. Offline

    rareshutzu

    It's working. You just need to wait for the world to generate.
     
  16. Offline

    AgentME

    Same thing for me - just tested the nether portal a few times, and each time I exited the nether into the normal world, I'd fall into the void a bit. First time I died, and the second time I ended up in a cave a decent distance below the portal and with much less health due to the falling damage.
     
  17. Offline

    DZeroX

    I recently installed v.1.1 on a 484 build, and the Nether gets generated fine, all mobs show up, I can hear the sounds and all, everything's fine, except for one thing: ghasts shooting invisible fireballs at me. Is there anything on the plugin that would affect the visibility of the fireballs? Either that, or does anyone know why fireballs wouldn't show up, be it the plugin, or CraftBukkit's fault?

    Thanks in advance, and great plugin you've made here, I love it.
     
  18. Offline

    D2S4L1T2

    Unfortunately, this seems to be a Bukkit/Server issue. I'm using 450 build, and have tried three different multiworld plugins (this one being the best of the bunch), and I've had the same issue every time as well. :(
     
  19. Offline

    DZeroX

    That's unfortunate. Oh well, for now, I'll just disable their blast radius then, don't want people to catch invisible fireballs in their faces :<
     
  20. Offline

    mouton

    Wonderful plugin! I registered specifically to say that!

    Btw, it would be nice if you did, in fact, reduce the minimum distance between overworld portals. 128 seems pretty restrictive.
     
  21. Offline

    linkrox4

    it doesnt work for me!!! i extracted the file into my plugins folder and everything, but when i go into my world the portals do not teleport me, and if i go into server properties and put hellworld to true, i log back in and im in hell with no way of getting back because the portals dont teleport me!!! plzz help, and also, does any1 else have gravel in the nether like me?
     
  22. Offline

    SpaceManiac

    @linkrox4 Did you just put the .jar file in the plugins folder or did you extract it? You shouldn't need to do any extracting - just the .jar file. You'll know it's worked if you see "Nether v1.1 loaded" or similar in your logs after you start or reload.
     
  23. Offline

    Pe6yc

    Same to me, but the reason is that plugin cant load itself by unknown reason.
    Loading server log:
    Show Spoiler

    13:52:31 [SEVERE] Could not load plugins\Nether.jar in plugins: null
    org.bukkit.plugin.InvalidPluginException
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:65)
    at org.bukkit.plugin.SimplePluginManager.loadPlugin(SimplePluginManager.
    java:129)
    at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager
    .java:94)
    at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:59)
    at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:204)
    at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:191)
    at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:131)
    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:246)
    at net.minecraft.server.ThreadServerApplication.run(SourceFile:366)
    Caused by: java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at java.util.jar.JarFile.<init>(Unknown Source)
    at org.bukkit.plugin.java.JavaPluginLoader.loadPlugin(JavaPluginLoader.j
    ava:52)
    ... 8 more
     
  24. Offline

    greycap

    Working fine for me with the latest version of Craftbukkit. Maybe you should consider updating yours
     
  25. Offline

    mouton

    2 things I encountered when using this plugin:

    1. A ghast apparently glitched and saw me while loading the nether and kept spamming fireballs endlessly in the same direction making a long tunnel. It might be notchbug, of course.

    2. Apparently, I triggered the new portal spawning issue (by having portal shutdown by a ghast and having to reignite it) and a second portal spawned in the overworld, very close to the original one. Destroying it doesn't work, destroying and then restarting the server doesn't work, it respawns fully functional. Shutting down all three portals and restarting server doesn't work. The nether portal still transfers me to either one. How do I remove it?
     
  26. Offline

    Schuttle

    On my server running CB 440, Nether 1.1

    It would seem when a player is getting attacked in the nether and dies or kills themselves. Ghasts will "follow" them back to where they spawned, and start orbital bombarding the area killing the player. The ground gets destroyed but reappears, although this might be because spawn is in a world guarded area for the reappearing blocks issue from the ghast fireballs.

    The problem is reoccurring through restarts.
     
  27. Offline

    Acru

    I'll send more pull requests as soon. One for the spawning and the other, I managed to write up some code that is quite awsome at portal placement. It will land portals right on the surface of liquids, in caves, and generally not floating in the air or in solid rock. :3
     
  28. Offline

    Incendia

    I want.
    Do you have a compiled version? Maaaaybe for 493? :eek:
     
  29. Offline

    Strongit

    I'm definitely keeping my eye on this plugin. It's exactly what I've been waiting for, but I'll have to wait until the bugs are worked out and it's updated for 493.
     
  30. Offline

    sunkid

    I was looking for a NetherGate alternative and just tried this as it looks very promising. Running CB 497 I used an existing portal and it created a new netherworld ('netherworld') for me. I then linked that world to my old nether world 'nether' in the craftbukkit folder and re-started the server. The portal still worked and a new counter-portal was created properly. However, when I created another portal in the non-nether world, I came out through at the same location, and when I exited, I came back out at the first portal.

    Also, would it be possible to turn the player 180° when walking back through the nether-side portal. Right now, it's as if one has walked straight through the non-nether gate when returning, regardless of whether one just turns around in the nether and walks back out or whether you walk around the nether-side gate to exit from the other side.
     
  31. Offline

    Dreadreaver

    ??? its working fine for me on CB#493

    tbh I NEVER had any issues with this plugin so far. only bug(Minecraft 1.3 related) is that portals stay open after you destroyed them and after you restart the server its fixed -but thats it.
     

Share This Page