времени восстановления между телепортациями не работает для разных группSolved

Доброго времени суток, не могу разобрать эту задачу, стоит стандартное время для игроков на простой телепорт и на перезарядку, все работает хорошо, а вот с игроками, у которых уже есть приводы, не работает восстановление между тп, сработало стандартное время для всех, не могу понять, почему так организовано, время для перезарядки на этом телепорте в них стандартное, как бы для них нет разрешений, а вот кд на телепорт с коретентен, как прописано, буду признателен за помощь, спасибо.

 

Пример:
Обычный игрок, ожидание до 90 сек. / восстановление 900
работает коректно, все хорошо.

VIP Игрок, ожмдание ~60-30 сек. работает коректно, все хорошо / востановление ~600-300 сек не работает, заменяет на стандартное заданное время в 900 сек. 

вот код такой.

{
  "Settings": {
    "Delay Saving Data On Server Save": 10.0,
    "TPB": {
      "Block TPB To Specific Monuments": [],
      "VIP Countdowns": {
        "nteleportation.vip": 0,
        "nteleportation.premium": 0,
        "nteleportation.elite": 0
      },
      "Countdown": 0,
      "Available After X Seconds": 0
    },
    "Interrupt TP": {
      "Interrupt Teleport At Specific Monuments": [],
      "Above Water": false,
      "Under Water": false,
      "Balloon": true,
      "Boats": false,
      "Cargo Ship": true,
      "Cold": false,
      "Excavator": true,
      "Hot": false,
      "Hostile": false,
      "Hostile Includes Towns": true,
      "Hurt": false,
      "Junkpiles": true,
      "Lift": true,
      "Monument": true,
      "Ignore Monument Marker Prefab": false,
      "Mounted": false,
      "Oil Rig": true,
      "Safe Zone": false,
      "Swimming": true,
      "Fall": true
    },
    "Auto Wake Up After Teleport": false,
    "Seconds Until Teleporting Home Offline Players Within SafeZones": 0.0,
    "Seconds Until Teleporting Home Offline Players": 0.0,
    "Respawn Players At Outpost": false,
    "Block Teleport (NoEscape)": true,
    "Block Teleport (RaidBlock)": true,
    "Block Teleport (ZoneManager)": true,
    "Block Map Marker Teleport (AbandonedBases)": false,
    "Block Map Marker Teleport (RaidableBases)": false,
    "Automatically Destroy Map Teleport Markers": false,
    "Chat Name": "Телепорт \n\n",
    "Chat Steam64ID": 76561199056025689,
    "Check Boundaries On Teleport X Y Z": true,
    "Check Boundaries Min Height": -200.0,
    "Check Boundaries Max Height": 2000.0,
    "Check If Inside Rock": false,
    "Height To Prevent Teleporting To/From (0 = disabled)": 0.0,
    "Data File Directory (Blank = Default)": "",
    "Draw Sphere On Set Home": false,
    "Homes Enabled": true,
    "TPR Enabled": true,
    "Strict Foundation Check": false,
    "Minimum Temp": -50.0,
    "Maximum Temp": 50.0,
    "Blocked Items": {},
    "Blocked Town Prefabs": [],
    "Bypass CMD": "pay",
    "Use Economics": true,
    "Use Server Rewards": false,
    "Custom monument marker dimensions": {
      "Data Center 1": {
        "width": 0.0,
        "height": 0.0,
        "depth": 0.0,
        "radius": 0.0,
        "enabled": false
      },
      "Data Center 2": {
        "width": 0.0,
        "height": 0.0,
        "depth": 0.0,
        "radius": 0.0,
        "enabled": false
      },
      "Data Center 3": {
        "width": 0.0,
        "height": 0.0,
        "depth": 0.0,
        "radius": 0.0,
        "enabled": false
      }
    },
    "Additional monuments to exclude (experimental)": [
      "lake",
      "canyon",
      "oasis",
      "jungle swamp",
      "jungle ruin"
    ],
    "Wipe On Upgrade Or Change": true,
    "Auto Generate DeepSea Location": true,
    "Auto Generate Outpost Location": true,
    "Outpost Map Prefab": [
      "outpost",
      "compound"
    ],
    "Auto Generate Bandit Location": true,
    "Bandit Map Prefab": [
      "bandit"
    ],
    "Show Time As Seconds Instead": true,
    "Use Quick Teleport": true,
    "Chat Command Color": "#DEB887",
    "Chat Command Argument Color": "#FFFF00",
    "Enable Popup Support": true,
    "Send Messages To Player": true,
    "Block All Teleporting From Inside Authorized Base": false,
    "Global Teleport Cooldown": 0.0,
    "Global VIP Teleport Cooldown": 0.0,
    "Play Sounds Before Teleport": true,
    "Sound Effects Before Teleport": [
      "assets/prefabs/missions/portal/proceduraldungeon/effects/disappear.prefab"
    ],
    "Play Sounds After Teleport": true,
    "Sound Effects After Teleport": [
      "assets/prefabs/missions/portal/proceduraldungeon/effects/appear.prefab"
    ]
  },
  "Admin": {
    "Announce Teleport To Target": false,
    "Usable By Admins": true,
    "Usable By Moderators": true,
    "Location Radius": 25,
    "Teleport Near Default Distance": 30,
    "Extra Distance To Block Monument Teleporting": 0
  },
  "Home": {
    "Homes Limit": 1,
    "VIP Homes Limits": {
      "nteleportation.vip": 2,
      "nteleportation.premium": 3,
      "nteleportation.elite": 5
    },
    "Allow Sethome At Specific Monuments": [
      "HQM Quarry",
      "Stone Quarry",
      "Sulfur Quarry",
      "Ice Lake",
      "Wild Swamp"
    ],
    "Allow Sethome At All Monuments": false,
    "Allow Sethome On Tugboats": true,
    "Allow Sethome On Player-made Boats": true,
    "Allow TPB": false,
    "Cooldown": 900,
    "Countdown": 90,
    "Daily Limit": 0,
    "VIP Daily Limits": {
      "nteleportation.vip": 0,
      "nteleportation.premium": 0,
      "nteleportation.elite": 0
    },
    "VIP Cooldowns": {
      "nteleportation.vip": 600,
      "nteleportation.premium": 300,
      "nteleportation.elite": 300
    },
    "VIP Countdowns": {
      "nteleportation.vip": 60,
      "nteleportation.premium": 30,
      "nteleportation.elite": 30
    },
    "Location Radius": 25,
    "Force On Top Of Foundation": true,
    "Check Foundation For Owner": true,
    "Use Friends": true,
    "Use Clans": true,
    "Use Teams": true,
    "Usable Out Of Building Blocked": false,
    "Usable Into Building Blocked": false,
    "Usable From Safe Zone Only": false,
    "Bypass Cooldown From Within Safe Zone": false,
    "Allow Cupboard Owner When Building Blocked": false,
    "Allow Cupboard Ally When Building Blocked": false,
    "Allow Cupboard Non-Ally When Building Blocked": false,
    "Block For No Cupboard": false,
    "Allow Iceberg": true,
    "Allow Cave": true,
    "Allow Crafting": true,
    "Allow Above Foundation": true,
    "Allow Deep Sea": true,
    "Check If Home Is Valid On Listhomes": true,
    "Pay": 50,
    "Bypass": -1,
    "Hours Before Useable After Wipe": 0.0,
    "Remove Hostility": false
  },
  "TPT": {
    "Use Friends": true,
    "Use Clans": false,
    "Use Teams": true,
    "Allow Cave": true,
    "Enabled Color": "green",
    "Disabled Color": "red"
  },
  "TPR": {
    "Discord": {
      "Webhook URL": "https://support.discordapp.com/hc/en-us/articles/228383668-Intro-to-Webhooks",
      "Log When TPA To Non-Ally Players More Than X Times": 3
    },
    "Play Sounds To Request Target": true,
    "Teleport Request Sound Effects": [
      "assets/prefabs/missions/portal/proceduraldungeon/effects/disappear.prefab"
    ],
    "Play Sounds When Target Accepts": true,
    "Teleport Accept Sound Effects": [
      "assets/prefabs/missions/portal/proceduraldungeon/effects/appear.prefab"
    ],
    "Require Player To Be Friend, Clan Mate, Or Team Mate": false,
    "Require nteleportation.tpa to accept TPR requests": false,
    "Allow Cave": true,
    "Allow TPB": false,
    "Allow Deep Sea": true,
    "Use Blocked Users": false,
    "Cooldown": 900,
    "Countdown": 90,
    "Daily Limit": 0,
    "VIP Daily Limits": {
      "nteleportation.vip": 0,
      "nteleportation.premium": 0,
      "nteleportation.elite": 0
    },
    "VIP Cooldowns": {
      "nteleportation.vip": 600,
      "nteleportation.premium": 300,
      "nteleportation.elite": 300
    },
    "VIP Countdowns": {
      "nteleportation.vip": 60,
      "nteleportation.premium": 30,
      "nteleportation.elite": 30
    },
    "Enable Request UI": true,
    "Request Duration": 30,
    "Block TPA On Ceiling": false,
    "Usable Out Of Building Blocked": false,
    "Usable Into Building Blocked": false,
    "Allow Cupboard Owner When Building Blocked": false,
    "Allow Cupboard Ally When Building Blocked": false,
    "Allow Cupboard Non-Ally When Building Blocked": false,
    "Block For No Cupboard": false,
    "Allow Crafting": true,
    "Pay": 50,
    "Bypass": -1,
    "Hours Before Useable After Wipe": 0.0,
    "Remove Hostility": false
  },
  "Dynamic Commands": {
    "Town": {
      "Command Enabled": true,
      "Set Position From Monument Marker Name": "town",
      "Set Position From Monument Marker Name Offset": "-356.552 28.81051 -29.71955",
      "Allow TPB": false,
      "Allow Cave": true,
      "Allow Deep Sea": true,
      "Cooldown": 900,
      "Countdown": 90,
      "Daily Limit": 0,
      "VIP Daily Limits": {
        "nteleportation.vip": 0,
        "nteleportation.premium": 0,
        "nteleportation.elite": 0
      },
      "VIP Cooldowns": {
        "nteleportation.vip": 600,
        "nteleportation.premium": 300,
        "nteleportation.elite": 300
      },
      "VIP Countdowns": {
        "nteleportation.vip": 60,
        "nteleportation.premium": 30,
        "nteleportation.elite": 30
      },
      "Location": "1150.258 7.004691 1159.923",
      "Locations": [
        "1150.258 7.004691 1159.923"
      ],
      "Teleport To Random Location": true,
      "Usable Out Of Building Blocked": false,
      "Allow Crafting": true,
      "Pay": 100,
      "Bypass": -1,
      "Hours Before Useable After Wipe": 0.0,
      "Remove Hostility": false
    },
    "Island": {
      "Command Enabled": true,
      "Set Position From Monument Marker Name": "",
      "Set Position From Monument Marker Name Offset": "0 0 0",
      "Allow TPB": false,
      "Allow Cave": true,
      "Allow Deep Sea": true,
      "Cooldown": 900,
      "Countdown": 90,
      "Daily Limit": 0,
      "VIP Daily Limits": {
        "nteleportation.vip": 0,
        "nteleportation.premium": 0,
        "nteleportation.elite": 0
      },
      "VIP Cooldowns": {
        "nteleportation.vip": 600,
        "nteleportation.premium": 300,
        "nteleportation.elite": 300
      },
      "VIP Countdowns": {
        "nteleportation.vip": 60,
        "nteleportation.premium": 30,
        "nteleportation.elite": 30
      },
      "Location": "184.4895 1.990023 -1667.411",
      "Locations": [
        "184.4895 1.990023 -1667.411"
      ],
      "Teleport To Random Location": true,
      "Usable Out Of Building Blocked": false,
      "Allow Crafting": true,
      "Pay": 100,
      "Bypass": -1,
      "Hours Before Useable After Wipe": 0.0,
      "Remove Hostility": false
    },
    "Outpost": {
      "Command Enabled": true,
      "Set Position From Monument Marker Name": "",
      "Set Position From Monument Marker Name Offset": "0 0 0",
      "Allow TPB": false,
      "Allow Cave": true,
      "Allow Deep Sea": true,
      "Cooldown": 900,
      "Countdown": 90,
      "Daily Limit": 0,
      "VIP Daily Limits": {
        "nteleportation.vip": 0,
        "nteleportation.premium": 0,
        "nteleportation.elite": 0
      },
      "VIP Cooldowns": {
        "nteleportation.vip": 600,
        "nteleportation.premium": 300,
        "nteleportation.elite": 300
      },
      "VIP Countdowns": {
        "nteleportation.vip": 60,
        "nteleportation.premium": 30,
        "nteleportation.elite": 30
      },
      "Location": "176.3122 36.55 736.1521",
      "Locations": [
        "158.5401 36.53944 765.0374",
        "164.6808 36.53944 771.6115",
        "208.1339 35.64001 771.4596",
        "207.0248 35.64001 769.9824",
        "186.0888 35.63567 790.4373",
        "165.6214 38.04023 807.3705",
        "167.8872 38.04023 803.8112",
        "187.588 35.63567 792.7846",
        "187.1824 35.63567 789.9584",
        "185.4597 35.63567 793.4047",
        "186.4022 35.63567 793.2038",
        "174.0188 38.04023 806.7136",
        "216.1996 37.355 780.5712",
        "207.9694 35.64001 773.4412",
        "204.6196 35.64001 769.6021",
        "204.1577 35.64001 771.1649",
        "205.2139 35.64001 772.674",
        "176.3122 36.55 736.1521"
      ],
      "Teleport To Random Location": true,
      "Usable Out Of Building Blocked": false,
      "Allow Crafting": true,
      "Pay": 100,
      "Bypass": -1,
      "Hours Before Useable After Wipe": 0.0,
      "Remove Hostility": false
    },
    "Bandit": {
      "Command Enabled": true,
      "Set Position From Monument Marker Name": "",
      "Set Position From Monument Marker Name Offset": "0 0 0",
      "Allow TPB": false,
      "Allow Cave": true,
      "Allow Deep Sea": true,
      "Cooldown": 900,
      "Countdown": 90,
      "Daily Limit": 0,
      "VIP Daily Limits": {
        "nteleportation.vip": 0,
        "nteleportation.premium": 0,
        "nteleportation.elite": 0
      },
      "VIP Cooldowns": {
        "nteleportation.vip": 600,
        "nteleportation.premium": 300,
        "nteleportation.elite": 300
      },
      "VIP Countdowns": {
        "nteleportation.vip": 60,
        "nteleportation.premium": 30,
        "nteleportation.elite": 30
      },
      "Location": "603.407 36.95239 -254.0294",
      "Locations": [
        "644.4085 36.67772 -341.0202",
        "570.9973 36.27927 -339.0454",
        "604.8254 35.99572 -254.2422",
        "604.3976 36.00802 -254.4901",
        "602.1804 41.05248 -264.5786",
        "600.9579 41.05248 -260.4122",
        "592.9477 41.99372 -259.0412",
        "588.7761 42.00072 -265.635",
        "604.0789 35.99572 -254.7708",
        "603.407 36.95239 -254.0294"
      ],
      "Teleport To Random Location": true,
      "Usable Out Of Building Blocked": false,
      "Allow Crafting": true,
      "Pay": 100,
      "Bypass": -1,
      "Hours Before Useable After Wipe": 0.0,
      "Remove Hostility": false
    },
    "DeepSea": {
      "Command Enabled": false,
      "Set Position From Monument Marker Name": "",
      "Set Position From Monument Marker Name Offset": "0 0 0",
      "Allow TPB": true,
      "Allow Cave": false,
      "Cooldown": 900,
      "Countdown": 90,
      "Daily Limit": 0,
      "VIP Daily Limits": {
        "nteleportation.vip": 900
      },
      "VIP Cooldowns": {
        "nteleportation.vip": 900
      },
      "VIP Countdowns": {
        "nteleportation.vip": 900
      },
      "Location": "-6360.712 44.716 -29.45961",
      "Locations": [
        "-6376.992 2.675092 -54.13814",
        "-6387.287 6.088 -35.88541",
        "-6396.468 4.063037 -37.52872",
        "-6366.495 11.47795 -58.36582",
        "-6406.108 6.979 -49.8265",
        "-6349.624 1.3467 30.98094",
        "-6372.762 6.077001 29.42365",
        "-6378.201 9.015961 29.04095",
        "-6386.834 6.095876 -36.5726",
        "-6371.833 9.4697 -50.06477",
        "-6355.98 11.13496 -54.65717",
        "-6365.307 11.3008 -49.50012",
        "-6316.968 4.807049 -45.51317",
        "-6321.373 3.133511 0.4618614",
        "-6321.33 6.100135 -13.26401",
        "-6325.164 4.061 -11.58005",
        "-6322.504 6.100135 -12.6857",
        "-6336.967 6.107 3.283941",
        "-6375.388 3.2795 26.41162",
        "-6356.813 11.17713 -55.42952",
        "-6360.712 44.716 -29.45961"
      ],
      "Teleport To Random Location": true,
      "Usable Out Of Building Blocked": false,
      "Allow Crafting": false,
      "Pay": 500,
      "Bypass": -1,
      "Hours Before Useable After Wipe": 0.0,
      "Remove Hostility": false
    }
  }
}

hi i'll take a look

Merged post

hi, I've tested with your config

/home has no cooldown when bypass cmd is set but the amount is not. this bug is fixed in next update.

/tpr, /outpost and /bandit all work with the expected vip, premium or elite time. it must be that permission is not granted correctly, please try again.

Все принял, спасибо большое, хороших выходных😊

you're welcome. you too.