[Help] MOTD Change in Command

Discussion in 'Spigot Plugin Development' started by Tauchet, May 16, 2015.

  1. Hello, as i can do that change MOTD of server for one command??
     
  2. I don't quite understand the question. Do you want to change the server ping MOTD, or the MOTD that shows when a player logs in?
     
  3. change the server ping MOTD in game to command!
     
    • Like Like x 1
    • Agree Agree x 1
  4. but I want to do in the game when a player does not update your server list
     
  5. So when a player hits "refresh" the message that shows- you want to set this?
     
  6. The method I explained should do that.
     
  7. I don't quite know what he wants.
     
  8. We do not understand what you are talking about so please restate what you need help with.

    Best Regards,
    TechDanMedia! :)
     
    • Winner Winner x 1
  9. I am feeling nice today! Please rate my post well!

    Show MOTD:
    Code (Text):
    @EventHandler
        public void onServerPing(ServerListPingEvent e) {
            e.setMotd(ChatColor.DARK_RED + getConfig().getString("MOTD"));
        }
     
    • Informative Informative x 1
    • Friendly Friendly x 1
  10. but I want is the status of a sand from another server by BungeeCord
     
    • Optimistic Optimistic x 1
    • Useful Useful x 1
  11. Next time you should tell people what you are looking for rather than just giving half questions.
     
    • Agree Agree x 1