Jump to content

Night bonus

Pending 3.1.3

fyubr
fyubr

Posted

Is it possible do just do 2x during nights? If possible to show example of code or where to add specifically? Still new to coding and learning plugins in geeneral, so it would be a big help! Thank you for your time.

  • Administrator
Steenamaroo

Posted

Hi,
Yes, that's something I could add without a problem.
Thanks for the suggestion. 👍

  • Administrator
Steenamaroo

Posted

I've added this in. Would you like to test it out?

The config now has a true/false for 'UseServerTime'.
If that's true it uses built in night/day checks.

If false, it uses DayStartHour = 8, NightStartHour = 20; which I also added, and you can change.

 

and, of course, under mutlipliers in the config files, you'll see Daytime and Nighttime added. 👍

RustRewards.cs

fyubr

Posted

Awesome thank you! I assume I could just drop that RustRewards over the old plugin, under the config files I assume the original config will be overwritten with the new one, so I should try to save a copy correct? Thanks again for taking the time! I do appreciate it 😄

  • Administrator
Steenamaroo

Posted

Hey,
Nah, the new values will just be added in to your existing file.

Drag and drop. 👍

fyubr

Posted

Amazing! Thank you very much for the amazing customer service! I appreciate it ❤️

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.3k

Files Sold

Total number of files sold.

2m

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.