Websend

Project icon

Websend

Source code is 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.

Donations

Paypal link

Table of contents Installation and configuration instructions

The syntax that is used in the php is explained here.

The 2 types of communication in websend are explained here.

You must login to post a comment. Don't have an account? Register to get one!

  • Avatar of Ezriilc Ezriilc Jun 18, 2013 at 18:39 UTC - 0 likes

    @slabby1936: Go

    Oh, that's the old ID-10-t GUI driver error. Sadly, no fix for that. :|

  • Avatar of slabby1936 slabby1936 Jun 18, 2013 at 18:00 UTC - 0 likes

    Hey whats this WSEvents download showing up as the download? Where can I get the actual plugin ?

  • Avatar of Ezriilc Ezriilc Jun 15, 2013 at 16:28 UTC - 0 likes

    @MiroPlayer: Go

    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.

  • Avatar of Ezriilc Ezriilc Jun 15, 2013 at 16:12 UTC - 0 likes

    @MiroPlayer: Go

    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.

  • Avatar of MiroPlayer MiroPlayer Jun 15, 2013 at 16:04 UTC - 0 likes

    When /reload it crashes It's caused by the plugin itself. Plugin opens a port and you reload its error is that the port is already in use. Pastebin

  • Avatar of DJTomek DJTomek Jun 13, 2013 at 10:26 UTC - 0 likes

    @MiroPlayer: Go

    It's feature which I mean in my comment here.

    MC-Miners.eu - CZ/SK Minecraft server

    We translating plugins on our server to Czech language, so if you want them, type PM and I can tell you, if I have a localization or not.

  • Avatar of MiroPlayer MiroPlayer Jun 12, 2013 at 22:38 UTC - 0 likes

    It would be awesome if there is a third way for talking. php -> bukkit -> php? Reason I need that is because I'm using Essentials and there is money so users can see their money with /balance command. Then just preg_spiltting it in the php. But currently the php just sends a command, runs it, but shows it at the console, so now php doesn't get the result. Other way that I have to use now is just open username.yml files with php. :(

    It would be great.

  • Avatar of DJTomek DJTomek Jun 12, 2013 at 11:54 UTC - 0 likes

    Exist some manual how to use these functions?
    $ws->startPluginOutputListening('nameofplugin');
    $ws->stopPluginOutputListening('nameofplugin');

    If I use it, it throw this error on webpage (4x after startPlugin... and 4x after stopPlugin...)

    Warning: unpack() [function.unpack]: Type C: not enough input, need 1, have 0 in /way/to/web/folder/websend/websend_main.php on line 95
    


    and this error in console (many times in one second)

    13:48:24 [SEVERE]       at java.util.logging.Logger.doLog(Unknown Source)
    13:48:24 [SEVERE]       at java.util.logging.Logger.log(Unknown Source)
    13:48:24 [SEVERE]       at java.util.logging.Logger.info(Unknown Source)
    13:48:24 [SEVERE]       at com.github.websend.WebsendPluginLoggerHandler.publish(PluginOutputManager.java:112)
    13:48:24 [SEVERE]       at java.util.logging.Logger.log(Unknown Source)
    13:48:24 [SEVERE]       at org.bukkit.plugin.PluginLogger.log(PluginLogger.java:31)
    


    Page here isn't enough I think..

    Edit: sending commands to server works.

    Edit2: after I use startPlugin or stopPlugin doesn't work commands to server too I have to restart a server.

    Last edited Jun 12, 2013 by DJTomek
  • Avatar of apengstrom apengstrom Jun 10, 2013 at 12:29 UTC - 0 likes

    Hi, can you guys tell me if this will be included in the next build? Thanks.

    "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."

  • Avatar of Waterflames Waterflames Jun 07, 2013 at 14:41 UTC - 0 likes

    @saxons12: Go

    Executing a command should return a boolean already. I'm not putting the current build out as recommended yet, but here is a download: https://dl.dropboxusercontent.com/u/35774053/Websend.jar

Facts

Date created
Aug 25, 2011
Categories
Last update
May 29, 2013
Development stage
Release
Language
  • enUS
License
Websend License 1.0
Curse link
Websend
Downloads
18,520
Recent files

Authors