RemoteHOOK 1.1

View other servers' information (players online, TPS, etc) without BungeeCord

  1. Miles
    RemoteHOOK
    view another server's data (with RemoteView)

    [​IMG]
    Note: The MyServer // RemoteView message is configurable. Any information item can be omitted in the config. Multiple servers can be set up.

    What it does
    RemoteHOOK allows you to view the information of other servers via in-game commands. RemoteHOOK can hook into any server running RemoteView-- the servers do not need to be behind the same BungeeCord proxy. In fact, BungeeCord is not even required!

    How it works
    RemoteView (other plugin) has an optional API that allows other programs to connect to it and retrieve data. RemoteHOOK is built around the RemoteView api. When you set up RemoteHOOK, you enter the location of the RemoteView web interface for the other servers. RemoteHOOK then retrieves the data and allows you to view it in-game from another server.

    Why this is useful
    Say you have a BungeeCord network (note: RemoteHOOK does not rely on BungeeCord). You could purchase RemoteView and install it on all of your servers, and you would then have a web interface for all those servers. Then, you could install RemoteHOOK on all (or one) of your servers, and set it up so that RemoteHOOK has the URLs of all the other web interfaces. In the RemoteHOOK config, you could assign any command to feed out customizable information about any of the configured servers. For example, you could set up /survival to give server information about your Survival server. The servers do not need to be running on the same BungeeCord instance, nor do they need to be on the same machine. All that is required is that one is running RemoteHOOK and the other is running RemoteView.

    Configuration
    Code (Text):

    servers:
        - server1
        - server2
        - server3
    server1:
        location: localhost:8765
        command: /example
        permission: remotehook.server1
        # Should the following items be shown?
        items:
            - ramallocated
            - ramused
            - uptime
            - playercount
            - maxplayers
            - tps
            - players
            - serverversion
            - time
            - pluginversion  
    server2:
        location: ip.ip.ip.ip:8765
        command: /viewserver server2
        permission: remotehook.server2
        items:
            - ramallocated
            - ramused
            - uptime
            - playercount
            - maxplayers
            - tps
            - players
            - serverversion
            - time
            - pluginversion  
    server3:
        location: ip.ip.ip.ip:8765
        command: /viewserver3specialcommand
        permission: remotehook.server3
        items:
            - ramallocated
            - ramused
            - uptime
            - playercount
            - maxplayers
            - tps
            - players
            - serverversion
            - time
            - pluginversion  

     


    Commands and Permissions
    This is configurable in the config.

    Images

    1. Screen Shot 2015-07-25 at 4.48.21 PM.png