DynamicMOTD 1.5b

Allows a dynamic MOTD and seperate player counts for forced hosts

  1. bloodsplat
    Description
    This plugin is pretty much used to control how a player sees your server on their server list. It can be used to show the player count for a single server on a BungeeCord network or even show that specific servers dynamic MOTD. This plugin is great for networks who run multiple mini game servers which update their motd to give players information through their server list such as "Game started" or "Game starting in 30s"
    Features
    • Allows you to display the actual player count of a forced host server
    • A dynamic MOTD changed by plugins such as Lib's Hungergames
    • Config to turn on and off these options.
    Installation
    1. Drop the DynamicMOTD.jar into your BungeeCord plugins folder
    2. If you want your forced host MOTD to be dynamic insert DynamicMOTDBukkit into the servers plugin folder that it points to.
    Example Setup
    Forced Host Setup
    • I have a BungeeCord server with 2 bukkit servers connected.
    • 1 called lobby and the other called hg1.
    • HG1 will have the plugin LibsHungergames running on it while the lobby will just directly link to that server and any others.
    Code (Text):
    listeners:
    - fallback_server: hg1
      max_players: 100
      host: 0.0.0.0:25565
      tab_size: 60
      force_default_server: false
      texture_size: 16
      tab_list: GLOBAL_PING
      motd: Lobby server
      default_server: lobby
      forced_hosts:
        hg1.minecraftdimensions.com: hg1
      bind_local_address: true
    servers:
      hg1:
        address: localhost:25571
        restricted: false
        motd: HungerGames
      lobby:
        address: localhost:25570
        restricted: false
        motd: '-Minecraft Server-'
    • This config will force anyone connecting to the BungeeCord server with hg1.minecraftdimensions.com to see the hg1 server with the MOTD of 'HungerGames'
    • hg1.minecraftdimensions.com only needs to point to <serverip>:25565 and BungeeCord will handle the rest
    True Player Count Setup
    • To get the true player count to display for that server your need to first make sure this plugin is installed in your BungeeCord plugins folder
    • Run the proxy to generate the config folder
    • By default all forced hosts will show their servers actuall player count.
    • To change the maximum players amount you will need to edit the listener in your BungeeCord config or create a new listener.
    Code (Text):
    listeners:
    - fallback_server: hg1
      max_players: 60
      host: 0.0.0.0:25565
      tab_size: 100
      force_default_server: false
      texture_size: 16
      tab_list: GLOBAL_PING
      motd: Lobby server
      default_server: lobby
      forced_hosts:
        hg1.minecraftdimensions.com: hg1
      bind_local_address: true
    - fallback_server: lobby
      max_players: 60
      host: 0.0.0.0:25566
      tab_size: 60
      force_default_server: true
      texture_size: 16
      tab_list: SERVER
      motd: Hunger Games Server
      default_server: hg1
      forced_hosts:
        hg1.minecraftdimensions.com: hg1
      bind_local_address: true
    servers:
      hg1:
        address: localhost:25571
        restricted: false
        motd: HungerGames
      lobby:
        address: localhost:25570
        restricted: false
        motd: '-Minecraft Server-'
     

    • This config example shows the use of two listeners one on port 25565 and the other on 25566.
    • If a player was to connect to bungeecord using the port 25566 they would see the maximum player count as 60
    • The tablist would also be a server only tablist rather than a global proxy wide tablist.
    Dynamic MOTD setup
    • To enable a Dynamic MOTD (one that is changed constently by a plugin) you need to install DynamicMOTDBukkit into your target servers plugins folder.
    • If you are running spigot you need to make sure that in spigot.yml your bungeecord hosts are listed.
    • If you are not using spigot the bungeecord host will default to 127.0.0.1 (Please ask bloodsplat for a solution if needed)
    • To view the dynamic MOTD you need to have it set up as a forced host on BungeeCord which is explained above.
    Resources
    Bukkit plugin for MOTD updating - DynamicMOTDBukkit

    Notes
    I unfortunately do not have a decent test environment for this plugin and as a result it may have some bugs or not work as intended. If you have set everything up as stated above and its not working please let me know.
    I recently changed the ping method to just create an event rather than the server pinging itself and this is the untested part.
    CWTK likes this.

Recent Updates

  1. Re upload
  2. DynamicMOTD 1.5 - BungeeFix

Recent Reviews

  1. herobrine_creeps
    herobrine_creeps
    2/5,
    Version: 1.5b
    Its not an easy as i thought i just wanted something simple good job on the plugin but its not the right one for me.