How do I set cooldowns for a sign in a different sign? #7844


  • New
  • Question
Open
Assigned to epicanard
  • hbhc12 created this issue Oct 4, 2020

    What version of ServerSigns are you using?
    4.6.1

     

    What server version (/version) are you using?
    Paper/Bukkit 1.16.3

     

    Describe your issue/suggestion :

     

    Ok so I im making a city where you can work and earn money. In one job there's a sign that says paycheck and it has a cooldown for 300 seconds (5 min) And now they can just go out of the job and do whatever they want for 5 min and then go back and earn the money for doing nothing. So I want to do if they click on the sign that takes them to work it resets the cooldown. But if I do /svs resetcooldowns <player> it reset it to 5 min but it lets the player take the money. How do I fix this? Please help as soon as possible, Thank you.

    NB: If it is an issue please provide logs error / screenshot that can support your words.

  • hbhc12 edited description Oct 4, 2020
  • hbhc12 edited title and description Oct 4, 2020
  • hbhc12 edited description Oct 4, 2020
  • epicanard posted a comment Oct 4, 2020

    Hello,

     

    I don't quite understand your problem. Can you give me more details? Which plugin are you using?
    If you want to verify that the player has done the job at the end of the cooldown, you can add a check before giving the money.


    The resetcooldowns feature resets the cooldown as defined during setup. So this is normal behavior.

  • epicanard self-assigned this issue Oct 4, 2020
  • epicanard added the tags New Question Oct 4, 2020
  • hbhc12 posted a comment Oct 4, 2020

    The plugins I use are: EssentialsX, Vault, LuckPers. I dont really have anything more to describe. 

  • hbhc12 posted a comment Oct 4, 2020

    The best thing I could tell you is that you can join the server and then fix it over there. It would be the best thing to do. Ip: kakotbehind.aternos.me

  • hbhc12 posted a comment Oct 4, 2020

    @epicanard?

     

     

  • hbhc12 posted a comment Oct 4, 2020

    I basically just want that the cooldown only goes down when your at work. Can you do that with server signs?

    If not when else can I do?

  • epicanard posted a comment Oct 4, 2020

    The cooldown goes down alone, you can't interact with it to change it as you want.

    The player must wait the end of the cooldown or you can reset it to default value (5 min for you) but you can't set it to zero for exemple.

  • hbhc12 posted a comment Oct 4, 2020

    But can I reset it to its default value (5 min) and then not let the player take the money? (like he has to wait again that would fix my problem)

    If I cant what else can I do? there has to be another way.

    And how do I make a check?

  • epicanard posted a comment Oct 5, 2020

    How you can verify that the player is making the job or not ?

     

    Do you have a system of permission you give when he start to work ? or the player is teleported to a place to work ?

  • hbhc12 posted a comment Oct 6, 2020

    theres a region. I just want if the player is in the region then the cooldown will go down

  • hbhc12 posted a comment Oct 6, 2020

    and now when I type /svs add it doesnt work its like all the commands are gone. theres only 5 commands /svs import /svs option /svs resetcd /svs select and /svs timelimt

     
     
  • epicanard posted a comment Oct 6, 2020

    The cooldown is only here to prevent a player to click on the sign a second time during a specific period (cooldown).

     

    You can't control the cooldown (like pause it).

     

    If there is bug you can still do /svs void to undo setup actions that need a click on a sign.


To post a comment, please login or register a new account.