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.
@Ezriilc
He's not the only one. DiamCraft's voting relies on Websend 100%
@apengstrom
Sorry for the delay... I thought there would be some sort of response from someone else.
At this point, I can only guess that it's expected for everyone to use dedicated hosting only.
I can understand that position, considering how shared hosting must work in order to keep costs down for basic web publishers, and how far more extensive the needs of Bukkit are.
It's just not practical to serve anything like Minecraft from a shared environment.
Hi,
How do I get the chat from my minecraft server with websend? On my webserver?
Greets,
@Ezriilc
That being said, any plugin that utilizes a port is useless for any type of shared hosting server setup unless it can bind to the specific port AND ip address.
@apengstrom
As you're experiencing, this isn't advisable.
Hi, I have not received a response before so I am posting again. I am looking to see if you guys can add this to the plugin config, as otherwise I will never be able to use it.
"According to my host, Fragnet:
"When you do the plugin configurations to bind to a specific IP Address, you absolutely must also set the Bind IP Address to match that of your server. These are often set to 0.0.0.0 by default and if left that way, will cause your server to use that port on every IP Address."
Can we add this option so that I can configure the bind IP address? I need to be able to set it to my server's specific IP.
Thanks, this is urgent as my entire server's voting system depends on this plugin."
@Tritek
You need to provide ALL details of your setup.
How to use Websend on 2 servers?
@waterflames Any chance for an implementation of potion IDs, Enchanted books, repair frequency etc to be shown in the inventory data? I would be happy to donate again for that...
@Puttemull
Websend sends the unchanged value provided by Bukkit as specified here: http://jd.bukkit.org/rb/doxygen/da/dac/classorg_1_1bukkit_1_1Location.html#a0701f587d69595a293ede37378dcab5f
I have encountered a possible bug.
The playerYaw POST variable seems to be 180 degrees off. In other words, if I save the coordinates and then teleport to them I will be facing in the opposite direction. Could also be a bug with Essentials' /tppos, perhaps you could look further into this?
@Waterflames
Re: "...deaf ears." I stand corrected. :)
"They do not what to..." Is a perfectly believable explanation, but "can't" just isn't. Sure it's a matter of priorities, but you must admit that docs are usually not even an afterthought, but completely non-existent. I'm not speaking purely of Websend, but of all Mods, Bukkit and especially Minecraft itself.
I'm not ungrateful for all you and other devs have done - I think you know that - I'm just lamenting a sad fact of life.
To be completely honest, I know Websend, Bukkit, and MC so well that I - and many others - could probably write up some pretty good manuals for them ourselves, and there's nothing stopping us. But like you and most other devs, it's just not a priority... apparently.
For one thing, using a forum/blog/comments for support is pretty inefficient. A ticket system is really what's needed, but now I'm mostly talking out my ass, because I'm not all that familiar with the bukkit.org systems.
@Ezriilc
Thats because most of the stuff is made by very small teams in their spare time. They do not want to/can't invest time in documentation.
I'll take a look if I can improve the docs a bit.
@MiroPlayer
Very bad idea, IMHO.
@Puttemull
Documentation is a major problem with nearly all Minecraft related stuff. It's easily the most frustrating thing about Minecraft for me. I fear your complaint is falling on deaf ears.
Had to scroll through 9 pages of comments to find out how WSEvents works, perhaps you could put a link to some basic information about that plugin on the frontpage? :)
Love this plugin, I don't know a thing about Java but I can still create commands and features thanks to Websend. :)
I'm building MineStore that requires Websend to work. It allows your server players to buy stuff with fake money. Useful to use with your friends as a small server. No everything has to be huge 24/7 Linux 5000+ slot servers with extreme 2GB/s internet. Get the files and start doing your own server with web-store. GitHub - MineStore
-
And still why not to use in a big server?
@slabby1936
Oh, that's the old ID-10-t GUI driver error. Sadly, no fix for that. :|
Hey whats this WSEvents download showing up as the download? Where can I get the actual plugin ?
@MiroPlayer
I'm not exactly sure what you're asking, but can't you do what you want with Websend as it is?
On my site, visits triggers a PHP -> Bukkit action, that then triggers a Bukkit -> PHP action automatically. The end result is basically what you describe if I'm not mistaken.
@MiroPlayer
By my experience, some plugins and sometimes even Bukkit itself don't like /reload. You will find that some things are not actually reloaded, and I've had things become unstable afterwords.
As for this particular issue with Websend, it may be fixable, but there's still many reasons to never use /reload, IMO.