Config ‐ Time periods - Rosstail/Karma GitHub Wiki
This system will able you to increase or reduce the risks of karma changes from PvP. Perfect to give more chance for a criminal to not be framed.
#config.yml
time-periods:
type: <String> #can be replaced by WORLD, SYSTEM, BOTH or NONE
world: #use the time where the attacker / killer is You can add all the time-X you want with custom name
time-1:
start: <String> #format "HH:mm"
end: <String> #format "HH:mm"
rate: <int>
time-2:
start: <String>
end: <String>
rate: <int>
etc...
system: #use the server real life time. You can add all the time-X you want, with custom name
time-1:
start-time: <String> # "HH:mm" format
end-time: <String> # "HH:mm" format
rate: <int>
time-2:
start: <String>
end: <String>
rate: <int>
etc...
The rate
is in percentage from 0 to 100. The rate is 100 by default.
World
uses the world where the attacker is.
System
uses the server time.
Using both
will check both of World
and System
.
You must write the start
and end
like "09:16" or "13:34", no matter if it is worlds time, system time or both. You can put the start-time after the stop-time if you want to set a whole night period.