Shuffle around command perms for trial admin (#5606)
This commit is contained in:
@@ -13,7 +13,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Server.Administration.Commands
|
namespace Content.Server.Administration.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Fun)]
|
[AdminCommand(AdminFlags.Round | AdminFlags.Spawn)]
|
||||||
public sealed class LoadGameMapCommand : IConsoleCommand
|
public sealed class LoadGameMapCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "loadgamemap";
|
public string Command => "loadgamemap";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.Administration.Commands
|
namespace Content.Server.Administration.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class ReadyAll : IConsoleCommand
|
public class ReadyAll : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "readyall";
|
public string Command => "readyall";
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ using Robust.Shared.Localization;
|
|||||||
|
|
||||||
namespace Content.Server.Administration.Commands
|
namespace Content.Server.Administration.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class CallShuttleCommand : IConsoleCommand
|
public class CallShuttleCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "callshuttle";
|
public string Command => "callshuttle";
|
||||||
@@ -36,7 +36,7 @@ namespace Content.Server.Administration.Commands
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class RecallShuttleCommand : IConsoleCommand
|
public class RecallShuttleCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "recallshuttle";
|
public string Command => "recallshuttle";
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Server.Administration.Commands.Station;
|
namespace Content.Server.Administration.Commands.Station;
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Spawn)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class AdjustStationJobCommand : IConsoleCommand
|
public class AdjustStationJobCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "adjstationjob";
|
public string Command => "adjstationjob";
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class DelayStartCommand : IConsoleCommand
|
class DelayStartCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "delaystart";
|
public string Command => "delaystart";
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class EndRoundCommand : IConsoleCommand
|
class EndRoundCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "endround";
|
public string Command => "endround";
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using Robust.Shared.Localization;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class ForceMapCommand : IConsoleCommand
|
class ForceMapCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "forcemap";
|
public string Command => "forcemap";
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class ForcePresetCommand : IConsoleCommand
|
class ForcePresetCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "forcepreset";
|
public string Command => "forcepreset";
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class GoLobbyCommand : IConsoleCommand
|
public class GoLobbyCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "golobby";
|
public string Command => "golobby";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class RestartRoundCommand : IConsoleCommand
|
public class RestartRoundCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "restartround";
|
public string Command => "restartround";
|
||||||
@@ -29,7 +29,7 @@ namespace Content.Server.GameTicking.Commands
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public class RestartRoundNowCommand : IConsoleCommand
|
public class RestartRoundNowCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "restartroundnow";
|
public string Command => "restartroundnow";
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class SetGamePresetCommand : IConsoleCommand
|
class SetGamePresetCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "setgamepreset";
|
public string Command => "setgamepreset";
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class StartRoundCommand : IConsoleCommand
|
class StartRoundCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "startround";
|
public string Command => "startround";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
|
|||||||
|
|
||||||
namespace Content.Server.GameTicking.Commands
|
namespace Content.Server.GameTicking.Commands
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
class ToggleDisallowLateJoinCommand : IConsoleCommand
|
class ToggleDisallowLateJoinCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "toggledisallowlatejoin";
|
public string Command => "toggledisallowlatejoin";
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace Content.Server.StationEvents
|
namespace Content.Server.StationEvents
|
||||||
{
|
{
|
||||||
[AdminCommand(AdminFlags.Server)]
|
[AdminCommand(AdminFlags.Round)]
|
||||||
public sealed class StationEventCommand : IConsoleCommand
|
public sealed class StationEventCommand : IConsoleCommand
|
||||||
{
|
{
|
||||||
public string Command => "events";
|
public string Command => "events";
|
||||||
|
|||||||
@@ -65,6 +65,16 @@ namespace Content.Shared.Administration
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
Logs = 1 << 9,
|
Logs = 1 << 9,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Lets you modify the round (forcemap, loadgamemap, etc)
|
||||||
|
/// </summary>
|
||||||
|
Round = 1 << 10,
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Lets you use BQL queries.
|
||||||
|
/// </summary>
|
||||||
|
Query = 1 << 11,
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Dangerous host permissions like scsi.
|
/// Dangerous host permissions like scsi.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
|||||||
@@ -50,7 +50,6 @@
|
|||||||
- tp
|
- tp
|
||||||
- tpto
|
- tpto
|
||||||
- respawn
|
- respawn
|
||||||
- forall
|
|
||||||
|
|
||||||
- Flags: SERVER
|
- Flags: SERVER
|
||||||
Commands:
|
Commands:
|
||||||
@@ -72,3 +71,7 @@
|
|||||||
- saveconfig
|
- saveconfig
|
||||||
- testlog
|
- testlog
|
||||||
- sudo
|
- sudo
|
||||||
|
|
||||||
|
- Flags: QUERY
|
||||||
|
Commands:
|
||||||
|
- forall
|
||||||
|
|||||||
Reference in New Issue
Block a user