PHPsend
PHPsend
Execute console commands using PHP scripts on website!
This plugin provides simple API and lightweight plugin to allow you command your server from your webpage!
To all updating people. You will have to update your scripts plugins, the main thing is that now functions are prefixed with PHPS instead of PHP (for example old PHPconnect is now PHPSconnect).
PHPsend is now PHPSend**
NEW VERSION
- Logging level (No more console spam!), new logging system
- Hash algorithm is now SHA1
- Player associated commands
- New command: phpsend reload to let you reload config and whitelist without server restart
- IP Whitelist for both php script and plugin
- Post argument style
- Protocol names are now with PHPS instead of PHP (like PHPconnect is now PHPSconnect)
- New plugin hook: onWebCommandAsPlayer
- Cleaned up code
- Minor bugs fixed, more exceptions handled.
- Add few API functions to make your life even simplier.
Pages are updated now. Just wait for approval.
Features:
- Execute commands from web
- Using SHA1 password to authenticate
- Simple API with few fuctions!
- Configurable port (default: 11223)
- EXTREME small
- Support for /reload!!!
Plugin API Tutorial - Making simple online player website
Dev Builds
Development builds of this project can be acquired at the provided continuous integration server. These builds have not been approved by the BukkitDev staff. Use them at your own risk.
-
View User Profile
-
Send Message
Posted Jul 28, 2014Someone please take over this ):
-
View User Profile
-
Send Message
Posted Feb 16, 2014with the new spigot-1.7.2-R0.4-SNAPSHOT.jar
phpsend doesn't work properly then
-
View User Profile
-
Send Message
Posted Feb 16, 2014would be better if php sendcached the response after the webserver made a connection, then waited for the disconnect from the webserver, and finally did something with the response.
Becuase right now if you have webserver that has a long distance from the phpsend gameserver, then there is a delay between each message coming from the webserver, and instead of everything coming out instantly ingame, it drip feeds in while other players messages get inbetween the webserver response.
yknow what I mean... so need to get someone else who can continue the development on this great plugin.
-
View User Profile
-
Send Message
Posted Feb 14, 2014I used this plugin a fair while ago, it was somewhat useful. Too bad it isn't updated to 1.7.2 and it doesn't support a console log.
-
View User Profile
-
Send Message
Posted Feb 10, 2014Must find a way to stop PHPsend from doing this spammed server log to 5gb in less than a minute with these errors.. its stupid
from apache error logs...
-
View User Profile
-
Send Message
Posted Jan 30, 2014Hi, I'm having some difficulty getting this set up and working. Can anyone provide some support?
-
View User Profile
-
Send Message
Posted Jan 13, 2014@XeonG8
That "threading thing" makes it so that your server doesn't lag whenever it connects.
-
View User Profile
-
Send Message
Posted Jan 10, 2014really does need someone who can update the plugin
while it seems to work that threading thing might be the cause of some of my server crashes
-
View User Profile
-
Send Message
Posted Dec 7, 2013I love this plugin! It works perfect.
I have noticed one message that mentiones a file that is not found, but I don't understand which one.
_=_=_=_ PHPSend: Message _=_=_=_
[PHPSend] Config loaded.
_=_=_ End PHPSend Message _=_=_
_=_=_ PHPSend: Something Broke! _=_=_
[PHPSend] WHITELIST ENABLED IN CONFIG BUT NO FILE FOUND!
_=_=_ End PHPSend Message _=_=_
[PHPsend] (INF) Started hosting.
_=_=_=_ PHPSend: Message _=_=_=_
[PHPSend] PHPsend started main thread.
_=_=_ End PHPSend Message _=_=_
-
View User Profile
-
Send Message
Posted Nov 28, 2013@stgram
Eeh. I mostly maintain this, though it looks like it needs a rewrite.
-
View User Profile
-
Send Message
Posted Nov 26, 2013@Kaosvf
@PaulBGD
The multi thread page is flawed. The server is set to allow a max of 8 connections, the multithreader php file sends 20. That sends the server into a shitload of spam with the said error. Please take a look both at the way your server handles overload and the php file.
I also had problems with the whitelist. On whitelist on, with the ip set, it starts spamming like mentioned. With whitelist off, it still says "1 ip loaded" but works great.
-
View User Profile
-
Send Message
Posted Nov 17, 2013@ghostyboy5
Well.. kinda. You could make a little plugin which returns the online players, then make a script with PHP to show them.
-
View User Profile
-
Send Message
Posted Nov 12, 2013So for example, could I use this plugin to run the command /list And have the results show up on a php page?
-
View User Profile
-
Send Message
Posted Nov 2, 2013@Epicballzy
This should work. It uses nearly none of bukkit's features, meaning that it doesn't need many updates.
-
View User Profile
-
Send Message
Posted Oct 29, 2013Can you update this for the latest version? :)
-
View User Profile
-
Send Message
Posted Sep 26, 2013@Kaosvf
Hm, I could look into it.
-
View User Profile
-
Send Message
Posted Sep 24, 2013Hi,
what can cause a massive spam like this? http://puu.sh/4z0WI.png
The spam start with:
2013-09-24 13:04:46 [INFO] [PHPsend] (INF) Client connected!
2013-09-24 13:04:46 [INFO] [PHPsend] (ERR) Bad password! Cleaning up...
2013-09-24 13:04:46 [INFO] [PHPsend] (INF) Started hosting.
2013-09-24 13:04:46 [INFO] [PHPsend] (INF) Accept Interrupted.
And finish with a crash of the server for OutOfMemory.
It says "bad password" but isn't true, the plugin is used about 50 times a day and crash about every two days randomly.
Regards.
-
View User Profile
-
Send Message
Posted Sep 20, 2013@GuigU1000
That is sooo specific..
-
View User Profile
-
Send Message
Posted Sep 20, 2013It say : unknow fonction socket() I can't use the API
-
View User Profile
-
Send Message
Posted Sep 14, 2013@bjornleijdstrom
Well can it connect to the site in the config? Sometimes that will be the cause.