UPnP - The need to portforward is gone! Version: 1.0 Direct-link Download Using UPnP, this plugin automatically forwards your Minecraft server port to your machine; eliminating the need to manually portforward. This plugin using the Ileri UPnP API to search for UPnP-ready devices and then apply appropriate port mappings. This plugin will work for any network gateway with standard UPnP (plug-and-play) enabled. Tested Network Gateways (tell us it works for your gateway model in the comments, thanks!) Linksys E4200V2 Linksys E4200 Linksys N900 Linksys N750 Linksys N600 Linksys N300 Linksys EA6500 Linksys E1200 Linksys WRT54g NetGear N600 Change Log Version 1.0: The first release! Visit our BukkitDev page!
Wow, this is amazing! I will be testing this out for sure with my modem (iiNet Bob Lite) very soon! btw: This doesn't follow the criteria set up by evilSeth so you better go correct it
Thanks for your kind words! Correct me if I'm wrong but I believe there is no need to correct this post according to criteria because it contains a BukkitDev link. Regardless, I have updated the thread as according.
I get an error while starting up: 20:54:48 [SEVERE] Error occurred while enabling UPnP v1.0 (Is it up to date?) java.lang.UnsupportedClassVersionError: ileri/Devices : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:44) at org.bukkit.plugin.java.JavaPluginLoader.getClassByName(JavaPluginLoader.java:238) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:40) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:29) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at com.tnappo.upnp.UPnP.onEnable(UPnP.java:22) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:374) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:272) at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:254) at net.minecraft.server.MinecraftServer.j(MinecraftServer.java:320) at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:299) at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:258) at net.minecraft.server.DedicatedServer.init(DedicatedServer.java:141) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:400) at net.minecraft.server.ThreadServerApplication.run(SourceFile:818) I have updated my CraftBukkit to 1.4.2 R0.2...
I have a linksys EA6500 router, with the new Smart Wifi and I got this message And my Java is up to date [SEVERE] Error occurred while enabling UPnP v1.0 (Is it up to date?) java.lang.UnsupportedClassVersionError: ileri/Devices : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631) at java.lang.ClassLoader.defineClass(ClassLoader.java:615) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:80) at org.bukkit.plugin.java.JavaPluginLoader.getClassByName0(JavaPluginLoader.java:300) at org.bukkit.plugin.java.PluginClassLoader.findClass0(PluginClassLoader.java:76) at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:53) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at com.tnappo.upnp.UPnP.onEnable(UPnP.java:22) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.java:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer.java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:321) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:300) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:259) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.java:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java:399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:849)
Looks like an amazing plugin that will be used on mostly every server. All you need is to advertise and you can even sell a "Premium" version.
A lot of servers don't need this, as they are run from dedicated machines. But looks nice for those whom cannot portforward.
Does the IP stay the same? It's not working for me. The plugin is on /plugins but I'm on Hamachi and nobody can connect.
On one of my computers in my home network this plugin won't work :/ ? Upnp works on that computer so I can't understand what could be the problem When starting the server the plugin displays "Searching for devices..." but nothing more, after that line the server runs as normal BUT without being "port forwarded". When closing the server the name of the router etc sometimes appears... Please help, if I could get this plugin to run that would've been awesome
Works great, thanks! *EDIT* updated to Java 7, getting an error message now. Using Netgear 600. Code: 19:08:26 [SEVERE] Error occurred while enabling UPnP v1.0 (Is it up to date?) java.lang.NullPointerException at ileri.Devices.search(Devices.java:34) at ileri.Devices.search(Devices.java:48) at com.tnappo.upnp.UPnP.onEnable(UPnP.java:22) at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:217) at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader .java:457) at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManage r.java:381) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.loadPlugin(CraftServer.jav a:282) at org.bukkit.craftbukkit.v1_4_R1.CraftServer.enablePlugins(CraftServer. java:264) at net.minecraft.server.v1_4_R1.MinecraftServer.j(MinecraftServer.java:3 21) at net.minecraft.server.v1_4_R1.MinecraftServer.e(MinecraftServer.java:3 00) at net.minecraft.server.v1_4_R1.MinecraftServer.a(MinecraftServer.java:2 59) at net.minecraft.server.v1_4_R1.DedicatedServer.init(DedicatedServer.jav a:149) at net.minecraft.server.v1_4_R1.MinecraftServer.run(MinecraftServer.java :399) at net.minecraft.server.v1_4_R1.ThreadServerApplication.run(SourceFile:8 49) Try updating it? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
I get the exact same error :/ But only on one of my computers on the other it works perfectly :? I've got a dir-655
Error is because the creator needs to update it, with plugins like these they must be exact at all times.
Canownueasy Is this plugin still being updated? I am inclined to move it to inactive instead of releases at this point.