Hi, Can you make this please ? A system to do a command on webpage with php and it is communicated to the server. This can be quite easy : With php we write the command in the MySQL database and the server scan every x second the datas (like for other datas) so that when there is a command, the server can run the command then delete the row ! And we don't need any weird configuration with ports etc... Do you understand what I meen ? Thanks !
To175 So input commands in the php page and run them on the server? You can also do that with JSONAPI
Thanks , I can't open ports, that's why I am asking for an easy plugin which can be fast to use and efficient
Thanks, I don't understand... I have configured JSONAPI but it didn't work at all with a simple call. My server host said that my server host had to open the ports and they don't want ! So I can't have the same ports open on server and website... JSONAPI need ports, I don't understand your msg sorry.
To175 From experience: put the port on 25565 ( or your other minecraft port ) last time I used it it worked fine
Thanks for your help, I will be more clear I CAN'T OPEN ANY PORTS THAT IS WHY I ASK FOR THIS PLUGIN So, a such plugin does not existe but it could be verry usefull for webmaster like me... And I think this is not soo hard to develop that's why I asked for. So I am waiting for a nice developper to do it
1. Yes, used it myself that way. 2. Don't know, error log? 3. If this all is not working then I can make this
Thanks, There is only this on my page : "salt" there is nothing because it has been removed by the autors. 10252 is the port to connect my server 88.xx.xx.xx:10252 BUT I have also used 40088 which is the only other port open in my server. Var_dump returns NULL ! LOGs : I see an other IP here... what it is ? Finally, I used the standart php file :
To175 That was the one. Try this one: Code: # API methods on the method-whitelist will be # able to called without any sort of authentication method-whitelist: - getPlayerLimit - dynmap.getPort options: stream_pusher: max_queue_age: 30 max_queue_length: 500 startup-delay: 2000 port: 10252 ip-whitelist: [] log-to-console: true log-to-file: 'false' anyone-can-use-calladmin: false use-new-api: true
It all depends on what you are using it for. https://www.dropbox.com/s/kpbz72uvs67ochy/WebCommand.jar Config contains default database stuff, table variable ( you can define it yourself ), time variable, in seconds. Table is self creating, contains 2 columns. First one is the ID, used to identify the command ( for removal ) second one is the command, without the / When not working: post the full startup log till the moment that you stop the server ( or after the complete error ) ID column is auto_increment btw, so don't need to insert on that one
Thanks !!! I have some issues right after putting the .jar in my folder ! And I was thinking about new features : • somethings to run this command on the server : /wcSend xxx Like that a row is inserted => || ID : "n" | command : "wcsend xxx" | player : "to175" || • somethings to timeout the command : I do /wcsend 60 pex user to175 group set defaut. Like that the command is ran 1 (real) minute later ! · And on my website => server I can insert "wcReceive 60 pex user to175 group set defaut", it will does the same things. Row : || ID : "n" | command : "wcReceive pex user to175 group set defaut" | player : "to175" | timeout : "60"|| Thanks ! EDIT by Moderator: merged posts, please use the edit button instead of double posting.
To175 1. Fixed the error: https://www.dropbox.com/s/kpbz72uvs67ochy/WebCommand.jar 2. This plugin isn't designed to perform insert statements or to delay certain commands
To175 Could you please upload the entire log to http://pastebin.com ? And please use the tahg button if you reply to me