Плагины/JustPoints
JustPoints

JustPoints

Store numeric values of players' stats or balance, specified by a text key. -> With Folia and Multi-Server support!

583
6

Dependencies

Discord Please join the Streamline Hub Discord in order to get updates and for me to fully assist you with bugs, questions, or suggestions.

Discord: click here

Summary Store numeric values for players' stats, currency, etc. This is great for servers that need to do a lot of custom currency / statistic logic, but don't want to fully create their own plugin. Use PointsExchange and a GUI plugin of your choice to allow players to buy things with these currencies, or just see their stats.

I originally made this for a server I was making that had dungeons where we wanted to keep track of player's Bosses Killed. I also used it on a proxy server for network-wide currency (Credits).

Why This? This offers a very simple configuration and setup all while remaining very light-weight. Connect it to a database for multi-server / network compatibility. Or... just use it with SQLite for a single server.

How to Install

  1. Download and install BukkitOfUtils. Found here: BukkitOfUtils
  2. Download the correct version of this plugin for you server version.
  3. Place in your plugins folder.
  4. Stop server.
  5. Start server.
  6. Use to your liking.

More Info

How to Add/Set/Remove Points to a Player

  1. Install plugin. (Shown above.)
  2. Use a command: i. /pnts add <player> <points-key> <amount> ii. /pnts set <player> <points-key> <amount> iii. /pnts remove <player> <points-key> <amount>

Example:

  • /pnts add Drakified PlayerGold 5

Note: <points-key> is the name of the point you want. It needs to be a single word (like MyCoolPoints)

How to use with Placeholder API

  1. Install plugin. (Shown above.)
  2. Install Placeholder API.
  3. Use a placeholder: i. %jpoints_<points-key>% ii. %jpoints_other_<player-name>_<points-key>%

Examples:

  • /papi parse Drakified %jpoints_PlayerGold% -> Gets the value of PlayerGold from JustPoints as Drakified.
  • /papi parse BruhWaffle %jpoints_other_Drakified_PlayerGold% -> Gets the value of Drakified's PlayerGold value from JustPoints as BruhWaffle.

Functions

  • Add/Remove/Set specified points to/from/for a player:
    • Usable as an economy.
    • Easily set up stats for players.
  • Database capabilites for multi-server networks.
  • Autosaving.
  • Asyncronous loading / saving.
  • Offline and online player saving / loading.
    • Player does not need to be online to view / edit their points.

Commands and Permissions

Commands

<required> (optional)

  • /pnts
    • /pnts <add/remove/set> <player> <points-key> <amount>
      • Add/Remove/Set a player's value for points-key
      • Example:
        • /pnts add Drakified PlayerGold 5
    • /pnts <get> <player> <points-key>
      • Shows a player's value for points-key.

Совместимость

Minecraft: Java Edition

1.20–1.21.101.18–1.19.41.16–1.17.11.14–1.15.21.12–1.13.21.10–1.11.21.8–1.9.41.7.2–1.7.10

Поддерживаемые окружения

Сервер

Создатели

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:1 год назад
Обновлён:4 месяца назад
Главная