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 Apr 6, 2012@shutka
I released a new alpha version, use at your own risk!
http://dev.bukkit.org/media/files/585/611/package.zip
-
View User Profile
-
Send Message
Posted Apr 4, 2012@shutka
I'm currently reworking the entire server for php->bukkit communication.
I'll look into it when that is done.
-
View User Profile
-
Send Message
Posted Apr 2, 2012@shutka
On bukkit -> php or php-> bukkit?
Make sure it is a bukkit -> php connection (if it isn't, then use the php -> bukkit to do a /ws command)
Then check if the player is the POST player data. If it is, do a ExecuteConsoleCommand
Resources:
http://dev.bukkit.org/server-mods/websend/pages/available-post-data/
http://dev.bukkit.org/server-mods/websend/pages/syntax/
-
View User Profile
-
Send Message
Posted Apr 2, 2012@shutka
Please don't post 'up' messages in here.
I'll get to your post when I can.
-
View User Profile
-
Send Message
Posted Mar 31, 2012@Waterflames
Oh, im sorry, appearently i had some options wrong...
-
View User Profile
-
Send Message
Posted Mar 31, 2012@fiskarbengtson
Is there something broken?
-
View User Profile
-
Send Message
Posted Mar 31, 2012Update to 1.2.4 please xD need it badly
-
View User Profile
-
Send Message
Posted Mar 30, 2012@shutka
http://dev.bukkit.org/server-mods/websend/pages/syntax/#w-chatcolor-acolor-here
-
View User Profile
-
Send Message
Posted Mar 29, 2012It does, I've moved my website to another webhosting, works wonders now.
Didn't do a thing with code, just copypasted it, seems like it was problem with web hosting. Tried few web hosts, some of them weren't even creating sockets.
EDIT: Maybe it's something different that is required on web, not sure if its SSL, but that was the only free webhost that I've found with SSL, and it worked there.
-
View User Profile
-
Send Message
Posted Mar 29, 2012@Ryuuzakipl
Does it work now? Because I doubt SSL is required.
-
View User Profile
-
Send Message
Posted Mar 29, 2012Problem solved, my website didn't supported SSL
-
View User Profile
-
Send Message
Posted Mar 29, 2012This plugin reqiures hosting with SSL enabled?
-
View User Profile
-
Send Message
Posted Mar 29, 2012I've tried to check another port for my server. Site I used was: http://www.yougetsignal.com/tools/open-ports/
I've set ALTPORT = 53541 in config, and while checking if the port is opened with the site above, there was a message in server console
So I assume there is something wrong with the php code on my site. Which is currently
While trying to use this code on my site, it gives me message:
-
View User Profile
-
Send Message
Posted Mar 29, 2012So, host should be: s22.csrv.pl, and port has to be different than server port?
How can I find out any free port on server hosting like multicraft?
-
View User Profile
-
Send Message
Posted Mar 29, 2012@Ryuuzakipl
I'm assuming you mean players connect to s22.csrv.pl:14372?
If so, change it because you need a seperate port for websend.
-
View User Profile
-
Send Message
Posted Mar 29, 2012Greetings,
I've got a problem, my website cannot connect to server. My server is hosted on something like multicraft. It's address is: s22.csrv.pl:14372
So, my php code looks like:
And the config for plugin is:
Am I doing something wrong?
-
View User Profile
-
Send Message
Posted Mar 24, 2012@uncovery
I'll include this in the next release.
-
View User Profile
-
Send Message
Posted Mar 24, 2012Thanks alot for making this :D
-
View User Profile
-
Send Message
Posted Mar 23, 2012I will continue my work on websend and wsevents on the 31th of march after my exams. Hopefully there will be a stable 1.2.4 build by then.
-
View User Profile
-
Send Message
Posted Mar 23, 2012WSEvents urgently needs an event on player death. If you are writing a function that manages PVP or anyhting else, there is no way to find out if a player died. Even if he gets teleported back to spawn WSevents only triggers once the player hits the "respawn" button.
I would be very happy if this could be implemented.