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.
i am getting this error and i dont know how to fix it:
Warning: socket_connect(): unable to connect [110]: Connection timed out in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 48 Warning: socket_write(): unable to write to socket [32]: Broken pipe in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 53 Warning: socket_read(): unable to read from socket [107]: Transport endpoint is not connected in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 21 Warning: socket_write(): unable to write to socket [32]: Broken pipe in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 70 Warning: socket_write(): unable to write to socket [32]: Broken pipe in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 71 Warning: socket_read(): unable to read from socket [107]: Transport endpoint is not connected in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 21 Warning: socket_write(): unable to write to socket [32]: Broken pipe in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 92 Warning: socket_write(): unable to write to socket [32]: Broken pipe in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 93 Warning: socket_read(): unable to read from socket [107]: Transport endpoint is not connected in /var/customers/webs/ni4765_1/regeln/PHPSend.php on line 21 5
thanks for help
@kittyPL
Will do; how do i disable logging btw? I want to see the succesfull connections still, bjt not the spam.
Is there a way that I can retrieve the players economy to my website via PHPSend?
@bjornleijdstrom
Probably port is closed. Try to switch to another and make sure no other program is using it.
@kittyPL
This is what it spams, cant see any IP or anything else what so ever:
Started hosting. Accept interupted.
When comes out new version?
@kittyPL
Tried it, problem still there...
@bjornleijdstrom
Whitelist your IP, turn off logs in config. Somebody is DDoSing you :) myabe perm ban IP?
Hey, From out of nowhere PHPSend starts to "SPAM" the console with connections. The .log-file becomes 2-3Gb in like 10 minutes.
@spikefacha
Your php version isn't compiled with sockets enabled. Ask your host for correct version, or compile it yourself. :c
Im getting
Fatal error: Call to undefined function socket_create() in /home/airborne/www/dataserver/tcc/PHPSend.php on line 44
When i try to connect to the plugin with php code
Can you help me?
@pcatack
Receieve data from where? Sorry, Im (hell*damm*infinite)^(ultra*uber) busy... No time to turn on pc each day...
I was looking for 1 hour! And Author never say how to receive data... Send data works good, but I need receive data, please help all us
Can i get data from commands? Something like /online ?
Hi,
I have a problem, I would send commands for Rtoolkit, but all commands has got a dot "." (look here: http://drdanick.com/wiki/index.php?title=Legacy_Release_10_documentation ) and when I send them the response is "Unknow command. Type "help" for help.", but if I send rtoolkit's command manually from console them works.
What can I do?
Regards.
@pandy8
Crap... My fail, I havent checked one thing while exporting to jar... Download again and it should work :)
http://db.tt/2QI8GrfK
I took the J6 version but when i started the server a got this message: http://pastebin.com/sBzXsyxv
So I finally got JavaScript working and running. No small update, but scripting language will be implemented very soon :)
Any features you want to add? Tell me :)
http://db.tt/2QI8GrfK
HERE IS COMPILED FOR JAVA6
All next versions will be compiled with j6. Except a small update soon...
@Jqh
5 is unknown error... Have you changed the values? Mean the IP, password and whitelisting. Also, make sure that port on your machine is opened :)