Calendar - Rosstail/Nodewar GitHub Wiki

The calendar system has been made to let the server handle the opening and closures of battlefields.

This system automatically toggles the vulnerability or/and the owner of a territory.


How to enable / disable this feature:

#config.yml
general:
    use-calendar: <boolean> #true/false

#config.yml

calendar:
  <ID_String>:
    start:
        day-name: <String>
        system-time: <String>
        vulnerable: <boolean>
        empire: <String>
        worlds:
            <worldName>:
                territories:
                - <territoryName>
                - etc...
            etc...
    end:
        day-name: <String>
        system-time: <String>
        vulnerable: <boolean>
        empire: <String>
        worlds:
            <worldName>:
                territories:
                - <territoryName>
                - etc...
            etc...
  etc...
  • <ID_String> : The name of the section, use only simple characters.
  • day-name : Set the day when the automation activates (Monday, tuesday, wednesday, thursday, friday, saturday or sunday)
  • system-time : Set the hour and minute when the automation activates. Bust follow the HH:mm format, on 24h per day.
  • vulnerable (optional) : Set all the territories from this schedule vulnerable or invulnerable. Ignored if blank.
  • empire (optional) : Set the empire of the territories from this schedule. Ignored if blank, neutralize the territories if set on neutral.
  • worlds : Add the worlds names for the schedule. Can only use the worlds where territories exists.
  • worlds.worldName.territories : Add the territories identifier of the world chosed.
⚠️ **GitHub.com Fallback** ⚠️