Commit Graph

6 Commits

Author SHA1 Message Date
Robin C. Ladiges 3ac1c1bc26
add commands: `ban enable` and `ban disable`
To set the value of `BanList.Enabled` to `true` or `false` without editing the `settings.json` file.
2023-03-24 00:58:25 +01:00
Robin C. Ladiges 52c270a210
add command: `unban profile <profile-id>`
To remove a banned profile ID from the ban list.
2023-03-24 00:58:24 +01:00
Robin C. Ladiges 2cd7abf0bd
add command: `unban ip <ipv4-address>`
To remove a banned IPv4 address from the ban list.
2023-03-24 00:58:22 +01:00
Robin C. Ladiges 2f2c1fd4f7
add command: `ban profile <profile-id>`
To add a profile ID to the ban list.
2023-03-24 00:58:20 +01:00
Robin C. Ladiges 5dcb85eb68
add command: `ban ip <ipv4-address>`
To add an IPv4 address to the ban list.
2023-03-24 00:58:17 +01:00
Robin C. Ladiges e13840d543
rename command: `ban ...` => `ban player ...`
To enable adding other subcommands starting with `ban`.

Moving ban list and crash related code into its own class to tidy the Program class up.

Change Id values of the crash cmds, to fit into the 16 byte max length imposed by ChangeStagePacket.IdSize.
2023-03-24 00:54:55 +01:00