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 Oct 28, 2012Does anyone here know if the plugin WSEvents is affiliated with Websend, if so. What its for?
Its folder contains a file called "player.txt" With a list of actions all marked as false/
-
View User Profile
-
Send Message
Posted Oct 28, 2012@LegendaryCruzer You would use the stock minecraft color codes. Something like
$ws->writeOutputToPlayer("msg playername &a Hello!")
to message them in the color light green!
EDIT: This method is not producing a colored text anymore.
-
View User Profile
-
Send Message
Posted Oct 26, 2012How I can use colors in the
$ws->writeOutputToPlayer()
Function?
-
View User Profile
-
Send Message
Posted Oct 24, 2012@uncovery It may not be supported in the code yet but I'm not sure. Try using the minecraft color codes.
@Scrayos If you don't need plugin output capturing, you can ignore it. If you get exceptions, please post them (including the full stacktrace) in the forum under bugs, so I can take a look.
@CJxD I'll take a look at it.
@barreytor Yes
@Xi0s Command aliases are possible with a plugin like commandhelper.
-
View User Profile
-
Send Message
Posted Oct 20, 2012Anyone knows how to put color into the PrintToConsole commands so that the console text is actually colored?
-
View User Profile
-
Send Message
Posted Oct 17, 2012Hey, what I got to do, to remove this Warning?
And I got often a "Websend.null"-Exception ...
Or, what should I use otherwise, if I shouldn't use "Default Bukkit"
-
View User Profile
-
Send Message
Posted Oct 17, 2012Update: it seems to work for ExecuteConsoleCommand, but not PrintToPlayer.
Not sure what else works, but I can try if you want.
-
View User Profile
-
Send Message
Posted Oct 17, 2012So when Websend does a Bukkit => PHP => Bukkit, it seems to be just outputting the text that I lobbed in. e.g. If my PHP does : print('/Output/PrintToPlayer:Hello World!;');, the user will see /Output/PrintToPlayer:Hello World!
What do?!
-
View User Profile
-
Send Message
Posted Oct 8, 2012Okay, so I'm planning on updating my PHP code to websend 2.0. I have my code all in a bukkit->PHP->bukkit connection, and to me it looks like the only difference is that the colors have to be sent with the minecraft color codes, and that there are specific "Output to console" and "Output to player" commands, while non-commanded prints seem to still exist.
My question is: I'd just have to change the "/chatcolor-" to the actual minecraft color codes, right?
-
View User Profile
-
Send Message
Posted Oct 1, 2012@webshoptv
I would set this up as a PHP -> bukkit transaction, verify the payment as usual against paypal in PHP then in which case promote the user to VIP in your permissions (if its a database permissions system, else you wont be able to automate it) then either have an SQL inventory mod and give items that way or require the user to be online as they pay and transact through the PHP -> bukkit using the /give command:
But really if you use the inventory mod you wouldnt theoretically need this mod.
-
View User Profile
-
Send Message
Posted Oct 1, 2012Is it possible to limit which commands trigger the websend? And can you create your own commands which trigger it? For instance /verify.
-
View User Profile
-
Send Message
Posted Sep 28, 2012I'm going to use this for instand buying vip.
I have a working IPN-Script. How can I set that the player immediately gets items and the rank vip?
The variables are:
Thx for helping.
-
View User Profile
-
Send Message
Posted Sep 27, 2012@Waterflames
You have made my day, Thanks!
-
View User Profile
-
Send Message
Posted Sep 27, 2012@huntershenep
Check the files section.
-
View User Profile
-
Send Message
Posted Sep 26, 2012Could you please recompile this is Java 6? Please! I'm donating $20.00 for this to happen right now!
-
View User Profile
-
Send Message
Posted Sep 21, 2012@SzymonOwca
In the .zip file that you download, there is a file called "Websend" , make sure you include that file where ever there is a PHP file. Such as in /home/owcatv/public_html/
-
View User Profile
-
Send Message
Posted Sep 21, 2012Hi
I have a script on the page and when I confirm writes: Fatal error: Class 'Websend' not found in / home / owcatv / public_html / diax.php on line 21
on line 21 write:
$ ws = new Websend ("188.165.217.54");
what is the problem?
-
View User Profile
-
Send Message
Posted Sep 19, 2012@huntershenep
Well, I figured out my problem.. The plugin wasn't even updated for 1.3.2.
-
View User Profile
-
Send Message
Posted Sep 19, 2012Hello, I have all default config, except for the password ofcourse. I try the default PHP set time day (FROM MY PC WEBSERVER) , and this is the error I get: http://teamshenep.com/u2/oQNnA3.png When I try it from an actual webhost, this is the error I get: http://teamshenep.com/u2/L1oibI.png
-
View User Profile
-
Send Message
Posted Sep 19, 2012In regards to CommandHelper, if you want a plugin to run a CommandHelper alias, you need to use "/runalias cmd" instead of "/cmd".