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

x/replcraft/lib/client.ts>Client#pay

A library to control special structures on the ReplCraft Minecraft server
Latest
method Client.prototype.pay
import { Client } from "https://deno.land/x/replcraft@v1.1.0/lib/client.ts";

Pay the player the specified amount of currency.

Parameters

player: Player

Which player to give the money to

amount: number

How much money to give the player

Returns

Promise<void>