From 639b24005fce4498b671aa0713fafab11f244bde Mon Sep 17 00:00:00 2001 From: ragge Date: Sat, 30 Sep 2023 12:58:08 +0200 Subject: [PATCH] docs --- README.md | 5 ----- VERSION.md | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cac632c..0c24f76 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,6 @@ View the config file for details. ## Commands -Radiation is managed using the `radiation` command. - - `radiation start` - `radiation stop` - `radiation enable` @@ -20,13 +18,10 @@ Radiation is managed using the `radiation` command. ## Permissions -Each command has its own permission. - - `radiation.start` - `radiation.stop` - `radiation.enable` - `radiation.disable` -- `radiation.status` ## Details diff --git a/VERSION.md b/VERSION.md index b862643..c45cbb4 100644 --- a/VERSION.md +++ b/VERSION.md @@ -1,5 +1,43 @@ # History +## 1.1.1 + +Revision. + +Summary: + +- Fixed an issue where radiation would start on the next round before warhead detonation. + +- New command `radiation version` + +Added: + +- Command `Commands.VersionCommand` + +- Enum `Enums.RadiationStatus` + +- Method `RadiationAPI.Status()` + +Changed: + +- Coroutine tags now use constants rather than unique strings. + +- In events that stop radiation, `StopDelay()` now gets called as well as +`StopRadiation()`. Previously only `StopRadiation()` would be called. `StopRadiation()` +does call `StopDelay()` in its body but it is called after the check is done +that determines whether or not radiation has started. The result would be that +the radiation delay coroutine does not get killed when restarting the round if +radiation had not been started, meaning that radiation would "leak through" to +the next round. + +- Tuples are now used as return values instead of booleans. This mainly improves +how command feedback is handled. + +Removed: + +- Permissions `radiation.status` and `radiation.version`, these can now be used +by anyone with access to the Remote Admin console. + ## 1.1.0 Minor release.