Interface IServerPlayerData
- Namespace
- Vintagestory.API.Server
- Assembly
- VintagestoryAPI.dll
The player configuration that is world independent
public interface IServerPlayerData
- Extension Methods
Properties
AllowInvite
Whether or not this player wants to receive group invites
bool AllowInvite { get; }
Property Value
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
DeniedPrivileges
Privilige explicitly revoked from this player
HashSet<string> DeniedPrivileges { get; }
Property Value
ExtraLandClaimAllowance
Extra land claim allowance (beyond whats granted by the role)
int ExtraLandClaimAllowance { get; set; }
Property Value
ExtraLandClaimAreas
Extra land claim areas (beyond whats granted by the role)
int ExtraLandClaimAreas { get; set; }
Property Value
LastKnownPlayername
The players last known player name. This may have changed since the last log in.
string LastKnownPlayername { get; }
Property Value
PermaPrivileges
Privilige explicitly granted to this player
HashSet<string> PermaPrivileges { get; }
Property Value
PlayerGroupMemberships
List of groups the player is a member off
Dictionary<int, PlayerGroupMembership> PlayerGroupMemberships { get; }
Property Value
PlayerUID
The players unique identifier
string PlayerUID { get; }
Property Value
RoleCode
The players role code
string RoleCode { get; }