Jump to content

Command

Closed 1.1.7

Skippyroo
Skippyroo

Posted

Hi,

Is there a command, or the possibility of a command to kickstart Lucky Crates back into action? Often when I login to my server no Lucky Crates are being spawned, I have to reload it to begin spawning crates again? Could it be skipping nights interferes with it's function? Using ver: 1.1.7 and latest carbon.

Cheers

Skippyroo

mattffhh

Posted

Hey,

Perhaps, I am gonna take a look at it and create a simple startup command for you to try. 

Does this only happen when you load into the server as a player, or when you start the server? And does the same happen if other people are joining?

Kind regards,

mattffhh

mattffhh

Posted

Changed Status from Pending to Work in Progress

Skippyroo

Posted

Hi,

Starting the server is no problem, Lucky Crates spawn as they should. The issue is mostly when the server is left running with no players for any length of time, login and I often have to reload the plugin to get it back up and running. I have noticed also with a long session, sometimes the crates stop spawning over time which is why I am wondering if skipping nights may be the issue. But yes, a simple commend would work for me.

Cheers

Skippyroo

mattffhh

Posted (edited)

Hey,

I sent you the new version in private message which contains the restart command.

Out the top of my head make sure you check out the config option:

"Total maximum number of Lucky Crates that can exist": 50,

Which is the default value and when this is set to 50, there will only spawn 50 Lucky Crates before stopping. Set it to -1 if you want unlimited. 

This also explains why it works for you to reload the plugin, as the internal systems get reset and the counter goes back to zero.

 

Kind regards,

mattffhh

Edited by mattffhh
Skippyroo

Posted

Hi,

 

That makes sense, I have now changed max crates to -1, I will give it a try out and report back in a few days time. Thanks for sorting this out so quickly it's much appreciated.

Regards

Skippyroo

  • Like 1
Skippyroo

Posted

Hi,

Just to confirm that your update works a treat, every time I login to the server the Lucky Crates are appearing every time without issue. Plus it's handy to have that reload command.

Excellent work!

Regards

Skippyroo

mattffhh

Posted

Hey,

Thank you, great to hear.

Kind regards,
mattffhh

mattffhh

Posted

Changed Status from Work in Progress to Fixed

1.8m

Downloads

Total number of downloads.

8.2k

Customers

Total customers served.

123.5k

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.