@quenty/softshutdown 10.12.0 → 10.13.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,6 +3,16 @@
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
+ # [10.13.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@10.12.1...@quenty/softshutdown@10.13.0) (2026-11-06)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **softshutdown:** reserve the shutdown server with ReservedServerId ([1af6b7f](https://github.com/Quenty/NevermoreEngine/commit/1af6b7fe14d64531cef9396d925eaddac8b97d8d))
11
+
12
+ ## [10.12.1](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@10.12.0...@quenty/softshutdown@10.12.1) (2026-10-24)
13
+
14
+ **Note:** Version bump only for package @quenty/softshutdown
15
+
6
16
  # [10.12.0](https://github.com/Quenty/NevermoreEngine/compare/@quenty/softshutdown@10.11.1...@quenty/softshutdown@10.12.0) (2026-10-24)
7
17
 
8
18
  **Note:** Version bump only for package @quenty/softshutdown
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quenty/softshutdown",
3
- "version": "10.12.0",
3
+ "version": "10.13.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",
@@ -37,7 +37,7 @@
37
37
  "@quenty/basicpane": "13.39.1",
38
38
  "@quenty/bindtocloseservice": "8.46.1",
39
39
  "@quenty/blend": "12.51.1",
40
- "@quenty/clienttranslator": "14.55.0",
40
+ "@quenty/clienttranslator": "14.55.1",
41
41
  "@quenty/coreguienabler": "12.47.1",
42
42
  "@quenty/datastore": "13.60.0",
43
43
  "@quenty/loader": "10.11.3",
@@ -52,5 +52,5 @@
52
52
  "@quenty/valuebaseutils": "13.38.1",
53
53
  "@quenty/valueobject": "13.39.1"
54
54
  },
55
- "gitHead": "eefcb7e24fe7642e06e4ceed920aceecdad97cd1"
55
+ "gitHead": "2d4d5cbd9339e7be7e36d30aa91f7146225cb500"
56
56
  }
@@ -18,6 +18,7 @@
18
18
  local require = require(script.Parent.loader).load(script)
19
19
 
20
20
  local DataStoreService = game:GetService("DataStoreService")
21
+ local HttpService = game:GetService("HttpService")
21
22
  local Players = game:GetService("Players")
22
23
  local RunService = game:GetService("RunService")
23
24
  local Workspace = game:GetService("Workspace")
@@ -93,8 +94,10 @@ function SoftShutdownService._promiseTeleportPlayersToLobby(self: SoftShutdownSe
93
94
 
94
95
  Workspace:SetAttribute(SoftShutdownConstants.IS_SOFT_SHUTDOWN_UPDATING_ATTRIBUTE, true)
95
96
 
97
+ local reservedServerId = HttpService:GenerateGUID(false)
98
+
96
99
  local initialTeleportOptions = Instance.new("TeleportOptions")
97
- initialTeleportOptions.ShouldReserveServer = true
100
+ initialTeleportOptions.ReservedServerId = reservedServerId
98
101
  initialTeleportOptions:SetTeleportData({
99
102
  isSoftShutdownReserveServer = true,
100
103
  })
@@ -117,8 +120,7 @@ function SoftShutdownService._promiseTeleportPlayersToLobby(self: SoftShutdownSe
117
120
 
118
121
  -- Construct new teleport options
119
122
  local newTeleportOptions = Instance.new("TeleportOptions")
120
- newTeleportOptions.ServerInstanceId = teleportResult.PrivateServerId
121
- newTeleportOptions.ReservedServerAccessCode = teleportResult.ReservedServerAccessCode
123
+ newTeleportOptions.ReservedServerId = reservedServerId
122
124
  newTeleportOptions:SetTeleportData({
123
125
  isSoftShutdownReserveServer = true,
124
126
  })