EndlessOnline | 1.7.9+ 2.5

Save server online to SQL

  1. OsipXD
    Tested Minecraft Versions:
    • 1.7
    • 1.8
    • 1.9
    • 1.10
    • 1.11
    Source Code:
    https://github.com/OsipXD/EndlessOnline
    Contributors:
    OsipXD
    Other forums: RuBukkit | Bukkit Dev

    A small plugin for web developers, with which you can save server online and list of players to the database.

    Example of stored data:
    [​IMG]
    server - server id (or name)
    online - current online (-1 if server is off)
    capacity - server capacity
    players - list of players on server (format: [Player1, Player2, ...., PlayerN])
    max_online - online record
    last_update - date of last online update

    Features
    • Light and reliable: if you want to make sure - look at the source code
    • The information in the database is always current
    • The plugin does not overload the server: request to the database occurs only when player joins or quits
    • The plugin does not slow down the server: request to the database executes in a separate thread
    • You can connect to DB via SSH tunnel
    Installation
    1. Put .jar file into folder plugins
    2. Start server
    3. Configure database connection in config.yml
    4. Restart server
    Code (YAML):
    # Plugin state
    enabled
    : true

    # Server field in table
    server-name
    : server

    # SQL Connection
    sql
    :
      host
    : localhost
      port
    : 3306
      user
    : root
      pass
    : pass
      db
    : minecraft
      table
    : endless_online

    # Settings for SSH Tunelling
    tunnel
    :
      enabled
    : false
      host
    : ssh.domain.com
      port
    :
        ssh
    : 22
        local
    : 3309
      user
    : root
      pass
    : pass

    # Shown message
    message
    : "&lOnline now: &2%d/%d"

    # Plugin version
    version
    : 2.5

    Commands
    Instead of eonline you can use eon
    /eonline
    - Shows server online (the value recorded in the database)
    /eonline refresh - Force update server online
    /eonline reload - Reload plugin
    /eonline (about/info) - Plugin version

    Permissions
    eonline.* - Access to all commands
    eonline.refresh - Access to refresh
    eonline.reload - Access to reload reload

Recent Reviews

  1. zzvenuszz
    zzvenuszz
    5/5,
    Version: 2.5
    Nice plugin! I need it for Webshop develope! with this i can hide player from motd and still get players list.
  2. Bolean
    Bolean
    5/5,
    Version: 2.0
    Please make a tutorial please it would be awesome and nice that you will make a tutorial for us and thanks
    1. OsipXD
      Author's Response
      Plugin configuration is easy, but if you need I'll add tutorial later