Spigot rhys19's website plugin Version 1.2

This display's Your Server's Website! with some simple coding!

  1. rhys19 submitted a new resource:

    rhys19's website plugin - This display's Your Server's Website! with some simple coding!

    Read more about this resource...
     
  2. Hey!
    This seems like it could be a cool idea, except it only puts out one website, and that is yours. You should make a config.yml the same place the plugin.yml is in the hierarchy and add this to it:
    Code (Text):
    Website:
        URL: '&chttps://spigotmc.org'
    then add this after in replace of sender.sendMessage("Exoticcraft.sytes.net/xenforo/"):
    Code (Text):
    sender.sendMessage(ChatColor.translateAlternateColorCodes('&', getConfig().getString("Website.URL")));
    That will use the config to get the URL, and allows you to color code it! :D
     
    • Informative Informative x 1
  3. oh i am new to coding lol :) i will try my best
     
  4. got it working with config.yml!
     
    #4 rhys19, May 1, 2017
    Last edited: May 3, 2017
    • Like Like x 1
    • Like Like x 1