depositAllExcept

fun depositAllExcept(vararg ids: Int): Boolean

Deposits the players inventory excluding the specified ids.

Return

true if the items were deposited, determines if amount was matched; otherwise false

Parameters

ids

the ids of the items to ignore when depositing

fun depositAllExcept(vararg names: String?): Boolean

Deposits the players inventory excluding the specified item names.

Return

true if the items were deposited, determines if amount was matched; otherwise false

Parameters

names

the names of the items to ignore when depositing

fun depositAllExcept(filter: Filter<Item>): Boolean

Deposits the players inventory excluding the items that match the provided filter.

Return

true if the items were deposited, determines if amount was matched; otherwise false

Parameters

filter

the filter of the items to ignore when depositing