Jump to content

Possible to add a cooldown between usage?

Closed 1.4.4 1.4.7

SlayersRust
SlayersRust

Posted

Possible to add a cooldown between usage? Like players can only respawn using death modifier every 5 minutes? 
 

I dont want to use rewards or RP but a way to make it so the player can only use a death modifier respawn option say every 5 minutes. 

Khan

Posted (edited)

Just try setting it to economics and set the price to 0.

should work

Edited by Khan
SlayersRust

Posted

35 minutes ago, Khan said:

Just try setting it to economics and set the price to 0.

should work

    "vip": {
      "Random Respawn or Spawn at Death Location, true = random": false,
      "Resets Cost Increment after x seconds, 0 = disabled": 0,
      "Sets Increment penalty for quick repeated use, 0 = disabled": 300.0,
      "Sets Increment penalty to apply only when they purchase a revive instead of adding for each death.": false,
      "Sets price": 15.0,
      "Sets default currency, 0 = disabled, 1 = Economics, 2 = ServerRewards": 0,
      "Seconds for how long after respawn until you can take damage, 0 = disabled": 0,
      "Sets allowed containers, Main = 0 | Belt = 1 | Wear = 2 | All = 3": [

So I just set the penalty to 5 minutes? 300 seconds?       "Sets Increment penalty for quick repeated use, 0 = disabled": 300.0, like this? and RP cost to 0

 

Khan

Posted

Latest update fixes some things and you can also do cool down options now for players that use the sleeping bag setting options

Khan

Posted

Added new configuration option setting for cooldowns

Example: this would be 2min cool-down between being able to use it.

        "Sets Respawn with death modifier cooldown in seconds, 0 = disabled": 120

 ( for testing i had it set to 30 and it works )
cooldownsdm.png.9ebac9438597c74b7d06a3a42d4ce715.png


dmnewmsgdisplay.png.f19d67834f8654a713c194fb80026b96.png

Khan

Posted

Changed Status from Pending to Closed

Changed Fixed In to 1.4.7

SlayersRust

Posted

1 hour ago, Khan said:

Added new configuration option setting for cooldowns

Example: this would be 2min cool-down between being able to use it.

        "Sets Respawn with death modifier cooldown in seconds, 0 = disabled": 120

 ( for testing i had it set to 30 and it works )
cooldownsdm.png.9ebac9438597c74b7d06a3a42d4ce715.png


dmnewmsgdisplay.png.f19d67834f8654a713c194fb80026b96.png

EPIC! So this works with normal respawn revives? As I do not use sleeping bag/bed options

  • Like 1
Khan

Posted (edited)

Yes, a dedicated Death Modifier option will appear to use it with, that is separate from the standard green one on the right that's vanilla spawn. image.png.fc00be3702a871812be5ffee1c97c842.png

Edited by Khan
2.1m

Downloads

Total number of downloads.

9.8k

Customers

Total customers served.

142.2k

Files Sold

Total number of files sold.

3m

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.