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.
@Kevinliteon
same for me but the major.minor means you don't have java7, which was used to compile the plugin...
I think it would be useful and greatful if you could recompile on in java6 :)
Hi all,
My server could not load the plugin ? :(
Could not load 'plugins/PHPsend.jar' in folder 'plugins' org.bukkit.plugin.InvalidPluginException: java.lang.UnsupportedClassVersionError: org/shadowz/phpsend/MainPhpSend : Unsupported major.minor version 51.0 [...]
Bukkit : 1.4.7 R1
Hi kittyPL, i have a problem with your plugin, i install it on my server, all is ok. But when i use it in my website (i use MultithreadTest.php for test), i have this error : "connected 0. - result: 5 [........] connected 19. - result: 5" I don't find the error 5, can you help me please ?
@pandy8
Errm... Have you tried official version? Im not sure if it isn't compiled for java6...
@Snowybearr
Probably bug in output... I don't even have time to test it myslef -_- It should work, anyway...
there is no more phpsend.jar java6 in the zip? The admin of my server do not want to move to java7... could you help me please?
@kittyPL
Just tried it with a completely fresh vanilla version of Bukkit, no mods or plugins, same issue, every time it starts it says whitelist is enabled, even though it isn't.
@Snowybearr
Can someone confirm it works on 1.4.7?
@kittyPL
Nope, doesn't work, even completely fresh install. Could be because I use MCPC+ but I doubt it, I haven't had any other plugins not work because of that. Or I could be doing it wrong, I dunno.
@Snowybearr
Hm, you have this message, but everything works fine? Well, maybe it's a bug in printing...
11.02 07:02:53 [Server] INFO [PHPsend] (INF) Started hosting. 11.02 07:02:53 [Server] INFO [PHPsend] (INF) PHPsend started main thread. 11.02 07:02:53 [Server] INFO [PHPsend] (ERR) WHITELIST ENABLED IN CONFIG BUT NO FILE FOUND! 11.02 07:02:53 [Server] INFO [PHPsend] Enabling PHPsend v1.1
I have whitelist set to false, yet that comes up everytime I start the server up, so I can pretty much say this plugin doesn't work with 1.4.7 R1.0 for anyone wondering.
how about just add the small stuff instead of this big stuff that is taking ages.
still needing a way to send text messages
/website text="this is text with spaces... really could do with this feature already by now"
@huntershenep
Mine plugin can do server -> php too, also, I implemented miniplugins, so you can make custom commands, that use php api
@XeonG8
When I implement scripting language (I think javascript will be the one), there is going to be a big update, later I gonna set up server with miniplugins database (In the scripting language), a bit like bukkit dev. Well, that's much to do, and I'm don't have enough time.
any update?
@kittyPL WebSend allows PHP -> Server and Server -> PHP
@bearbear12345
Lighter, simplier, faster. Both plugins work a bit different, also mine is open-source (I don't know if Websend is)
What is the difference between this and websend?
@KittyPL I am not, I am a coder too. But I ain't that good with java, I am a php beast..
don't want you to rush for me.
@Jur13n
Sorry, I try to be online at least once a day, but that's not always possible... Hope you don't think Im here 24/7 coding and answering messages...
Maybe you should check your pm's:
I wrote: Hey KittyPL,
I coded a full website to work with your plugin. but it only works from localhost > server, while the password is different, and whitelist enabled on web and disabled on server.
what the hell is this lol... but okay, localhost works, but when I upload it to the webserver, it won't connect anymore..
How can I fix this?
Kind Regards, Jur13n Freestyle Craft http://fcraft.me
@onni82
Okay, so, basically for connection server->website use /website command. If you really can't manage it by yourself, PM me, and I will try to help you. Also some Java knowedgle would be good, if you want to let SOME people send data to website