- Admins
- AppSettings
- Blacklist
- ChatRecord
- CityLocation
- Goods
- HomeLocation
- Inventories
- ItemBlocks
- ItemIcons
- LandClaims
- Localization
- Locations
- Map
- Permissions
- Players
- PointsInfo
- Server
- TeleRecord
- Whitelist
- Settings
- AutoBackup
- CommandList
- ItemList
- VipGift
- PlayerSkills
- UiIcons
- Auth
- ColoredChat
- Prefab
更新配置
PUT
/api/Settings/GlobalSettings
Settings
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Body 参数application/json
Global settings.
isEnabled
boolean
可选
globalServerName
string
可选
whisperServerName
string
可选
chatCommandPrefix
string
可选
chatCommandSeparator
string
可选
handleChatMessageError
string
可选
teleZombieCheck
boolean
可选
teleDisableTip
string
可选
killZombieTrigger
可选
One of
isEnabled
boolean
可选
executeCommands
array[string]
可选
deathTrigger
可选
One of
isEnabled
boolean
可选
executeCommands
array[string]
可选
autoRestart
可选
One of
isEnabled
boolean
可选
restartHour
integer <int32>
可选
restartMinute
integer <int32>
可选
messages
array[string]
可选
blockFamilySharingAccount
boolean
可选
removeSleepingBagFromPOI
boolean
可选
isEnablePlayerInitialSpawnPoint
boolean
可选
playerInitialPosition
string
可选
enableAutoZombieCleanup
boolean
可选
autoZombieCleanupThreshold
integer <int32>
可选
enableXmlsSecondaryOverwrite
boolean
可选
示例
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'http://7dtdserver.local:8888/api/Settings/GlobalSettings' \
--header 'Content-Type: application/json' \
--data-raw ''
返回响应
🟢200成功
application/json
Body
object {0}
示例
{}
修改于 2024-12-09 01:52:42