Skip to main content

ClearPlayerData

Clears data associated with specified players

Syntax​

ClearPlayerData @players "key_to_clear"?

Arguments​

NameRequiredTypeDescription
playersYesPlayer variable (e.g. @all, @classDPlayers)
key to clearNoAny text e.g. "Hello, World!"Don't provide this argument to clear all keys for players, provide if you want to clear specific key

Validated examples using this method​

On a running server​

Use serhelp ClearPlayerData to inspect the reference generated by your installed SER version.