Table of Contents

Interface IServerPlayerData

Namespace
Vintagestory.API.Server
Assembly
VintagestoryAPI.dll

The player configuration that is world independent

public interface IServerPlayerData

Properties

AllowInvite

Whether or not this player wants to receive group invites

bool AllowInvite { get; }

Property Value

bool

CustomPlayerData

Store your own custom data in here if you need. Might want to serialize your data to json code first.

Dictionary<string, string> CustomPlayerData { get; }

Property Value

Dictionary<string, string>

DeniedPrivileges

Privilige explicitly revoked from this player

HashSet<string> DeniedPrivileges { get; }

Property Value

HashSet<string>

ExtraLandClaimAllowance

Extra land claim allowance (beyond whats granted by the role)

int ExtraLandClaimAllowance { get; set; }

Property Value

int

ExtraLandClaimAreas

Extra land claim areas (beyond whats granted by the role)

int ExtraLandClaimAreas { get; set; }

Property Value

int

LastKnownPlayername

The players last known player name. This may have changed since the last log in.

string LastKnownPlayername { get; }

Property Value

string

PermaPrivileges

Privilige explicitly granted to this player

HashSet<string> PermaPrivileges { get; }

Property Value

HashSet<string>

PlayerGroupMemberships

List of groups the player is a member off

Dictionary<int, PlayerGroupMembership> PlayerGroupMemberships { get; }

Property Value

Dictionary<int, PlayerGroupMembership>

PlayerUID

The players unique identifier

string PlayerUID { get; }

Property Value

string

RoleCode

The players role code

string RoleCode { get; }

Property Value

string