WebRedirecter
WebRedirecter is a simple plugin.He just allow players to have a redirection on the website you've set.
It will use the default internet navigator to go to the website.
That isn't a big plugin so he causes not some lags.
Easy to configure, just go to the folder that was apparead on the plugins folder and open the file "website-adress"; here, just type the wesbite adress.
WARNING!Don't forgot the http://www Example: http://www.google.com
If you use a tool to make your website(blogspot, tumblr...), type same of this example. Example: http://<myforumname>.<myforumtool>.<com, org...>
In the file redirection message just type the message to send to the player if the command was successfull.
Version 1.2.5_01:
Commands:
/website - Go to the server's website.
Permissions:
None./website is for all.
I think for the next version i will add possibility to have more website.
I will try to add a gui menu for the redirection.
If you have one or more ideas ask me, i will see if this is a good idea.
-
View User Profile
-
Send Message
Posted Jun 24, 2012I know but i don't know if it's possible to open it on the client without Spout or another api.
So i'm working on it, but actually i can't correct it sry :s
-
View User Profile
-
Send Message
Posted Jun 23, 2012Tested 24/06/2012
Doesn't work, loads the website server side rather than client side.
Great idea but needs to load the website client side rather than server side.
-
View User Profile
-
Send Message
Posted Jun 7, 2012@TheGhost23418 cool thanks :-)
-
View User Profile
-
Send Message
Posted Jun 7, 2012@Simon816:
This plugin do a redirection to the web adress you have chosen, and there isn't any download.
So, it is impossible to it have a virus.
And the redirection isn't with Bukkit API, it is with natural Java, so it allows it :)
-
View User Profile
-
Send Message
Posted Jun 5, 2012@TheGhost23418 thank you! when this is fixed i will use this plugin. two questions: 1) will this use spout because i would be surprised vanilla minecraft allows permission for it? and 2) could this be risky as it could deploy viruses (not that this will happen but there maybe a chance)
-
View User Profile
-
Send Message
Posted Jun 4, 2012I know Simon because the redirection is doing on the computer where Bukkit running(=on the computer's server), so it open the website on it, i'm correcting it ;)
-
View User Profile
-
Send Message
Posted Jun 4, 2012hi, on my windows server 2008 it opens the website server side rather than client side. is this meant to happen?
-
View User Profile
-
Send Message
Posted Jun 1, 2012/!\ WARNING /!\
WebRedirecter maybe not run on Linux, i'm correcting the problem.
-
View User Profile
-
Send Message
Posted May 31, 2012Hello An error log
03:22:28 [SEVERE] null
org.bukkit.command.CommandException: Unhandled exception executing command 'website' in plugin WebRedirecter v1.2.5_01 at org.bukkit.command.PluginCommand.execute(PluginCommand.java:42) at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:473) at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:141) at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) at net.minecraft.serverhook.NetServerHandlerProxy.a(NetServerHandlerProxy.java:83) at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:551) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:449) at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) Caused by: java.awt.HeadlessException: No X11 DISPLAY variable was set, but this program performed an operation which requires it. at java.awt.Desktop.getDesktop(Desktop.java:142) at com.github.TheGhost23418.WebRedirecter.WebRedirecter.onCommand(WebRedirecter.java:55) at org.bukkit.command.PluginCommand.execute(PluginCommand.java:40) ... 14 more
Please help me?
-
View User Profile
-
Send Message
Posted May 22, 2012Good idea i will try with Spout ;)
-
View User Profile
-
Send Message
Posted May 22, 2012Is this suppose to open on the clients computer that is typing the command? Decompiling and looking into your code it doesn't look like it does that. Is spout or something required for this?
-
View User Profile
-
Send Message
Posted May 22, 2012Go to your hoster and press windows + R (if he running windows) and type %programfiles% or %programfiles(x86)%, it's depends of the windows version of your hoster.Go to the Java folder (if he's not in %programfiles% go to %programfiles(x86)%)and there's a folder in it.
Normally it's called jre<a number>.
See this number, it's the version of Java.
-
View User Profile
-
Send Message
Posted May 22, 2012How can i see the Java Version of my Server? I have a Server by a Server-Hoster. It´s Nitrado. Sorry for my bad English I am a student from Germany :)
-
View User Profile
-
Send Message
Posted May 22, 2012I don't know why you have this error.
On my local server it running perfectly.
Are you using Java 6 or Java 7?
It may be an error with an invalid Java version.
-
View User Profile
-
Send Message
Posted May 22, 2012Can you upload the folder from the PlugIn because I have a Server Error: 2012-05-22 16:49:40 [INFO] [WebRedirecter] Enabling WebRedirecter v1.2.5_01 2012-05-22 16:49:40 [SEVERE] java.io.FileNotFoundException: plugins/WebRedirecter/redirection-message.txt (No such file or directory) 2012-05-22 16:49:40 [SEVERE] at java.io.FileOutputStream.open(Native Method) 2012-05-22 16:49:40 [SEVERE] at java.io.FileOutputStream.<init>(Unknown Source) 2012-05-22 16:49:40 [SEVERE] at java.io.FileWriter.<init>(Unknown Source) 2012-05-22 16:49:40 [SEVERE] at com.github.TheGhost23418.WebRedirecter.WebRedirecter.onEnable(WebRedirecter.java:25) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:215) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:336) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:381) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:256) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:238) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.craftbukkit.CraftServer.reload(CraftServer.java:552) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.Bukkit.reload(Bukkit.java:182) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.command.defaults.ReloadCommand.execute(ReloadCommand.java:22) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:166) 2012-05-22 16:49:40 [SEVERE] at org.bukkit.craftbukkit.CraftServer.dispatchCommand(CraftServer.java:479) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.NetServerHandler.handleCommand(NetServerHandler.java:821) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.NetServerHandler.chat(NetServerHandler.java:781) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:764) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.Packet3Chat.handle(Packet3Chat.java:34) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.NetworkManager.b(NetworkManager.java:229) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:113) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.NetworkListenThread.a(NetworkListenThread.java:78) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.MinecraftServer.w(MinecraftServer.java:558) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:450) 2012-05-22 16:49:40 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:492) 2012-05-22 16:49:40 [INFO] [WebRedirecter] WebRedirecter 1.2.5_01 by TheGhost has been enabled successfully!
-
View User Profile
-
Send Message
Posted May 21, 2012BRILLIANT IDEA! Im gonna have to try this out :D