Jump to content

Cooldown

Closed 3.0.2

Pepuni.
Pepuni.

Posted

Hi, I'm trying to make players have a team cooldown, but when I change it in the config line 393 down, I can't get the cooldown to work in the game and players can request it without limit. What am I doing wrong?

      "Cooldowns (0 = No Cooldown)": {
        "Reset Cooldown Costs": {
          "Custom Currency": {
            "Plugin": {
              "Plugin Name": "",
              "Deposit Method (API)": "",
              "Withdraw Method (API)": "",
              "Balance Method (API)": "",
              "ShoppyStock Shop Name": "",
              "Currency Name": "",
              "Amount": 0.0,
              "Amount Data Type (API) - [ 0 - double | 1 - float | 2 - int ]": 0,
              "User Data Type (API) - [ 0 - ulong | 1 - string | 2 - player ]": 0
            },
            "Enabled": false,
            "Item Shortname": "scrap",
            "Item Name": null,
            "Amount": 0,
            "Skin": 0
          },
          "Economics Money": 0.0,
          "ServerRewards Points": 0
        },
        "Apply Cooldown To Entire Clan And Team": true,
        "Apply All Cooldowns": true,
        "Easy": {
          "VIP Permission: raidablebases.vipcooldown": 18000.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 18000.0
        },
        "Medium": {
          "VIP Permission: raidablebases.vipcooldown": 18000.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 18000.0
        },
        "Hard": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 86400.0
        },
        "Expert": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 86400.0
        },
        "Nightmare": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 86400.0
        }

nivex

Posted

hi, those cooldowns are for buyraid events. players cannot bypass this permission unless you've granted them the raidablebases.allow permission which should not be given to players

player lockouts are for private events spawned with maintained/scheduled and is not related to buyraid events.

Pepuni.

Posted

But if I want players to have a cooldown for each base type and for that cooldown to be shared with the team, it's here, right?
They normally use /buyraid

But I want them to have it.
Easy: 5 hours
Medium: 5 hours
Hard: 24 hours
Expert: 24 hours
Nightmare: 24 hours.

I should do it like this, right?
Excuse my misunderstanding, but I've been trying to solve this for a long time.


        "Apply Cooldown To Entire Clan And Team": true,
        "Apply All Cooldowns": true,
        "Cooldown Override Applied To All Other Difficulties": 0.0,
        "Easy": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 1800.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Medium": {
          "VIP Permission: raidablebases.vipcooldown": 18000.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 18000.0
        },
        "Hard": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 86400.0
        },
        "Expert": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 86400.0
        },
        "Nightmare": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 1.0,
          "Server Admins": 1.0,
          "Normal Users": 86400.0
        }

nivex

Posted (edited)

yes, that's how you set it up. if they have raidablebases.allow permission then it's going to be a 1 second cooldown. you should set a cooldown for everything until you confirm it works. admin and admin permissions are not set so they will not apply to you except for easy.

don't test while using noclip or vanish.

 

Edited by nivex
Pepuni.

Posted

These are the permissions I currently have active. And this is my configuration. Would it be correct for what I need?

        "Apply Cooldown To Entire Clan And Team": true,
        "Apply All Cooldowns": true,
        "Cooldown Override Applied To All Other Difficulties": 0.0,
        "Easy": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 1800.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Medium": {
          "VIP Permission: raidablebases.vipcooldown": 18000.0,
          "Admin Permission: raidablebases.allow": 1800.0,
          "Server Admins": 1800.0,
          "Normal Users": 18000.0
        },
        "Hard": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 86400.0,
          "Server Admins": 86400.0,
          "Normal Users": 86400.0
        },
        "Expert": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 86400.0,
          "Server Admins": 86400.0,
          "Normal Users": 86400.0
        },
        "Nightmare": {
          "VIP Permission: raidablebases.vipcooldown": 86400.0,
          "Admin Permission: raidablebases.allow": 86400.0,
          "Server Admins": 86400.0,
          "Normal Users": 86400.0
 

imagen permisos raideables.PNG

imagen permisos raideables2.PNG

nivex

Posted

Changed Status from Pending to Closed

1.7m

Downloads

Total number of downloads.

8k

Customers

Total customers served.

121.2k

Files Sold

Total number of files sold.

2.5m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.