banlistPut

fun banlistPut(banlistId: String, queryServerId: String, serverWriteBans: String, serverReadBans: String, serverWriteMutes: String, serverReadMutes: String, serverWriteWarns: String, serverReadWarns: String, name: String, isMaster: Boolean = false, isDefaultPanel: Boolean = false, isDefaultViewPanel: Boolean = true): Int(source)

Endpoint for creating banlists

Endpoint: /Api/Banlist/17339

Return

the response code

Parameters

banlistId

the id of the banlist that is being created

queryServerId

id of the query server being your SL server in cedmod

serverWriteBans

a string of server ids that bans can be written from

serverReadBans

a string of server ids that bans can be read from

serverWriteMutes

a string of server ids that mutes can be written from

serverReadMutes

a string of server ids that mutes can be read from

serverWriteWarns

a string of server ids that warns can be written from

serverReadWarns

a string of server ids that warns can be read from

name

name of the banlist

isMaster

is the banlist the primary banlist?

isDefaultPanel

should it be the default for panel bans?

isDefaultViewPanel

should it be the default for being viewed in ban/mute managers?

Throws

inherited from CedmodException