/website or /web - New Website/Forums Command

/website or /web - New Website/Forums Command

Postby AFK_Games » 30 Aug 2014, 22:38

Hey, my new Command I created so people can visit your server website/forums!
NOTE: Change 'Enter website URL here' to your website URL eg http://mcdzienny.cba.pl

Website Example.png
Website Example.png (28.6 KiB) Viewed 662 times


IF ANY PROBLEMS PLEASE SAY BELOW :D

Hope you enjoy:

Code: Select all
using System;
using System.IO;
using System.Threading;

namespace MCDzienny
{
   public class CmdWebsite : Command
   {
      public override string name { get { return "website"; } }
      public override string shortcut { get { return "web"; } }
      public override string type { get { return "other"; } }
      public override bool museumUsable { get { return false; } }
      public override LevelPermission defaultRank { get { return LevelPermission.Guest; } }
      public override void Use(Player p, string message)
     {
       Player.GlobalMessage("%3Server Website URL: %2" + "Enter website URL here");
                  }
      public override void Help(Player p)
      {
         Player.SendMessage(p, "/website or /web - Tells you the servers website/forums URL.");
      }
   }
}
AFK_Games
 
Posts: 21
Joined: 11 Apr 2014, 21:19

Re: /website or /web - New Website/Forums Command

Postby leicestercity » 20 Dec 2014, 20:03

I dont think you need
Code: Select all
using System.IO;
and
Code: Select all
using System.Threading;
for this command as they will have no uses.
LEICESTER TILL I DIE
leicestercity
 
Posts: 33
Joined: 08 Mar 2014, 16:36


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 3 guests

cron