Jump to content

Night bonus

Pending 3.1.3

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.

Share this comment


Link to comment

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

Share this comment


Link to comment

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 😄

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.7k

Files Sold

Total number of files sold.

1.6m

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.