Jump to content

Cool down does not seem to work

Closed 2.8.5

Kobani
Kobani

Posted (edited)

     I don't know what I'm doing wrong and I'm getting desperate, I just can't find the right settings to prevent players from making base after base. I would be grateful if you could explain to me how to set this correctly. If that's what I need to change.🙏

"Player Lockouts (0 = ignore)": {
        "Apply Lockouts To PVE": true,
        "Apply Lockouts To PVP": true,
        "Apply All Lockouts Everytime": true,
        "Time Between Raids In Minutes (Easy)": 180.0,
        "Time Between Raids In Minutes (Medium)": 180.0,
        "Time Between Raids In Minutes (Hard)": 180.0,
        "Time Between Raids In Minutes (Expert)": 180.0,
        "Time Between Raids In Minutes (Nightmare)": 180.0,
        "Block Clans From Owning More Than One Raid": true,
        "Block Friends From Owning More Than One Raid": true,
        "Block Teams From Owning More Than One Raid": true,
        "Block Players From Joining A Clan/Team To Exploit Restrictions": false

Edited by Kobani
Link to comment

hi. those settings are for public events

you need to use Buyable Cooldowns for purchased raids

Link to comment

Would that be these lines?
Because even that won't stop me from buying another one when I've finished one.
If that's not it either, I'd be grateful if you could send me an example.

 

    "Buyable Events": {
      "Max Amount Purchasable Per Difficulty (0 = infinite, -1 = disabled)": {
        "Easy": 0,
        "Medium": 0,
        "Hard": 0,
        "Expert": 0,
        "Nightmare": 0
      },
      "Cooldowns (0 = No Cooldown)": {
        "Reset Cooldown Costs": {
          "Custom Currency": {
            "Enabled": false,
            "Item Shortname": "scrap",
            "Item Name": null,
            "Amount": 0,
            "Skin": 0
          },
          "Economics Money": 0.0,
          "ServerRewards Points": 0
        },
        "Easy": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 0.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Medium": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 0.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Hard": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 0.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Expert": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 0.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Nightmare": {
          "VIP Permission: raidablebases.vipcooldown": 1800.0,
          "Admin Permission: raidablebases.allow": 0.0,
          "Server Admins": 1800.0,
          "Normal Users": 1800.0
        },
        "Apply Cooldown To Entire Clan And Team": false,
        "Apply All Cooldowns": true
      },

 

Link to comment

don't use noclip or vanish.

this will not work if you have the raidablebases.allow permission

you should be testing with a player account as an admin can easily bypass restrictions.

Link to comment

I tried as a normal player, but I can still spawn other bases when I finish one. I seem to be doing something wrong.
Here is the configuration. I just don't know what to do.
Been trying to get this to work for hours now. i've even tested it with other players. No permissions were assigned. I think they can see immediately what is wrong.
 

RaidableBases.json

Link to comment
nivex

Posted (edited)

you cannot buy multiple raids with this config unless you have the allow or bypass permission

Edited by nivex
Link to comment
nivex

Posted (edited)

i've tested this with your config

if you are using /rbe despawn on your purchased raids then you won't get a cooldown because of this setting (it will also reset every cooldown due to a bug). 
"Refund Resets Cooldown Timer": true

if the base is completed normally then I get 30 minute cooldowns for every difficulty

image.png.c7e84cb86fd9468f75b28dc248beac06.png

I suggest using a plugin like Permissions Manager to assign and view permissions. this plugin is great because it will show you the inherited permissions from other groups too.

https://codefling.com/plugins/permissions-manager

 

Edited by nivex
Link to comment

First of all, thank you very much for your feedback.
- I do not use /rbe despawn to end a base, but do it the normal way.
- If I have finished an easy base and the timer of this jumps to 15 minutes, I can not buy another easy base, but each of the 4 other categories.
- The timer shown here is not displayed at all
- to assign authorizations I use the AdminMenu of k1lly0u, I have not activated a single authorization for RB.

I will load only the most necessary on the test server and try again. To rule out any conflicts. 

It can't be the settings in the data folder for the bases, can it?

Link to comment

Hello I have managed to get it working now.

However, the Buyable Cooldowns display is no longer hidden When I close the Buyable Events UI.

Link to comment

Hi, what was the issue preventing this from working? It the config you set me it will apply all cooldowns, but what you've explained was different from this.  

"Apply All Cooldowns": true

Buyable Cooldowns Ui and the Buyable Events Ui are two different Ui's. the buyable cooldowns display cannot be closed, but it can be disabled in the config though I don't recommend this. you can move any ui by clicking the arrows.

Link to comment
Kobani

Posted (edited)

When you complete a base, there is a timer, 15 minutes by default. As long as this is running, another category can be spawned. Only when these 15 minutes have expired does the cooldown apply to everyone. Can you fix this?

Another question. And I hope I'm not being annoying. There are just things I've noticed. 
“Cursor enabled”: false,
Does this mean that the gui's can no longer be moved?
I ask because i can still do it

 

Edited by Kobani
Link to comment

hi, enable Prevent Players From Buying Until Previous Raid Despawns.

no, that means you must activate the cursor in order to move the gui

no problem:)

Link to comment

Great, that helped. Now it works.
I will deactivate the Buyable Cooldowns Ui for now because, knowing my players, the display will annoy them if it is there all the time. 
I would be happy if it were possible for this to close with the Buyable Events Ui. Or it closes again on its own after a few seconds.
Of course only if it is possible.
Thank you for your help and the great plugin. Your support is really great.

Link to comment

I will note this down for later.

no problem!

it's time for sleep now. have fun.

  • Love 1
Link to comment
nivex

Posted (edited)

Added `Buyable Cooldowns -> Hidden While Buyable Events UI Is Closed` (false)

added this for you in the next update.

Edited by nivex
Link to comment
1.3m

Downloads

Total number of downloads.

6.5k

Customers

Total customers served.

96.5k

Files Sold

Total number of files sold.

1.9m

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.