/reload - Reload yourself in the map (To apply hax or spawn)

/reload - Reload yourself in the map (To apply hax or spawn)

Postby Leeizazombie » 16 Dec 2013, 14:10

Just a simple command, save you typing the full name of the map or leaving and re-entering it!
Just simply use /reload
Kinda like /reveal, just less complex and isn't reserved for OP+
Code: Select all
using System;

namespace MCDzienny
{
   public class CmdReload : Command
   {
      public override string name { get { return "reload"; } }
      public override string shortcut { get { return ""; } }
      public override string type { get { return "other"; } }
      public override bool museumUsable { get { return false; } }
      public override LevelPermission defaultRank { get { return LevelPermission.Banned; } }
      public override void Use(Player p, string message)
      {
            Command.all.Find("goto").Use(p, p.level.name);
         Player.SendMessage(p, "You've Reloaded into the map!");
      }
      public override void Help(Player p)
      {
         Player.SendMessage(p, "/reload - Reload you into the current map.  Useful after changing the motd.");
      }
   }
}
Owner of:
LeeIzaZombie Freebuild and Lava Survival V2 (Shut Down and updated)
LeeIzaZombie Survival (Comming back soon)

Contact:
Skype: leeizazombie
IRC: irc.geekshed.net, #leeizazombie, #mcclassichosting
User avatar
Leeizazombie
 
Posts: 536
Joined: 10 Jun 2013, 17:45
Location: Ireland.

Re: /reload - Reload yourself in the map (To apply hax or sp

Postby HelloWorldCool » 17 Dec 2013, 03:43

i'd say this is good for freebuild maps...

because for lava and zombie you can just use:
/goto lava
/goto zombie


I'll add on to your suggestion I think using one of the below would be convenient:

public override string shortcut { get { return "re"; } }
public override string shortcut { get { return "rego"; } }
public override string shortcut { get { return "regoto"; } }
public override string shortcut { get { return "f5"; } }
public override string shortcut { get { return "f5map"; } }

Or come up with your own idea...I think these will make your command more effective and popular. :P

Good Luck,
HelloWorldCool
Download fCraft maps! - viewtopic.php?f=25&t=3012!



Note: The Developer(s) of MCDzienny have resigned and the software is no longer supported.
Errors are bound to occur and Mojang has not attempted to resolve them.
User avatar
HelloWorldCool
 
Posts: 867
Joined: 18 Oct 2011, 00:19
Location: MCDzienny Forums, HelloWorldCool Forums


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 5 guests

cron