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.
@Waterflames
For setting up websend with paypal ipn (and php)! And the command: /pex promote <player>
<player> replaced by player who donated!
@Lockolu
For what specificly? PHP, websend, paypal, ...
@sondun2001
It unbinds the port when shutting down. However, due to multithreading and other factors, it doesn't get unbinded in time for the reload.
Using /reload is a bad practice in general,link here.
Could you unbind the port when shutting down? Doing a /reload causes you to receive:
Can you post a link for a tuto, pls?
@leonhunter
I'll see what I can do :)
Hey, Can you consider adding player IP address, currently held itemid and inventory contents array (EG: [itemid:qty]) to the post data?
@Waterflames
Not the whole thing... only an example!
Or a link to a tuto...
@Lockolu
I'm sorry, but I'm not going to write the whole thing for you :/
@Waterflames
Sry, I don't know much about php...
Can you send me an example config for it, pls??
@Lockolu
That is pretty much basic php, I suggest reading some tutorials if you aren't familiar with php yet.
You get the player (or the email adress of the donator, which you can link to the donator) variable from paypal, and then you put it in the command by replacing the <player> with the value paypal sent you. Paypal IPN
@mikeyg6754
But how can I can I do it that this player who donated get the perms auto.??? The command for it is: "/pex promote <player>" , but what should I do, that the name of the person who has donated placed of <player>?
@Lockolu
You can do this. Look up the PayPal IPN, you do not need a paid paypal account, but you do need a business account.
I have this system currently working on my server. All you do is send a command to promote the player that paid to your permissions plugin (PEX).
@Lockolu
Im sorry, but I cannot help you with that. As far as I remember you need a paid paypal account to do this, so maybe you can look for other payment methods. I might be wrong tho. Im pretty sure it has been done with paypal.
Whatever option you choose, you need an event from their service that states the payment was ok so you can execute the websend script.
@Waterflames
Ok and when I want that the person who donate get it auto. what do I have to write then?
"A few of the possibilities: Online adminstration screen Online console Membership system (become VIP with a donation) Paypal donation system ..."
How can I do this with paypal, etc...?
@Lockolu
Take the script from here: http://dev.bukkit.org/server-mods/websend/pages/types-of-communication/#w-php-to-bukkit Set it up (IP and password), and change
to
@Waterflames
I want to run this command: /pex promote <player who donated>
How can I do it?
What's about the perm change, can you send it me, pls?
@Lockolu
I can tell you how to make the perms change, but not the actual donation.
@ZacGod
When a player donate and I want to give him automatically the perms after donation. How can I do it?
@Lockolu
I do not understand what you are asking...