Added: Obtaining MOTD from server.properties.Fixed problem with communication of plugin and PHP file.Added configurable connection timeout (in seconds).Added ignore list (players on this list will be ignored from counting and listing).Added new GETs for bukkit version and for plugin version.Fixed sending of "Offline" and "Online" status.Fixed StringIndexOutOfBoundsException - was thrown when noone was on the server and it tried to substring empty string.(and no kidding, now is the error really fixed! :)).Added option to set connection-timeout to -1 for default timeout or set it to any time in milliseconds.Added option to set refresh-rate to -1 for disabling periodic call or set it to any time in seconds.serverstatus.ignore - Player with this permission will be ignored from counting and listing players.serverstatus.reload - Allows you to use /serverstatus command, which reloads the config.Don't forget to set correct information (server-ip, server-port, server-name, max-players) in server's file server.properties!.bkversion - Contains version number of used Bukkit version.plversion - Contains version number of this plugin.log - Reason why was the URL called (It can be "Starting up Minecraft server", "Stopping Minecraft server", "Player (name) has joined the game", "Player (name) has left the game").maxnum - Maximum number of players, loaded from server-properties file.port - Port of server behind the IP adress, loaded from server-properties file.ip - IP adress of the server, loaded from server-properties file.motd - Server's message of the day from server-properties file.name - Name of the server, loaded from server-properties file.status - Status of the server, can be Online or Offline.You can choose, if you want to have banner.png or some TXT file with server status.PHP programmer, you would be able to rewrite the code to whatever you want (e.g. You have to set the security key and if you are good. PHP file is only easy script to read data from GET headers and to write it into. File code and download link: click here.It means that the plugin will send newest information every x seconds. Finally you can set refresh-rate to some number of seconds.Players in ignore list will be ignored from counting and listing players (plugin won't send them to. It means how long time give you to plugin to connect to. Key will be sent by plugin in GET header, and the. Security key can be any expession you want, you will need to set it only in this config.yml file and then in.In configuration file config.yml you can set useSecurityKey (true or false), your security key and full path (adress) to the.Then you have set data in config and restart the server. On the first start of server with this plugin the plugin creates folder ServerStatus and the configuration file.UseSecurityKey : false securityKey : '12345' callUrl : ' ' connection - timeout : - 1 ignore - list : 'player1,player2,player3' refresh - rate : - 1
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |