Settings

data class Settings(var maxTrades: Int = Int.MAX_VALUE, var villagerBlacklist: <Error class: unknown class><String> = ArrayList(), var disablePricePenalty: Boolean = false, var uninstallMode: Boolean = false, var allowTravellingMerchants: Boolean = true, var checkUpdate: Boolean = true, var allowMetrics: Boolean = true)

Represents the settings for the application.

Constructors

Link copied to clipboard
constructor(maxTrades: Int = Int.MAX_VALUE, villagerBlacklist: <Error class: unknown class><String> = ArrayList(), disablePricePenalty: Boolean = false, uninstallMode: Boolean = false, allowTravellingMerchants: Boolean = true, checkUpdate: Boolean = true, allowMetrics: Boolean = true)

Properties

Link copied to clipboard

Indicates if metrics are allowed.

Link copied to clipboard

Indicates if travelling merchants are allowed.

Link copied to clipboard

Indicates if checking for updates is allowed.

Link copied to clipboard

Indicates if the price penalty is disabled.

Link copied to clipboard

The maximum number of trades allowed.

Link copied to clipboard

Indicates if the uninstall mode is enabled.

Link copied to clipboard
var villagerBlacklist: <Error class: unknown class><String>

The list of blacklisted villagers.