Admins can get a list of the StationEvents (#1670)
* -GetStationEventsMsg -Fixed random in events help * Don't send on connect * Delete StationEvents on disconnect * Resolve IClientNetManager when needed * :smilethink: * Remove setter * Removed unused imports * Don't resolve twice * Add Event
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#nullable enable
|
||||
#nullable enable
|
||||
using Content.Server.GameObjects.EntitySystems;
|
||||
using Content.Server.GameObjects.EntitySystems.StationEvents;
|
||||
using JetBrains.Annotations;
|
||||
@@ -14,11 +14,10 @@ namespace Content.Client.Commands
|
||||
{
|
||||
public string Command => "events";
|
||||
public string Description => "Provides admin control to station events";
|
||||
public string Help => "events <list/pause/resume/random/stop/run <eventname>>\n" +
|
||||
public string Help => "events <list/pause/resume/stop/run <eventname/random>>\n" +
|
||||
"list: return all event names that can be run\n " +
|
||||
"pause: stop all random events from running\n" +
|
||||
"resume: allow random events to run again\n" +
|
||||
"random: choose a random event that is valid and run it\n" +
|
||||
"run: start a particular event now; <eventname> is case-insensitive and not localized";
|
||||
public void Execute(IConsoleShell shell, IPlayerSession? player, string[] args)
|
||||
{
|
||||
@@ -99,4 +98,4 @@ namespace Content.Client.Commands
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user