示例视频:即将推出!
此插件为 Minecraft 服务器上的玩家提供挂机(AFK)奖励机制,玩家在线挂机即可获取特殊点数,并可在游戏内的商店中使用这些点数兑换物品。
通过创建有趣的挂机积分商店来鼓励玩家参与,让他们只需保持活跃即可获得奖励,无需复杂的设置或配置!
- 在指定的挂机区域内,随时间推移向玩家发放 挂机积分
- 创建一个或多个 积分商店,并定义使用积分兑换的自定义物品作为奖励
- 自动保存 并记录每位玩家的积分余额和商店数据
- 通过直观的游戏内图形用户界面(GUI)轻松配置 商店物品和价格
- 集成 PlaceholderAPI,实时显示 积分余额 以进行动态更新
- 所有 DP-Plugins 插件均需依赖
DPP-Core 插件。
- 若未安装
DPP-Core,本插件将无法运行。
- 您可在此下载
DPP-Core:点击这里!
- 本插件支持 PlaceholderAPI 集成。
- 若未安装 PlaceholderAPI,本插件提供的占位符功能将无法生效。
1️⃣ 将 DPP-Core 插件和本插件文件(DP-AFKShop-*.jar)放入服务器的 plugins 文件夹中。
2️⃣ 重启服务器,插件将自动启用。
3️⃣ 如有需要,您可以打开并修改 config.yml 和 plugin.yml 来自定义设置。
config.yml:管理插件的基本设置(如挂机积分获取间隔和提示信息)。
❗ 部分命令需要管理员权限(dpas.admin)。
命令列表及示例
| 命令 |
权限 |
描述 |
示例 |
/dpas create <name> |
dpas.admin |
创建一个新的挂机积分商店 |
/dpas create MyShop |
/dpas items <shop_name> |
dpas.admin |
打开 GUI 以编辑现有挂机积分商店的物品 |
/dpas items MyShop |
/dpas price <shop_name> |
dpas.admin |
打开 GUI 以编辑现有挂机积分商店的物品价格 |
/dpas price MyShop |
/dpas maxpage <shop_name> <maxPage> |
dpas.admin |
设置指定商店的最大页数 |
/dpas maxpage MyShop 5 |
/dpas pointset <time> <amount> |
dpas.admin |
设置挂机时每个时间间隔获得的积分数量 |
/dpas pointset 60 5 |
/dpas areaadd <areaName> |
dpas.admin |
添加一个新的可累积挂机积分的区域 |
/dpas areaadd Lobby |
/dpas arearemove <areaName> |
dpas.admin |
移除现有的挂机积分累积区域 |
/dpas arearemove Lobby |
/dpas areamode |
dpas.admin |
切换区域选择模式,用于定义挂机积分区域 |
/dpas areamode |
/dpas areaset <areaName> |
dpas.admin |
将选定的区域保存为挂机积分区域 |
/dpas areaset Lobby |
/dpas open <shop_name> |
None |
打开指定的挂机积分商店以供浏览和购买 |
/dpas open MyShop |
❗ 使用命令时的注意事项
- 商店名称和区域名称支持韩文和英文,但不允许包含空格。
- 输入无效的命令或名称时将显示错误消息。
- 商店物品和价格通过 GUI 进行编辑并自动保存。
- 挂机区域通过选择两个对角点来定义,然后保存该区域。
- 管理员命令需要 OP 状态或
dpas.admin 权限。
在您的服务器上实时显示玩家的挂机积分余额!
%dpas_point%:玩家当前拥有的挂机积分数量。
- 如有任何问题或故障,请联系您的服务器管理员或参阅插件分发页面。
- 欢迎随时提出新功能或改进建议!
Example Video : Coming soon!
This plugin rewards players on a Minecraft server with special points for staying online (AFK) and allows them to exchange those points for items in an in-game shop.
Encourage player engagement by creating fun AFK point shops where players can earn rewards just by being active, all without complicated setup or configuration!
- Reward players with AFK Points over time for remaining in designated AFK areas
- Create one or multiple point shops and define custom items as rewards for points
- Automatically save and track each player’s point balance and shop data
- Easily configure shop items and prices through an intuitive in-game GUI
- Real-time point balance display via PlaceholderAPI integration for live updates
- All DP-Plugins require the
DPP-Core plugin.
- The plugin will not work if
DPP-Core is not installed.
- You can download
DPP-Core here: Click me!
- This plugin integrates with PlaceholderAPI.
- If PlaceholderAPI is not installed, the placeholder features provided by this plugin will not work.
1️⃣ Place the DPP-Core plugin and this plugin file (DP-AFKShop-*.jar) into your server’s plugins folder.
2️⃣ Restart the server, and the plugin will be automatically enabled.
3️⃣ If needed, you can open and modify config.yml and plugin.yml to customize settings.
config.yml: Manages basic plugin settings (such as AFK point interval and messages).
❗ Some commands require admin permission (dpas.admin).
Command List and Examples
| Command |
Permission |
Description |
Example |
/dpas create <name> |
dpas.admin |
Create a new AFK point shop |
/dpas create MyShop |
/dpas items <shop_name> |
dpas.admin |
Open a GUI to edit the items of an existing AFK point shop |
/dpas items MyShop |
/dpas price <shop_name> |
dpas.admin |
Open a GUI to edit item prices in an existing AFK point shop |
/dpas price MyShop |
/dpas maxpage <shop_name> <maxPage> |
dpas.admin |
Set the maximum number of pages for the specified shop |
/dpas maxpage MyShop 5 |
/dpas pointset <time> <amount> |
dpas.admin |
Set the points awarded per interval while AFK |
/dpas pointset 60 5 |
/dpas areaadd <areaName> |
dpas.admin |
Add a new area where AFK points can be accumulated |
/dpas areaadd Lobby |
/dpas arearemove <areaName> |
dpas.admin |
Remove an existing AFK point accumulation area |
/dpas arearemove Lobby |
/dpas areamode |
dpas.admin |
Toggle area selection mode for defining AFK point areas |
/dpas areamode |
/dpas areaset <areaName> |
dpas.admin |
Save the selected region as an AFK point area |
/dpas areaset Lobby |
/dpas open <shop_name> |
None |
Open the specified AFK point shop for browsing and purchases |
/dpas open MyShop |
❗Notes when using commands
- Shop and area names support Korean and English, but spaces are not allowed.
- Invalid commands or names will display an error message.
- Shop items and prices are edited via GUI and saved automatically.
- AFK areas are defined by selecting two corner points, then saving the region.
- Admin commands require OP status or the
dpas.admin permission.
Display a player’s AFK point balance in real-time on your server!
%dpas_point%: The number of AFK points the player currently has.
- If you have any questions or issues, please contact your server administrator or refer to the plugin distribution page.
- Feel free to leave suggestions for new features or improvements anytime!
评论 0
登录后参与评分
还没有评论,来抢沙发吧