File tree Expand file tree Collapse file tree 3 files changed +14
-0
lines changed
lc-hax/Scripts/Commands/Privileged Expand file tree Collapse file tree 3 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ These commands are only available when the user is host.
170
170
| Spawn enem(ies) on player | ` /spawn <enemy> <player> <amount=1> ` |
171
171
| Give or take credit(s) | ` /credit <amount> ` |
172
172
| Eject all players | ` /eject ` |
173
+ | Revive all players | ` /revive ` |
174
+ | Toggle God mode for all | ` /gods ` |
173
175
174
176
## Special Commands
175
177
Original file line number Diff line number Diff line change
1
+ using Hax ;
2
+
3
+ [ PrivilegedCommand ( "gods" ) ]
4
+ class GodsCommand : ICommand {
5
+ public void Execute ( StringArray args ) => Helper . StartOfRound ? . Debug_ToggleAllowDeathServerRpc ( ) ;
6
+ }
Original file line number Diff line number Diff line change
1
+ using Hax ;
2
+
3
+ [ PrivilegedCommand ( "revive" ) ]
4
+ class ReviveCommand : ICommand {
5
+ public void Execute ( StringArray args ) => Helper . StartOfRound ? . Debug_ReviveAllPlayersServerRpc ( ) ;
6
+ }
You can’t perform that action at this time.
0 commit comments