《泰拉瑞ia》冰霜巨人攻略:出现条件、刷新概率、掉落物品及套装对比
2025-06-20 13:42:04
大家好,今天我将为大家深入解析泰拉瑞亚服务器背后的配置文件——config.json
。这个文件位于Tshock文件夹下,通过修改它,我们可以实现丰富服务器人性化功能,为玩家提供更加舒适的体验。
了解config.json
的位置和修改方法至关重要。该文件位于Tshock文件夹内,可以使用记事本等文本编辑器打开进行编辑。下面是config.json
文件的一些关键配置项:
- 入侵规模:通过设置InvasionMultiplier
可以调整入侵怪物的数量。
- 怪物刷新:DefaultMaximumSpawns
和DefaultSpawnRate
分别控制怪物刷新的最大数值和刷新时间间隔。
- 服务器端口:ServerPort
用于指定服务器端口,默认为7777。
- 白名单:EnableWhitelist
允许开启或关闭白名单,控制玩家进入服务器。
- PVP模式:PvPMode
设置PVP模式,包括正常PVP、强制PVP和强制PVE。
- 出生点保护:SpawnProtection
和SpawnProtectionRadius
用于设置出生点的保护范围。
我们将详细探讨一些重要的配置项:
- GameMaster发言设置:SuperAdminChatRGB
、SuperAdminChatPrefix
和SuperAdminChatSuffix
允许自定义GameMaster的发言颜色、前缀和后缀。
- 地图备份:BackupInterval
和BackupKeepFor
控制地图备份的时间间隔和保留时间。
- 玩家体验:MaximumLoginAttempts
限制登录尝试次数,RconPassword
和RconPort
用于远程控制服务器。
- 服务器名称和IP:ServerName
和MasterServer
设置服务器名称和连接地址。
还有许多其他配置项,如禁用建筑、禁用困难模式、禁止怪物入侵等。以下是一些具体的配置示例:
``json
{
"InvasionMultiplier": 1,
"DefaultMaximumSpawns": 5,
"DefaultSpawnRate": 600,
"ServerPort": 7777,
"EnableWhitelist": false,
"PvPMode": "normal",
"SpawnProtection": true,
"MaxSlots": 6,
"SuperAdminChatRGB": [255.0, 0.0, 0.0],
"BackupInterval": 0,
"BackupKeepFor": 60,
"AutoSave": true,
"AnnounceSave": true,
"ServerName": "Terraria Small Team",
"MasterServer": "127.0.0.1",
"StorageType": "sqlite",
"MySqlHost": "localhost:3306",
"MySqlDbName": "",
"MySqlUsername": "",
"MySqlPassword": "",
"EnableDNSHostResolution": false,
"EnableIPBans": true,
"EnableUUIDBans": true,
"EnableBanOnUsernames": false,
"DefaultRegistrationGroupName": "default",
"DefaultGuestGroupName": "guest",
"DisableSpewLogs": true,
"HashAlgorithm": "sha512",
"BufferPackets": true,
"ServerFullReason": "Sorry,you cant into the server,because the Server is full",
"WhitelistKickReason": "You are not on the whitelist.",
"ServerFullNoReservedReason": "Server is full. No reserved slots open.",
"SaveWorldOnCrash": true,
"EnableGeoIP": false,
"EnableTokenEndpointAuthentication": false,
"RestApiEnabled": false,
"RestApiPort": 7878,
"DisableTombstones": true,
"DisplayIPToAdmins": false,
"KickProxyUsers": true,
"DisableHardmode": false,
"DisableDungeonGuardian": false,
"ServerSideCharacter": false,
"ServerSideCharacterSave": 5,
"LogonDiscardThreshold": 250,
"DisableClownBombs": false,
"ChatFormat": "{1}{2}{3}:{4}",
"ChatAboveHeadsFormat": "{2}",
"ForceTime": "normal",
"TileKillThreshold": 60,
"TilePlaceThreshold": 20,
"TileLiquidThreshold": 2,
"ProjectileThreshold": 50,
"ProjIgnoreShrapnel": true,
"RequireLogin": false,
"DisableInvisPvP": false,
"MaxRangeForDisabled": 10,
"ServerPassword": "",
"RegionProtectChests": true,
"DisableLoginBeforeJoin": false,
"DisableUUIDLogin": false,
"KickEmptyUUID": false,
"AllowRegisterAnyUsername": false,
"AllowLoginAnyUsername": true,
"MaxDamage": 175,
"MaxProjDamage": 175,
"IgnoreProjUpdate": false,
"IgnoreProjKill": false,
"IgnoreNoClip": false,
"AllowIce": true,
"AllowCrimsonCreep": false,
"AllowCorruptionCreep": false,
"AllowHallowCreep": false,
"StatueSpawn200": 3,
"StatueSpawn600": 6,
"StatueSpawnWorld": 10,
"PreventBannedItemSpawn": false,
"PreventDeadModification": true,
"EnableChatAboveHeads": false,
"ForceXmas": false,
"AllowAllowedGroupsToSpawnBannedItems": false,
"IgnoreChestStacksOnLoad": false,
"LogPath": "tshock",
"PreventInvalidPlaceStyle": true,
"BroadcastRGB": [127.0, 255.0, 212.0],
"RestUseNewPermissionModel": true,
"ApplicationRestTokens": {},
"ReservedSlots": 3,
"LogRest": false,
"RespawnSeconds": 3,
"TilePaintThreshold": 15,
"EnableMaxBytesInBuffer": false,
"MaxBytesInBuffer": 5242880,
"ForceHalloween": false,
"AllowCutTilesAndBreakables": false,
"CommandSpecifier": "/"
}
```
关于泰拉瑞亚地图全开命令,需要使用魔法咒语“呢嘛呢嘛咒”。念咒后,守护神兽会打开地图,让玩家探索整个世界。
希望本文对大家了解泰拉瑞亚服务器配置有所帮助!