示例#1
0
        public Keys(EverybodyEdits game)
        {
            this.game = game;

            this.AddKey("red", 6);
            this.AddKey("green", 7);
            this.AddKey("blue", 8);
            this.AddKey("cyan", 408);
            this.AddKey("magenta", 409);
            this.AddKey("yellow", 410);
        }
示例#2
0
 public ChatCommand(EverybodyEdits game)
 {
     this._game = game;
 }
示例#3
0
 public BanUserCommand(EverybodyEdits game)
     : base(game, CommandAccess.Moderator, "ban")
 {
     this.LimitArguments(1, "You must define an user to ban.");
 }
示例#4
0
 public PlayerInfoCommand(EverybodyEdits game) : base(game, CommandAccess.Admin, "playerinfo", "pinfo")
 {
 }
示例#5
0
 public KickCommand(EverybodyEdits game)
     : base(game)
 {
 }
示例#6
0
 public GetPosCommand(EverybodyEdits game)
     : base(game)
 {
 }
示例#7
0
 public UnMuteCommand(EverybodyEdits game)
     : base(game, CommandAccess.Public, "unmute")
 {
     this.LimitArguments(1, "Please specify a player to unmute.");
 }
示例#8
0
 public ListPortalsCommand(EverybodyEdits game)
     : base(game)
 {
 }
 public ResetProgressCommand(EverybodyEdits game) : base(game, CommandAccess.Public, "resetprogress", "resetp")
 {
 }
示例#10
0
 public TeleportCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "teleport", "tp")
 {
     this.LimitArguments(3, "Please specify a player to teleport, x and y target coordinates.");
 }
示例#11
0
 public ForceFlyCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "forcefly")
 {
     this.LimitArguments(2, "Please specify a player and whether to force fly mode or not (true/false).");
 }
示例#12
0
 public HelpCommand(EverybodyEdits game)
     : base(game, CommandAccess.Public, "help")
 {
     this.PopulateHelpTexts();
 }
示例#13
0
 public SetCrownCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "givecrown", "removecrown")
 {
 }
示例#14
0
 public KillCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "kill")
 {
     this.LimitArguments(1, "You must specify a player to kill.");
 }
示例#15
0
 public BanIpCommand(EverybodyEdits game) : base(game, CommandAccess.Moderator, "banip", "ipban")
 {
     this.LimitArguments(2, "You must specify a username and duration.");
 }
 public ResetGlobalSwitchesCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "resetswitches")
 {
 }
示例#17
0
 public MuteKickCommand(EverybodyEdits game) : base(game, CommandAccess.Admin, "mkick")
 {
     this.LimitArguments(1, "You must specify a player to mute-kick.");
 }
示例#18
0
 public TempBanCommand(EverybodyEdits game)
     : base(game, CommandAccess.Moderator, "tempban", "tmpban")
 {
     this.LimitArguments(1, "Please specify a player to ban.");
 }
示例#19
0
 public HideLobbyCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "hidelobby")
 {
     this.LimitArguments(1, "Please specify whether the world should be hidden in lobby or not. (true/false)");
 }
示例#20
0
 public HelpCommand(EverybodyEdits game)
     : base(game)
 {
     this.populateHelpTexts();
 }
示例#21
0
 public KillEmAllCommand(EverybodyEdits game)
     : base(game)
 {
 }
示例#22
0
 public ReportCommand(EverybodyEdits game)
     : base(game, CommandAccess.Public, "report", "reportabuse", "rep")
 {
 }
示例#23
0
 public Magic(EverybodyEdits game)
 {
     this.game = game;
     this.game.PlayerIO.BigDB.LoadOrCreate("Config", "magic",
                                           magicSettings => { this.enabled = magicSettings.GetBool("enabled", true); });
 }
示例#24
0
 public ClearCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "clear")
 {
 }
示例#25
0
 public EffectCommand(EverybodyEdits game) : base(game, CommandAccess.CrewMember, "removeeffect", "giveeffect", "reffect", "geffect")
 {
     this.LimitArguments(2, "You must specify a player and an effect");
 }
示例#26
0
 public SetTeamCommand(EverybodyEdits game)
     : base(game, CommandAccess.CrewMember, "setteam")
 {
     this.LimitArguments(2, "Please specify a username and a team name: \"None\", \"Red\", \"Blue\", \"Green\", \"Cyan\", \"Magenta\", \"Yellow\" or identifier.");
     this.PopulateTeamNames();
 }
示例#27
0
 public BanUserCommand(EverybodyEdits game)
     : base(game)
 {
 }
示例#28
0
 public ReportCommand(EverybodyEdits game)
     : base(game)
 {
 }
示例#29
0
 public MuteCommand(EverybodyEdits game)
     : base(game)
 {
 }
示例#30
0
 public RespawnPlayerCommand(EverybodyEdits game) :
     base(game, CommandAccess.CrewMember, "respawn")
 {
 }