JustPoints

存储玩家属性或余额的数值,通过文本键指定。-> 支持Folia和多服务器!

资源图片
![Dependencies](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/Dependencies.png?raw=true) * [BukkitOfUtils](https://modrinth.com/plugin/bukkitofutils) ![Discord](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/JoinTheDiscord.png?raw=true) 请加入 Streamline Hub Discord 以获取更新,并让我完全协助您解决错误、问题或提出建议。 Discord: [**点击这里**](https://dsc.gg/streamline) ![Summary](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/Summary.png?raw=true) 存储玩家的统计数据、货币等数值。这对于需要进行大量自定义货币/统计逻辑但不想完全创建自己插件的服务器非常有用。使用 [**PointsExchange**](https://modrinth.com/plugin/pointsexchange) 和您选择的 GUI 插件,允许玩家使用这些货币购买物品,或只是查看他们的统计数据。 我最初是为我正在制作的一个服务器制作的,该服务器有地下城,我们想跟踪玩家的 `Bosses Killed`。我还将其用于代理服务器进行网络范围内的货币(`Credits`)。 ![Why This?](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/WhyThis.png?raw=true) 它提供非常简单配置和设置,同时保持非常轻量级。将其连接到数据库以实现多服务器/网络兼容性。或者... 仅使用 SQLite 进行单服务器操作。 ![How to Install](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/HowToInstall.png?raw=true) 1. 下载并安装 BukkitOfUtils。在这里找到:[BukkitOfUtils](https://modrinth.com/plugin/bukkitofutils) 2. 下载适用于您服务器版本的此插件的正确版本。 3. 放置在您的 `plugins` 文件夹中。 4. 停止服务器。 5. 启动服务器。 6. 随意使用。 ![More Info](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/MoreInfo.png?raw=true) ## 如何向/设置/移除玩家的点数 1. 安装插件。(如上所示。) 2. 使用命令: i. `/pnts add ` ii. `/pnts set ` iii. `/pnts remove ` 示例: * `/pnts add Drakified PlayerGold 5` *注意: `` 是您想要的点数名称。它需要是一个单词 (例如 `MyCoolPoints`)* ## 如何与 Placeholder API 一起使用 1. 安装插件。(如上所示。) 2. 安装 Placeholder API。 3. 使用占位符: i. `%jpoints_%` ii. `%jpoints_other__%` 示例: * `/papi parse Drakified %jpoints_PlayerGold%` -> 获取 **JustPoints** 中 **Drakified** 的 `PlayerGold` 值。 * `/papi parse BruhWaffle %jpoints_other_Drakified_PlayerGold%` -> 获取 **JustPoints** 中 **Drakified** 的 `PlayerGold` 值,并将其提供给 **BruhWaffle**。 ## 功能 * 增加/移除/设置玩家的指定点数: * 可用作经济系统。 * 轻松设置玩家的统计数据。 * 多服务器网络的数据库功能。 * 自动保存。 * 异步加载 / 保存。 * 离线和在线玩家保存 / 加载。 * 玩家不需要在线即可查看/编辑他们的点数。 ![Commands and Permissions](https://github.com/Streamline-Essentials/StreamlineWiki/blob/main/website/images/CommandsAndPermissions.png?raw=true) ## 命令 `` `(optional)` * `/pnts` * `/pnts ` * 增加/移除/设置玩家的 `points-key` 值 * 示例: * `/pnts add Drakified PlayerGold 5` * `/pnts ` * 显示玩家的 `points-key` 值。