serverPost

fun serverPost(search: String, countryFilter: List<String>, hideEmptyServer: Boolean = true, hideFullServer: Boolean = true, friendlyFire: Boolean = true, whitelist: Boolean = true, modded: Boolean = true, sort: String = "PLAYERS_DESC"): ScpListServers?(source)

Endpoint for getting information about al servers

Endpoint: /api/servers

Return

the ScpListServers

Parameters

search

the search quote

countryFilter

what countries to filter

hideEmptyServer

hide empty servers?

hideFullServer

hide full servers?

friendlyFire

show friendly fire servers

whitelist

show whitelisted servers?

modded

show modded servers?

sort

how to sort?

Throws

inherited from ScpListException