mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-10-03 02:21:53 -04:00
Add /limit realms (Thanks CounterTerrorist)
This commit is contained in:
parent
bcfbd1624d
commit
88a98e30a1
@ -71,6 +71,9 @@ namespace MCGalaxy.Commands.Maintenance {
|
|||||||
case "genlimit":
|
case "genlimit":
|
||||||
Chat.MessageAll(grp.ColoredName + "%S's map gen volume limit set to &b" + limit);
|
Chat.MessageAll(grp.ColoredName + "%S's map gen volume limit set to &b" + limit);
|
||||||
grp.GenVolume = limit; break;
|
grp.GenVolume = limit; break;
|
||||||
|
case "realms":
|
||||||
|
Chat.MessageAll(grp.ColoredName + "%S's max realms set to &b" + limit);
|
||||||
|
grp.OverseerMaps = limit; break;
|
||||||
default:
|
default:
|
||||||
Help(p); return;
|
Help(p); return;
|
||||||
}
|
}
|
||||||
@ -103,9 +106,9 @@ namespace MCGalaxy.Commands.Maintenance {
|
|||||||
public override void Help(Player p) {
|
public override void Help(Player p) {
|
||||||
p.Message("%T/Limit [type] [amount] <rank>");
|
p.Message("%T/Limit [type] [amount] <rank>");
|
||||||
p.Message("%HSets the limit for [type]");
|
p.Message("%HSets the limit for [type]");
|
||||||
p.Message("%HValid types: %Sreloadthreshold(rt), restartphysics(rp), " +
|
p.Message("%HValid types: %Sreloadthreshold, restartphysics(rp), " +
|
||||||
"rpnormal, physicsundo(pu), drawlimit(dl), maxundo(mu), genlimit(gen)");
|
"rpnormal, physicsundo(pu), drawlimit(dl), maxundo(mu), genlimit(gen), realms");
|
||||||
p.Message("%H<rank> is required for drawlimit, maxundo, gen types.");
|
p.Message("%H<rank> is required for drawlimit, maxundo, gen, realms types.");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user