Table of Contents

Class Privilege

Namespace
Vintagestory.API.Server
Assembly
VintagestoryAPI.dll
public class Privilege
Inheritance
Privilege
Inherited Members

Fields

announce

Ability to make a server wide announcement

public static string announce

Field Value

string

attackcreatures

Cause damage to any non-player creature

public static string attackcreatures

Field Value

string

attackplayers

Cause damage to a player

public static string attackplayers

Field Value

string

ban

Ability to ban/unban a player

public static string ban

Field Value

string

buildblocks

Place or break blocks

public static string buildblocks

Field Value

string

buildblockseverywhere

Place or break blocks everywhere, completely ignoring area permissons. You still need to be in creative mode however.

public static string buildblockseverywhere

Field Value

string

chat

Ability to chat

public static string chat

Field Value

string

claimland

Ability to claim lands

public static string claimland

Field Value

string

commandplayer

Ability to issue a command for another player (e.g. teleport another player or set another players game mode)

public static string commandplayer

Field Value

string

controlplayergroups

Ability to join/leave/invite/op own player groups and their chat channels

public static string controlplayergroups

Field Value

string

controlserver

Ability to restart/shutdown server, reload mods, etc.

public static string controlserver

Field Value

string

freemove

Ability to fly or change movepseed

public static string freemove

Field Value

string

gamemode

Ability to set own game mode

public static string gamemode

Field Value

string

give

Ability to create block from given block id

public static string give

Field Value

string

grantrevoke

Ability to set player role and ability to grant/revoke individual privileges. A player can only grant the same or a lower level group and the same or less privileges.

public static string grantrevoke

Field Value

string

kick

Ability to kick players

public static string kick

Field Value

string

manageplayergroups

Ability to create/disband own player groups and their chat channels

public static string manageplayergroups

Field Value

string

pickingrange

Ability to set own picking range

public static string pickingrange

Field Value

string

readlists

Ability to see client, group, banned user and area lists

public static string readlists

Field Value

string

root

Ability to do everything and have all permissions

public static string root

Field Value

string

selfkill

Ability to use the /kill command

public static string selfkill

Field Value

string

setspawn

Ability to set default spawn

public static string setspawn

Field Value

string

setwelcome

Ability to set welcome message

public static string setwelcome

Field Value

string

time

Ability to read, modify game world time

public static string time

Field Value

string

tp

Ability to teleport

public static string tp

Field Value

string

useblock

Interact with block (e.g. door, chest)

public static string useblock

Field Value

string

useblockseverywhere

Use blocks everywhere, completely ignoring area permissons. You still need to be in creative mode however.

public static string useblockseverywhere

Field Value

string

whitelist

Ability to whitelist/unwhitelist a player

public static string whitelist

Field Value

string

Methods

AllCodes()

public static string[] AllCodes()

Returns

string[]