Beispiel #1
0
        public override void Use(Player p, string message)
        {
            string[] args = message.Split(' ');
            if (args.Length < 1 || args.Length > 2)
            {
                Help(p); return;
            }

            CmdPermissions.Use(
                p, args, false, "perbuildmax", l => l.perbuildmax,
                (l, v) => l.perbuildmax = v);
        }
Beispiel #2
0
        public override void Use(Player p, string message)
        {
            string[] args = message.Split(' ');
            if (args.Length < 1 || args.Length > 2)
            {
                Help(p); return;
            }

            CmdPermissions.Use(
                p, args, true, "pervisit", l => l.permissionvisit,
                (l, v) => l.permissionvisit = v);
        }