-
Fixed major bug, that caused beacon to stop transferring secondary effect after server restart
NEW OPTION IN CONFIG: effect_duration - can be enabled or disabled (default value is disabled)
- when players set a beacon effect, it will be enabled only for set period of time (customizable in the config, default value is 24 hours)
- after the given period of time, beacon will stop transmitting the effect and players will have to activate it again
- effect duration time can be stacked - that means, that when players activate given effect 2 times, the duration will be 2-times longer
- players can extend the duration at any time
PLEASE NOTE THAT CONFIG FROM OLDER VERSIONS WILL NOT WORK!
To fix the config from older versions, please generate new one or paste these lines anywhere into it:
Config path: effect_duration:enabled Description: If beacon should stop transmitting effects after a given period of time
Possible variables: true/false
Default variable: false
Config path: effect_duration:duration Description: Time in seconds, during which beacon will transmit effects after every activation (can be stacked, that means, that when players activate given effect 2 times, the duration will be 2-times longer
Possible variables: Integer (number of seconds)
Default variable: 86400 = 24 normal hours
Config path: effect_duration:subtraction_time Description: Time in seconds, after which server will check, if all beacon effects set have duration time > 0. If it is <= 0, than it will deactivate given effect on given beacon. The larger the number, the smaller is server load
Possible variables: Integer (number of seconds)
Default variable: 60 (server will check every 60 seconds)