Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/replcraft/lib/token.ts>Token

A library to control special structures on the ReplCraft Minecraft server
Latest
class Token
implements TokenOptions
import { Token } from "https://deno.land/x/replcraft@v1.1.0/lib/token.ts";

Constructors

new
Token(raw: string, unnamed 1: TokenOptions)

Properties

readonly
host: string
readonly
location: WorldLocation
readonly
owner: Player
readonly
permission: TokenPermission
readonly
raw: string

Static Methods

from(token: string): Token

Parse a ReplCraft token from the specified string.