@quenty/softshutdown 6.0.1-canary.444.4f02c27.0 → 7.0.0
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.
package/CHANGELOG.md
CHANGED
|
@@ -3,13 +3,9 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [7.0.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@6.0.0...@quenty/softshutdown@7.0.0) (2024-02-13)
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
### Bug Fixes
|
|
10
|
-
|
|
11
|
-
* Fix bootstrap of test environments and loader samples ([441e4a9](https://github.com/Quenty/NevermoreEngine/commit/441e4a90d19fcc203da2fdedc08e532c20d52f99))
|
|
12
|
-
* Fix loader issues ([4f02c27](https://github.com/Quenty/NevermoreEngine/commit/4f02c27e96314724c58778e8c113c0d362e16ae4))
|
|
8
|
+
**Note:** Version bump only for package @quenty/softshutdown
|
|
13
9
|
|
|
14
10
|
|
|
15
11
|
|
package/LICENSE.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2014-
|
|
3
|
+
Copyright (c) 2014-2023 James Onnen (Quenty)
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@quenty/softshutdown",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "7.0.0",
|
|
4
4
|
"description": "This service lets you shut down servers without losing a bunch of players. When game.OnClose is called, the script teleports everyone in the server into a reserved server.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"Roblox",
|
|
@@ -29,25 +29,25 @@
|
|
|
29
29
|
"access": "public"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@quenty/attributeutils": "
|
|
33
|
-
"@quenty/baseobject": "8.0.
|
|
34
|
-
"@quenty/basicpane": "
|
|
35
|
-
"@quenty/bindtocloseservice": "
|
|
36
|
-
"@quenty/blend": "
|
|
37
|
-
"@quenty/clienttranslator": "
|
|
38
|
-
"@quenty/coreguienabler": "
|
|
39
|
-
"@quenty/datastore": "
|
|
40
|
-
"@quenty/loader": "8.0.
|
|
41
|
-
"@quenty/maid": "3.0.0",
|
|
42
|
-
"@quenty/math": "2.5.0",
|
|
43
|
-
"@quenty/promise": "8.0.
|
|
44
|
-
"@quenty/rx": "
|
|
45
|
-
"@quenty/servicebag": "9.0.
|
|
46
|
-
"@quenty/table": "3.4.0",
|
|
47
|
-
"@quenty/teleportserviceutils": "
|
|
48
|
-
"@quenty/uiobjectutils": "4.0.
|
|
49
|
-
"@quenty/valuebaseutils": "
|
|
50
|
-
"@quenty/valueobject": "
|
|
32
|
+
"@quenty/attributeutils": "^12.0.0",
|
|
33
|
+
"@quenty/baseobject": "^8.0.0",
|
|
34
|
+
"@quenty/basicpane": "^11.0.0",
|
|
35
|
+
"@quenty/bindtocloseservice": "^6.0.0",
|
|
36
|
+
"@quenty/blend": "^10.0.0",
|
|
37
|
+
"@quenty/clienttranslator": "^12.0.0",
|
|
38
|
+
"@quenty/coreguienabler": "^10.0.0",
|
|
39
|
+
"@quenty/datastore": "^11.0.0",
|
|
40
|
+
"@quenty/loader": "^8.0.0",
|
|
41
|
+
"@quenty/maid": "^3.0.0",
|
|
42
|
+
"@quenty/math": "^2.5.0",
|
|
43
|
+
"@quenty/promise": "^8.0.0",
|
|
44
|
+
"@quenty/rx": "^11.0.0",
|
|
45
|
+
"@quenty/servicebag": "^9.0.0",
|
|
46
|
+
"@quenty/table": "^3.4.0",
|
|
47
|
+
"@quenty/teleportserviceutils": "^7.0.0",
|
|
48
|
+
"@quenty/uiobjectutils": "^4.0.0",
|
|
49
|
+
"@quenty/valuebaseutils": "^11.0.0",
|
|
50
|
+
"@quenty/valueobject": "^11.0.0"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "87df864b5b6a9a9cef7544f6e8054a12cdd120bd"
|
|
53
53
|
}
|
|
@@ -11,10 +11,13 @@ local ServiceBag = require("ServiceBag")
|
|
|
11
11
|
|
|
12
12
|
return function(target)
|
|
13
13
|
local maid = Maid.new()
|
|
14
|
-
local serviceBag =
|
|
14
|
+
local serviceBag = ServiceBag.new()
|
|
15
|
+
maid:GiveTask(serviceBag)
|
|
16
|
+
|
|
15
17
|
local translator = serviceBag:GetService(SoftShutdownTranslator)
|
|
16
18
|
|
|
17
|
-
local softShutdownUI =
|
|
19
|
+
local softShutdownUI = SoftShutdownUI.new()
|
|
20
|
+
maid:GiveTask(softShutdownUI)
|
|
18
21
|
|
|
19
22
|
maid:GiveTask(translator:ObserveFormatByKey("shutdown.lobby.title"):Subscribe(function(text)
|
|
20
23
|
softShutdownUI:SetTitle(text)
|
|
@@ -4,10 +4,12 @@
|
|
|
4
4
|
|
|
5
5
|
local ReplicatedFirst = game:GetService("ReplicatedFirst")
|
|
6
6
|
|
|
7
|
-
local
|
|
8
|
-
|
|
7
|
+
local packages = ReplicatedFirst:WaitForChild("_SoftShutdownClientPackages")
|
|
8
|
+
|
|
9
|
+
local SoftShutdownServiceClient = require(packages.SoftShutdownServiceClient)
|
|
10
|
+
local serviceBag = require(packages.ServiceBag).new()
|
|
11
|
+
|
|
12
|
+
serviceBag:GetService(SoftShutdownServiceClient)
|
|
9
13
|
|
|
10
|
-
local serviceBag = require("ServiceBag").new()
|
|
11
|
-
serviceBag:GetService(require("SoftShutdownServiceClient"))
|
|
12
14
|
serviceBag:Init()
|
|
13
15
|
serviceBag:Start()
|
|
@@ -42,8 +42,6 @@
|
|
|
42
42
|
|
|
43
43
|
local ReplicatedFirst = game:GetService("ReplicatedFirst")
|
|
44
44
|
|
|
45
|
-
error("TODO: Update this code before publishing again to support new loader")
|
|
46
|
-
|
|
47
45
|
local client, server, shared = require(script:FindFirstChild("LoaderUtils", true)).toWallyFormat(script.src, false)
|
|
48
46
|
|
|
49
47
|
server.Name = "_SoftShutdownServerPackages"
|