banlist Put
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
banlist Id
the id of the banlist that is being created
query Server Id
id of the query server being your SL server in cedmod
server Write Bans
a string of server ids that bans can be written from
server Read Bans
a string of server ids that bans can be read from
server Write Mutes
a string of server ids that mutes can be written from
server Read Mutes
a string of server ids that mutes can be read from
server Write Warns
a string of server ids that warns can be written from
server Read Warns
a string of server ids that warns can be read from
name
name of the banlist
is Master
is the banlist the primary banlist?
is Default Panel
should it be the default for panel bans?
is Default View Panel
should it be the default for being viewed in ban/mute managers?
Throws
inherited from CedmodException