mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-22 20:16:36 -04:00
Core: Add /realm as alias for /overseer.
This commit is contained in:
parent
163a4c7208
commit
1f2b31bc6d
@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
Copyright 2011 MCForge
|
Copyright 2011 MCForge
|
||||||
|
|
||||||
Dual-licensed under the Educational Community License, Version 2.0 and
|
Dual-licensed under the Educational Community License, Version 2.0 and
|
||||||
the GNU General Public License, Version 3 (the "Licenses"); you may
|
the GNU General Public License, Version 3 (the "Licenses"); you may
|
||||||
not use this file except in compliance with the Licenses. You may
|
not use this file except in compliance with the Licenses. You may
|
||||||
obtain a copy of the Licenses at
|
obtain a copy of the Licenses at
|
||||||
@ -28,6 +28,9 @@ namespace MCGalaxy.Commands {
|
|||||||
public override string type { get { return CommandTypes.Moderation; } }
|
public override string type { get { return CommandTypes.Moderation; } }
|
||||||
public override bool museumUsable { get { return true; } }
|
public override bool museumUsable { get { return true; } }
|
||||||
public override LevelPermission defaultRank { get { return LevelPermission.Builder; } }
|
public override LevelPermission defaultRank { get { return LevelPermission.Builder; } }
|
||||||
|
public override CommandAlias[] Aliases {
|
||||||
|
get { return new[] { new CommandAlias("realm"), new CommandAlias("myrealm") }; }
|
||||||
|
}
|
||||||
public CmdOverseer() { }
|
public CmdOverseer() { }
|
||||||
|
|
||||||
public override void Use(Player p, string message) {
|
public override void Use(Player p, string message) {
|
||||||
|
@ -16,10 +16,8 @@
|
|||||||
permissions and limitations under the Licenses.
|
permissions and limitations under the Licenses.
|
||||||
*/
|
*/
|
||||||
using System.IO;
|
using System.IO;
|
||||||
namespace MCGalaxy.Commands
|
namespace MCGalaxy.Commands {
|
||||||
{
|
public sealed class CmdHide : Command {
|
||||||
public sealed class CmdHide : Command
|
|
||||||
{
|
|
||||||
public override string name { get { return "hide"; } }
|
public override string name { get { return "hide"; } }
|
||||||
public override string shortcut { get { return ""; } }
|
public override string shortcut { get { return ""; } }
|
||||||
public override string type { get { return CommandTypes.Moderation; } }
|
public override string type { get { return CommandTypes.Moderation; } }
|
||||||
@ -30,7 +28,7 @@ namespace MCGalaxy.Commands
|
|||||||
}
|
}
|
||||||
public override CommandAlias[] Aliases {
|
public override CommandAlias[] Aliases {
|
||||||
get { return new[] { new CommandAlias("xhide", "silent") }; }
|
get { return new[] { new CommandAlias("xhide", "silent") }; }
|
||||||
}
|
}
|
||||||
public CmdHide() { }
|
public CmdHide() { }
|
||||||
|
|
||||||
public override void Use(Player p, string message) {
|
public override void Use(Player p, string message) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user