WebApiStatus

Discussion in 'Plugin Requests' started by Summmmboidy, Jul 28, 2020.

Thread Status:
Not open for further replies.
  1. Offline

    Summmmboidy

    Plugin category: Website administration (?)

    Minecraft version: 1.8
    optional: if the plugin has a support to 1.8 to 1.16 should be great, because I would love to use this plugin on theses versions!

    (compatibility from 1.8 to 1.15 or 1.8 to 1.12 version should be great too!)

    (if the plugin have version comparibility (1.8 to 1.16), I will ask some people with huge servers to use the plugin, for some things on my projects, as you can leave your credits on the plugin)
    Suggested name: WebApiStatus

    Suggested config:
    port: 6003
    index: index.html

    What I want:

    A plugin that shows server status like motd, host, players...
    the motd part shows the config that I've set on "server-name=" or on any plugins
    like this one:
    https://www.spigotmc.org/resources/motd-1-8-1-15.8390/
    the host part... shows the ip number with port (xxx.xxx.xx.xx:xxxx)
    and the players part shows the numbers of the players with the maximum players (xx players online / xx maximum players that can connect)

    should be something like this
    {"motd":"Default Minecraft Server","host":"25.103.201.31","players":"71/9999"}

    like this example:
    https://dev.bukkit.org/projects/bukkithttpd

    Ideas for commands:
    /webserverapi reload (for reloading the config)

    Ideas for permissions:
    webserverapi .reload

    When I'd like it by:
    Anytime !
    please ? thanks !
     

    Attached Files:

    Last edited: Sep 14, 2020
  2. Offline

    timtower Administrator Administrator Moderator

    @Summmmboidy That plugin supports php...
    And you won't learn java from the source of this plugin at all.
     
  3. Offline

    Summmmboidy

    I've changed my mind some time, the plugin will only show the server status after all
    and I changed the post,

    also....
    why I can't learn some java a starting a bit on the source of the plugin ?
     
  4. Offline

    timtower Administrator Administrator Moderator

    @Summmmboidy Learning the language should be done my making things, not by reading.
    Certainly not from a specialized plugin like this.
     
  5. Offline

    gochi9

    @timtower sorry for tag tim but i can't really understand what he wants does he want a plugin that displays server stats on a website or?
     
  6. Offline

    timtower Administrator Administrator Moderator

    Some information to a socket connection that this plugin would be hosting in JSON format.
     
  7. Offline

    gochi9

    Ah yes now it is clear.Thanks
     
  8. Offline

    Xp10d3

    I'm not going to do this plugin, but just for curiosity would you be willing to change your website to PHP and then call data from a SQL database to display all the information? Because this plugin will require you to change stuff on your website depending how the developer accomplishes this, and I'm 90% sure that's what they will do. Here are the technicalities:
    • Plugin get's data (ex. motd, address, and players)
    • Plugin inserts all data into a database
    • PHP file (website) get's data from database
    • Website displays data
    • Plugin updates data
    • Repeat
    To all developers, that is probably how you should accomplish this plugin.
     
Thread Status:
Not open for further replies.

Share This Page