Spigot ServerWebsite 5.6

Provide links for your website, shop, forum and/or voting site from your Minecraft Server

  1. Steve8Playz submitted a new resource:

    ServerWebsite - website

    Read more about this resource...
     
    • Like Like x 1
  2. I don't know. Here's a snippet of my code if you want to improve it.
    Snippet of Code from version 2.2
    Code (Text):
        if(!getConfig().getBoolean("custom-message")) {
            if(cmd.getName().equalsIgnoreCase("web")) {
                if(sender.hasPermission("ServerWebsite.web")) {
                player.sendMessage("Our Website: " + getConfig().getString("website"));
                if(getConfig().getBoolean("tell-console")) {
                    getLogger().info(((Player)sender).getDisplayName() + " Has asked for the Servers Website");
                }}}}
     
     
        if(getConfig().getBoolean("custom-message")) {
            if(cmd.getName().equalsIgnoreCase("web")) {
                if(sender.hasPermission("ServerWebsite.web")) {
                    player.sendMessage(getConfig().getString("message"));
                if(getConfig().getBoolean("tell-console")) {
                    getLogger().info(((Player)sender).getDisplayName() + " Has asked for the Servers Website");
                }}}}
     
    #8 Steve8Playz, Oct 6, 2015
    Last edited: Oct 6, 2015
  3. just chatting there is a link or open the link in a browser?
     
  4. might be able to do that in the future but at the moment you have to use permissions to disable a command
    and I fixed the repeat thing

    (by doing return true; not return false; )
     

    Attached Files:

  5. what are the permissions for the vote command then?
     
  6. Steve8Playz updated ServerWebsite with a new update entry:

    Bug Fixes for New Lines

    Read the rest of this update entry...
     
  7. [INFO]
    Add this,
    ./donate
    ./buy
    ./store
    ./help
    (Also as a nice perk maby add a firework? like every 5 second delay for the command a small particle effect like in Ezrankslite watch a video on it when somebody does ./rankup it does small particle effects).
    Keep it up!!
     
  8. I Might add /Store for a future update