hNether
hNether
aka uMultiNether Get back to your own portals!
Description
Simple and yet powerful tool. This plugin allows each player to have a very own nether portal save. And by save I mean that when a player enters a portal, the plugin saves the location for the player and when he comes back and the portal is still there, he get's teleportet there.
Requirements
Nothing but the plugin itself.
Features
- Dynamic saves for every player who enters a portal
- Supports multiple worlds and should also be compatible with any other plugin
Configuration
No configuration required!
Credits
- Hellsing
- Ulrar (original idea for this mod, but outdated and not continued: link)
Download / Source
GitHub: click me
@Apple_columb
Using Multiverse? Add mutiverse netherportals :)
There might be another plugin in conflict with my plugin. I've even tested my plugin on the latest Dev-Build of CraftBukkit. Still works without errors.
Weird error. 14:58:45 [SEVERE] Could not pass event PlayerPortalEvent to uMultiNether java.lang.NullPointerException at de.hellcraft.umultinether.uMultiNetherPL.onPlayerPortal(uMultiNetherPL.java:48) at sun.reflect.GeneratedMethodAccessor373.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:301) at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:443) at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:466) at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:306) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:344) at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:76) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:116) at lishid.orebfuscator.hook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:60) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:85) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:625) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:509) at net.minecraft.server.ThreadServerApplication.run(SourceFile:490)
@toxuin
yep, no problems with 1.2 :)
Does it work with 1.2? Thanks!
@hemirtcz
To be honest, I didn't even test it out with THE END but from my code I can say that it will work without problems. Since you can't normally create a END portal, I won't add a feature for the END portals.
Hey please :), how do i enable END ? It will work fine? Or is it bugged?
@freaky85
Fixed it in 2.1 I hope. Cuz now there is a check for the world in which the player is teleporting. So this plugin will only work if the current world and the destination world match the criteria.
@Albuca
Thanks, good to hear :)
Works like a charm!
Thanks! Ive been looking for a plugin like this for a while! =]
I found a bug in your plugin, we did some testing and found out, it is your plugin. The problem is that people going through an ender portal get disconnected after a few moments and then they are given the message "internal server error". on console i get the following error:
16:41:13 [WARNING] Failed to handle packet: java.lang.NullPointerException java.lang.NullPointerException at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:369) at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:351) at net.minecraft.server.BlockEnderPortal.a(SourceFile:55) at net.minecraft.server.Entity.move(Entity.java:614) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:341) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465) 16:47:22 [WARNING] Failed to handle packet: java.lang.NullPointerException java.lang.NullPointerException at net.minecraft.server.ServerConfigurationManager.changeDimension(ServerConfigurationManager.java:369) at net.minecraft.server.EntityPlayer.e(EntityPlayer.java:351) at net.minecraft.server.BlockEnderPortal.a(SourceFile:55) at net.minecraft.server.Entity.move(Entity.java:614) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:341) at net.minecraft.server.Packet10Flying.handle(SourceFile:126) at net.minecraft.server.NetworkManager.b(NetworkManager.java:226) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:100) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:537) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:435) at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
Compatibility update to 1.1-R3.
I'm sorry for me not seeing that this plugin really is outdated. I didn't even look into the code...
No changes so far, just the update to 1.1-R3 new event system.
Regards,
Hellsing
@Asura23
Can't confirm that one, sorry. Tried it at all of my nether portals on the server and no block is unlimited. Maybe they used a bug or something.
Again, what the code does is just the following:
Thats all. As you can see my plugin only activated when a portal is being used...
Regards,
Hellsing
Found a SERIOUS problem,..!!! After updating CB to 1846 in radius about 100 block around several nether portals in Nether everybody have unlimited stacks! I got to ban several players for duping diamond blocks,.... After turning "uMultiNether" off,... it stopped,....
@Snowybearr
Well I'm sorry but I think there is still an error with the latest CB (1846). Just checked it on my server. uMultiNether works just fine but bPermissions doesn't, which means that there is still an error with the return value world.getWorld()....
Sorry for that guys, but I'm pretty sure this plugin will work again once this is fixes by the Bukkit Team.
Regards,
Hellsing
@HeIIsing
Alright awesome, I will be updating to 1846 this afternoon! Thanks :)
Should now work fine again with 1840 ;)
I've found out that there is a problem with getWorld()... So this means it's not a plugins fault, it's CraftBukkit itself so we just need to wait for a fix...
Wow that shouldnt happen, I've just tried it and there is no such an error for me. Did you teleport out of the nether with some command like "/spawn" or "/home"? Because then it will throw the message.
And cuz I compiled it with the dev build of Bukkit, it's still compatible with 1818, so I won't update it just for the version, just give me some time to add some new features and then there will be a update.
As of Build 1818 everytime you enter the nether is says it thought I was already in the nether. Pretty annoying, how can I fix this, or will there be an update soon?
I've never had this kind of bug and I really don't know what could cause this. Maybe someone else attacked those zombies before and then left. They won't forget that :D