Skip to content

1. Getting Started

Terry edited this page Apr 28, 2023 · 8 revisions

Welcome to the PointsAPI wiki!

Installation

Step 1: Download the plugin here and install it on your server.
Step 2: Edit config.yml in plugins/PointsAPI folder and setup your MySQL-Configuration and restart the server.
Step 3: You're done! PointsAPI is now running on your server.

Plugin

Commands

Overview of the commands provided by PointsAPI:

Command Usage Description Permission
/points <player> Show points of a player points.show
/apoints or /ap set <player> <amount> Set points of a player points.admin
/apoints or /ap add<player> <amount> Add points to a player points.admin
/apoints or /ap remove <player> <amount> Remove points from a player points.admin

Configuration

Overview of the config.yml in plugins/StatsAPI:

mysql:
  host: localhost
  port: 3306
  database: points
  user: root
  password: password
start_points: 0
language:
  prefix: "&8[&6Points&8] "
  player_not_found: "&7Player &c%player% &7not found."
  points_self: "&7You have &6%points% &7points."
  points_others: "&2%player% has &6%points% &7points."
  player_points_set: "&7Points of &2%player% &7has been set to &6%amount%"
  player_points_removed: "&2%amount% &7removed from &2%player%'s &7Points."
  player_points_added: "&6%amount% &7added to &2%player%'s &7Points."
  wrong_usage: "&7Wrong usage: &6%usage%"

IMPORTANT: It's recommended to restart the server to save changes.

Clone this wiki locally