mirror of
https://github.com/ClassiCube/MCGalaxy.git
synced 2025-09-24 05:03:34 -04:00
Clarify how to delete portals and MBs automatically,
Tell ops what level a user was kicked from for block spamming
This commit is contained in:
parent
7cd8387ef4
commit
94f6f538e7
@ -92,6 +92,9 @@ namespace MCGalaxy.Commands.Building {
|
|||||||
p.level.UpdateBlock(p, x, y, z, args.Block);
|
p.level.UpdateBlock(p, x, y, z, args.Block);
|
||||||
UpdateDatabase(p, args, x, y, z);
|
UpdateDatabase(p, args, x, y, z);
|
||||||
p.Message("Message block created.");
|
p.Message("Message block created.");
|
||||||
|
if (!p.staticCommands) {
|
||||||
|
p.Message("To delete message blocks, toggle &T/delete &Smode.");
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
p.Message("Failed to create a message block.");
|
p.Message("Failed to create a message block.");
|
||||||
}
|
}
|
||||||
|
@ -124,6 +124,7 @@ namespace MCGalaxy.Commands.Building {
|
|||||||
|
|
||||||
p.Message("&3Exit &Sblock placed");
|
p.Message("&3Exit &Sblock placed");
|
||||||
if (!p.staticCommands) return;
|
if (!p.staticCommands) return;
|
||||||
|
p.Message("To delete a portals, toggle &T/delete &Smode.");
|
||||||
args.Entries.Clear();
|
args.Entries.Clear();
|
||||||
p.blockchangeObject = args;
|
p.blockchangeObject = args;
|
||||||
p.Blockchange += EntryChange;
|
p.Blockchange += EntryChange;
|
||||||
|
@ -45,7 +45,7 @@ namespace MCGalaxy {
|
|||||||
return false;
|
return false;
|
||||||
|
|
||||||
TimeSpan oldestDelta = DateTime.UtcNow - blockLog[0];
|
TimeSpan oldestDelta = DateTime.UtcNow - blockLog[0];
|
||||||
Chat.MessageFromOps(p, "λNICK &Wwas kicked for suspected griefing.");
|
Chat.MessageFromOps(p, "λNICK &Wwas kicked from " + p.level.name + " for suspected griefing.");
|
||||||
|
|
||||||
Logger.Log(LogType.SuspiciousActivity,
|
Logger.Log(LogType.SuspiciousActivity,
|
||||||
"{0} was kicked for block spam ({1} blocks in {2} seconds)",
|
"{0} was kicked for block spam ({1} blocks in {2} seconds)",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user