Websend
Websend
EOL notice:
After almost 6 years, this plugin has reached an end-of-life status.
I will no longer be maintaining this plugin. If you are a developer and are interested in the source code of this project, feel free to use it as it is published under an MIT license.
To all the great people in the community: Thank you for the wonderful time!
Documentation can be found on Github wiki. (Edit: 9/2/2017: link fixed)
Source code can be found on Github.
What does this plugin do?
This plugin enables PHP developers to access minecraft commands from a web-based script.
A scheme: Ingame command -> Your php-enabled server -> Your PHP file does stuff and provides output/commands -> Plugin executes commands and prints output. Or: Webpage command -> bukkit server -> Plugin executes commands and prints output.
A few of the possibilities:
Online adminstration screen Online console Membership system (become VIP with a donation) Paypal donation system ...
Features:
Seperate thread (no server lag because of the wait.) Commands (ingame or console emulation) Command to color output send from php. Secure connection (protected with password hash) Permissions support (just "websend") Both ways enabled (PHP -> bukkit | bukkit -> php (-> bukkit))
Head over to the files for the latest version, and here for installation instructions.
Documentation and more.
-
View User Profile
-
Send Message
Posted Mar 3, 20122012-03-03 16:06:01 [SEVERE] An error occured while trying to do a bukkit -> php connection. (POST)
java.lang.NullPointerException
at Waterflames.websend.POSTHandler.sendData(POSTHandler.java:142)
at Waterflames.websend.POSTHandler.sendPOST(POSTHandler.java:102)
at Waterflames.websend.PosterThread.run(PosterThread.java:50)
mc 1.2.3, craftbukkit 2029
-
View User Profile
-
Send Message
Posted Mar 3, 2012@Waterflames
Nah. Everytime my server restarts, I have to reload it. Here is the error:
2012-03-03 20:24:32 [INFO] [bShortcut] Loading bShortcut v1.2.1.
2012-03-03 20:24:32 [INFO] [bShortcut] version 1.2.1 is enabled!
2012-03-03 20:24:32 [SEVERE] bShortcut: No config file found!
java.io.FileNotFoundException plugins/bShortcut/imports.yml (No such file or directory)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java:138)
at org.bukkit.configuration.file.FileConfiguration.load(FileConfiguration.java:109)
at com.beecub.bShortcut.bConfigManagerImport.<init>(bConfigManagerImport.java:34)
at com.beecub.bShortcut.bConfigManager.<init>(bConfigManager.java:54)
at com.beecub.bShortcut.bShortcut.onEnable(bShortcut.java:44)
at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:230)
at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:1057)
at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:380)
at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:199)
at org.bukkit.craftbukkit.CraftServer.enablePlugins(CraftServer.java:182)
at net.minecraft.server.MinecraftServer.t(MinecraftServer.java:357)
at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:344)
at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:175)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:408)
at net.minecraft.server.ThreadServerApplication.run(SourceFile:465)
-
View User Profile
-
Send Message
Posted Mar 2, 2012My PHP-script keeps sending 2 commands, although i don't use a loop or anything :/
http://pastebin.com/SFafJHHL
-
View User Profile
-
Send Message
Posted Mar 2, 2012@uncovery
Its working just fine on my server?
-
View User Profile
-
Send Message
Posted Mar 1, 2012@Waterflames
bShortcut has a bad bug. It does not load the config on a server start. You have to enter /bshortcut reload after every restart to activate whats in the config.
-
View User Profile
-
Send Message
Posted Mar 1, 2012@thernztrom
Websend doesn't use events nor build in configurations (actually it doesn't use anything thats deprecated.). WSEvents does use the new event system.
-
View User Profile
-
Send Message
Posted Mar 1, 2012Is it compitable with RB5/RB6 yet? Aka have you implemented the new event system?
-
View User Profile
-
Send Message
Posted Mar 1, 2012@Waterflames
tried it, thanks, works great!
-
View User Profile
-
Send Message
Posted Feb 29, 2012@uncovery
I updated bShortcut to the latest Craftbukkit, so you can use that for command aliases. Download
-
View User Profile
-
Send Message
Posted Feb 28, 2012@Waterflames
that's ok. the enchantments and command aliases for /ws are much more important in my opinion anyhow.
I am writing already the 3rd plugin based on WS for the server and cannot wait for the next version.
-
View User Profile
-
Send Message
Posted Feb 28, 2012@uncovery
I'm not really planning to add that soon.
-
View User Profile
-
Send Message
Posted Feb 28, 2012@Pr07o7yp3
Its already on the todo list :)
-
View User Profile
-
Send Message
Posted Feb 28, 2012@Waterflames
Ok, but can you add to $_POST data these:
$_POST['yaw'] and $_POST['pitch'] :) ?
-
View User Profile
-
Send Message
Posted Feb 27, 2012@Waterflames
Nah it reports a HTML 500 error only. The PHP errors are only in the apache logfile.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@uncovery
I guess it should do that automaticly? If no commands are found, it should print it straight to console.
-
View User Profile
-
Send Message
Posted Feb 27, 2012@McSender
You are allowed to use this in commercial projects, but a link on your page or a donation is always nice :) I should probably change the license a bit.
-
View User Profile
-
Send Message
Posted Feb 27, 2012Hey. First i want to say that i love your plugin. It's great for connect webpages with a minecraft-server. Thanks for this. Now I have a question: Am i be allowed to use your plugin commercial? I've seen your license 'All rights reserved'. I would pay or donate something for getting a commercial license.
Thanks for reading my request.
-
View User Profile
-
Send Message
Posted Feb 26, 2012Do you think it would be possible to show PHP errors in the console as long as the PHP script displays them?
-
View User Profile
-
Send Message
Posted Feb 26, 2012@Conderan
You could listen for entity interact events, and then check what item the player is holding.
-
View User Profile
-
Send Message
Posted Feb 26, 2012@tclausen
Is it possible you have no URL specified in your config file?