Commands and Permissions
This plugin requires no configuration by default, server owners can use it out of the box (hot-loading plugins may cause default permissions to be invalid)
For many types mentioned below that you don't know, please use tab completion for lower versions, 1.12+ will automatically remind
# Permissions
Permission | Purpose | Default Owner |
---|---|---|
playerTask.addDemand | Add task objectives | op |
playerTask.addReward | Add task rewards | op |
playerTask.addShop | Add task coin shop items | op |
playerTask.open | Daily task GUI | op |
playerTask.shop | Task coin shop GUI | op |
playerTask.create | Create tasks | op |
playerTask.view | Manage tasks | op |
playerTask.getToday | Immediately get today's tasks | op |
playerTask.delToday | Clear today's task list and all players' tasks (1.4.1+) | op |
playerTask.reload | Reload configuration | op |
playerTask addNpcTask | Add NPC tasks (1.6.0+) | op |
playerTask.edit | Edit tasks (1.7.1+) | op |
playerTask.convert | Convert data source | op |
playerTask.setRarity | Edit task rarity (1.8.7+) | op |
playerTask.changeItem | Generate task scrolls (1.9.0+) | op |
playerTask.setDescription | Add task descriptions (1.9.7+) | op |
playerTask.coin | Operate player task coins (1.13.2+) | op |
playerTask.openNpc | Command to open corresponding NPC task list (2.0.1+) | op |
playerTask.setEnableCommand | Set commands executed when claiming NPC tasks (2.1.3+) | op |
playerTask.openMeNpcTask | Open own claimed NPC task list (2.1.3+) | op |
# Commands (Administrator):
Command | Purpose |
---|---|
/plk addDemand [objective type] [quantity] (description) | Add task objective (requires holding corresponding item in main hand) |
/plk addReward [reward type] [quantity] (description) | Add task reward (if reward type is item, requires holding corresponding item in main hand) |
/plk addShop [type] [price] | Add task coin shop item reward (type: one-time purchase: once; unlimited purchase: infinite) |
/plk create [task name] (task type) (task rarity) | Use GUI to create tasks (recommended) |
/plk view [type] | Use GUI to view and manage types, [list: tasks, demand: task objectives, reward: task rewards, e.g.: /plk view list |
/plk getToday | Immediately execute once the get today's tasks program |
/plk delToday | Clear today's task list and all players' tasks (1.4.1+) |
/plk reload | Reload configuration |
/plk addNpcTask [task id] [npcId] [permanent task] [completable times] [cooldown] (prerequisite task id) | Add NPC tasks (1.6.0+) |
/plk edit [task id] | Use GUI to edit tasks (1.7.1+) |
/plk convert [type] | Convert data source, type mysql or sqlite |
/plk setRarity [task id] [rarity] | Edit task rarity (1.8.7+) |
/plk changeItem [task id] (player name) | Generate task scrolls (1.9.0+) |
/plk setDescription [task id] [task description] | Add task description (1.9.7+) |
/plk coin [type] [player name] [quantity] | Operate player task coin quantity (1.13.2) |
/plk openNpc [npcId] | Command to open corresponding NPC task list (2.0.1+) |
/plk setEnableCommand [task ID] [command] | Set commands executed when claiming NPC tasks (2.1.3+) |
/plk openMeNpcTask | Open own claimed NPC task list (2.1.3+) |
[] Required () Optional
# Commands (Players):
Command | Purpose |
---|---|
/plk open | Open daily task GUI |
/plk shop | Open task coin shop GUI |
# Currently supported task objective types are as follows
craftItem
blockBreak
Fish
Interact
kill
consume
killNormal
submit
killPlayer
enchantment
shear
breed
tame
chat
killMp
interaction
command
Enchantment Types WIKI (opens new window)
# Currently supported task reward types are as follows
vault 金币
playerPoints 点券
coin 任务币
itemStack 物品
command 命令
# Command type explanation
# Player executes command, 0 in the middle means execute as player identity, will fail if player has no permission
/plk addReward command 0 eco#give#${player}#666 This is description
# Player executes command, 1 in the middle means execute as op identity
/plk addReward command 1 eco#give#${player}#666 This is description
# Console executes command, 2 in the middle means console execution
/plk addReward command 2 eco#give#${player}#666 This is description
# Task type explanation
Task types are divided into everyday (daily tasks) and npc (NPC tasks), not interchangeable
# Task rarity
Description | Rarity | Recommended task name color code |
---|---|---|
Normal task | normal | &f |
Advanced task | advanced | &1 |
Rare task | rare | &5 |
Rarer task | rarer | &d |
Epic task | epic | &e |
Mythical task | mythical | &e&l |