1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Program to reboot the server

Discussion in 'Help and Support' started by St11l, Dec 29, 2013.

  1. St11l

    St11l Level 4

    Joined:
    Oct 13, 2013
    Messages:
    54
    I can not understand that is responsible for this
     
  2. Kjkillercom

    Kjkillercom Level 8

    Joined:
    Oct 18, 2013
    Messages:
    247
    Check out the Wiki for info regarding the settings. The config.json file is in the Tshock folder.
     
  3. St11l

    St11l Level 4

    Joined:
    Oct 13, 2013
    Messages:
    54
    I understand what you mean

    which line is responsible for this?

    Code:
    "SuperAdminChatPrefix": "(Admin) ",
      "SuperAdminChatSuffix": "",
      "BackupInterval": 0,
      "BackupKeepFor": 60,
      "RememberLeavePos": false,
      "HardcoreOnly": false,
      "MediumcoreOnly": false,
      "KickOnMediumcoreDeath": false,
      "BanOnMediumcoreDeath": false,
      "AutoSave": true,
      "AnnounceSave": true,
      "MaximumLoginAttempts": 3,
      "RconPassword": "",
      "RconPort": 7777,
      "ServerName": "",
      "UseServerName": false,
      "MasterServer": "127.0.0.1",
      "StorageType": "sqlite",
      "MySqlHost": "localhost:3306",
      "MySqlDbName": "",
      "MySqlUsername": "",
      "MySqlPassword": "",
      "MediumcoreBanReason": "Death results in a ban",
      "MediumcoreKickReason": "Death results in a kick",
      "EnableDNSHostResolution": false,
      "EnableIPBans": true,
      "EnableUUIDBans": true,
      "EnableBanOnUsernames": false,
      "DefaultRegistrationGroupName": "default",
      "DefaultGuestGroupName": "guest",
      "DisableSpewLogs": true,
      "HashAlgorithm": "sha512",
      "BufferPackets": true,
      "ServerFullReason": "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": true,
      "DisableDungeonGuardian": false,
      "ServerSideCharacter": false,
      "ServerSideCharacterSave": 5,
      "LogonDiscardThreshold": 250,
      "DisableClownBombs": false,
      "DisableSnowBalls": false,
      "ChatFormat": "{1}{2}{3}: {4}",
      "ChatAboveHeadsFormat": "{2}",
      "ForceTime": "normal",
      "TileKillThreshold": 60,
      "TilePlaceThreshold": 20,
      "TileLiquidThreshold": 15,
      "ProjectileThreshold": 50,
      "ProjIgnoreShrapnel": true,
      "RequireLogin": false,
      "DisableInvisPvP": false,
      "MaxRangeForDisabled": 10,
      "ServerPassword": "",
      "RegionProtectChests": false,
      "DisableLoginBeforeJoin": false,
      "DisableUUIDLogin": false,
      "KickEmptyUUID": false,
      "AllowRegisterAnyUsername": false,
      "AllowLoginAnyUsername": true,
      "MaxDamage": 1024,
      "MaxProjDamage": 1024,
      "IgnoreProjUpdate": false,
      "IgnoreProjKill": false,
      "IgnoreNoClip": false,
      "AllowIce": false,
      "AllowCrimsonCreep": true,
      "AllowCorruptionCreep": true,
      "AllowHallowCreep": true,
      "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": 20,
      "LogRest": false,
      "RespawnSeconds": 3,
      "TilePaintThreshold": 15,
      "EnableMaxBytesInBuffer": false,
      "MaxBytesInBuffer": 5242880,
      "ForceHalloween": false,
      "AllowCutTilesAndBreakables": false
     
  4. Kjkillercom

    Kjkillercom Level 8

    Joined:
    Oct 18, 2013
    Messages:
    247
    The wiki has all the answers. The wiki will explain what each of those options do in the settings file. As I said above, check out the wiki.
     
    • Like Like x 1
  5. St11l

    St11l Level 4

    Joined:
    Oct 13, 2013
    Messages:
    54
    I very sloooow
    Thx :)
     
  6. St11l

    St11l Level 4

    Joined:
    Oct 13, 2013
    Messages:
    54
    I have not found a line which is responsible for the time save world ):
     
  7. Kjkillercom

    Kjkillercom Level 8

    Joined:
    Oct 18, 2013
    Messages:
    247
    Code:
    "BackupInterval": 0,
    You set this in minutes. This will tell Tshock to backup the map. So, if you want Tshock to backup the map every 10 minutes you would set that to
    Code:
    "BackupInterval": 10,
     
  8. Kjkillercom

    Kjkillercom Level 8

    Joined:
    Oct 18, 2013
    Messages:
    247
    Tshock will place the backup in the "backups" folder inside the "Tshock" folder.
    Remember to use /reload ever time you change anything in the config file while the server is running so it reloads the new settings.
     
  9. St11l

    St11l Level 4

    Joined:
    Oct 13, 2013
    Messages:
    54
    I am very grateful to you for all the time you spent on me)
     
  10. Kjkillercom

    Kjkillercom Level 8

    Joined:
    Oct 18, 2013
    Messages:
    247
    You're welcome. :D
     
    • Like Like x 1
  11. Simon311

    Simon311 TShock Contributor; Moderator
    TShock Contributor Plugin Developer

    Joined:
    Feb 23, 2013
    Messages:
    337
    You know why we have Russian forum? I'm ready to help you there, no need to use Google Translate or your own poor English :)
     
  12. St11l

    St11l Level 4

    Joined:
    Oct 13, 2013
    Messages:
    54
    Там отвечают по пол года ):
    С наступающим)