serverwatcher 1.2__tar.gz → 1.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serverwatcher
3
- Version: 1.2
3
+ Version: 1.3
4
4
  Summary: A HungerLib-powered Minecraft server automation engine.
5
5
  Author: iFamished
6
6
  License: MIT
@@ -7,7 +7,7 @@ build-backend = "setuptools.build_meta"
7
7
 
8
8
  [project]
9
9
  name = "serverwatcher"
10
- version = "1.2"
10
+ version = "1.3"
11
11
  description = "A HungerLib-powered Minecraft server automation engine."
12
12
  readme = "README.md"
13
13
  requires-python = ">=3.10"
@@ -39,6 +39,7 @@ class ServerWatcher:
39
39
 
40
40
  if alive:
41
41
  self.log.info("Server is back online!")
42
+ self.server.sendBroadcast(f'{prefix}<green>This server was successfully restarted!')
42
43
  self.origin.enableSchedule(self.cfg.origin_disable_schedule_id)
43
44
  else:
44
45
  self.log.error("Server failed to restart!")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: serverwatcher
3
- Version: 1.2
3
+ Version: 1.3
4
4
  Summary: A HungerLib-powered Minecraft server automation engine.
5
5
  Author: iFamished
6
6
  License: MIT
File without changes
File without changes
File without changes