@bdsx/phapi-player
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

phapi-player Plugin

Extension to @bdsx/bdsx-placeholderapi. Adds a bunch of player placeholders for you to use in your plugin

How to install

npm i @bdsx/phapi-player

How to use

Use it just like you would any other placeholder. You can find a list of the added placeholders here; Example:

import { setPlaceholders } from '@bdsx/bdsx-placeholderapi'
events.playerJoin.on((ev) => {
    let player = ev.player;
    broadcast(setPlaceholders("Welcome to the server %player_name%!", player)); 
});

Readme

Keywords

none

Package Sidebar

Install

npm i @bdsx/phapi-player

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

122 kB

Total Files

17

Last publish

Collaborators

  • sacripudding