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.
@crazyphp
Same issue :/
@leereyzhe
Not really, but you can capture output from plugins. See the documentation: http://dl.dropboxusercontent.com/u/35774053/Websend/docs/PHPToBukkit.html#outcap
@Simon816
i see.. so is it possible to make a page display whats on the console? if so how?
@Simon816
i learn :( im not a master with php al what now working is that when i use a ipn to send a test pay the pay is log and i see who last pay but it's not working to give the player the rank
@remcov1
$_POST is an (associative) array. You need to provide a key to get the value eg $_POST["username"]
I suggest you should have a basic understanding of PHP in order to use websend
can anybody help me when players donate with paypal the come in a export.txt file where i gett the information but when i choose doCommandAsConsole
("pex user ".$_POST." group set donator");
but he will set array to the group donator can anybody help me ?
new 2.5.2 version is unstable? the commands PHP->Bukkit are execute on 3th-5th attempt, returning error in server console "[02:05:21] [Thread-12/INFO]: [Websend] Client failed to authenticate! Disconnecting." But on 5th attempt it execute normal without error.
A New dondate system ! it works with Websend look on
http://minedonate.nl
pay with: - Paypal - Paysafecard
the site is dutch but works great
@leereyzhe
The minecraft.php file is for websend to post commands to from bukkit (using '/ws {command}') . It is not opened in a web browser. Websend.php is PHP -> bukkit and minecraft.php is Bukkit(command) -> PHP
when i try to use minecraft.php the first two error boxes i get are:
Notice: Undefined index: authKey in D:\HTTP\minecraft\minecraft.php on line 7
Notice: Undefined index: args in D:\HTTP\minecraft\minecraft.php on line 8
@leereyzhe
I found your problem resolved?
IOException while communicating to client!
I've pretty much finished my admin controls page, BUT one thing isn't exactly clear to me:
Is this plugin able to output everything on the server console to my page? I went through the documentation and couldn't find anything on this (or perhaps i overlooked it), nor does my minecraft.php work properly (i'll probably try to fix that soon).
Also, if i reload the bukkit using websend, the plugin errors out and i have to reload again through the server console. Dunno if its just me...
@leereyzhe
nice to hear
and i will create a Websend Paypal tutorial i working hard im not the best with PHP i hope i can upload the video this week
@remcov1
Ah I found it, under public function connect theres a line that echos it. I blocked it out and now it doesnt anymore.
@Simon816
there is a echo in the websend.php thought i
@leereyzhe
You are probably echoing some variables in your PHP script somewhere. Go back and check through your code, or post your code here so someone can help.
It sends directly commands from php to the server as the console, exactly what i was looking for.
Trouble is I'm using submit buttons on a webpage to send various commands, but when they're pressed they print out my password and the hash seed. :o Im sure this is not supposed to happen but i have no clue how to fix it, and I couldn't find anything that relates to this. Does anyone know something about this?
@lDiverse
A reload is not good for all in your server a restart is all time better *Use restarts*
@DJTomek
Use /say or a broadcast plugin than you can add the same thinks right?
@ThomasRaud
Wow.... awosme seriously i learn a lot ;)
Are you going to add "tellraw"? It would be very very nice. With this function we will be able to create complex texts with few words in chat.
The plugin fails when you reload the server without shutting down and starting like that.