PlayerPreferences

public class PlayerPreferences

Utility class for generating player specific preferences. These preferences are unique to each in-game account.

See also

org.tribot.script.sdk.antiban.PlayerPreferences

PlayerPreferences#preference(String, Function)

Types

Generator
Link copied to clipboard
public class Generator
Class to assist with generating unique player-specific preferences

Functions

preference
Link copied to clipboard
static T preference<T>(String key, Function<PlayerPreferences.Generator, T> generatorFunction)
Gets a preference, or generates the preference if it doesn't exist.