parse

public static PatrolRoute parse(FileConfiguration configuration)

Returns null when no patrol is configured. Invalid configured routes throw with a user-facing reason.