Skip to content

Commands ​

This plugin requires no permission configuration by default, server owners can use it out of the box (hot-loading the plugin may make the default permissions invalid). For the many types mentioned below that you do not know, use tab completion on lower versions, 1.12+ reminds you automatically.

Permissions ​

PermissionPurposeDefault Owner
playerTask.addDemandAdd task objectivesop
playerTask.addRewardAdd task rewardsop
playerTask.addShopAdd task coin shop itemsop
playerTask.openDaily task GUIop
playerTask.shopTask coin shop GUIop
playerTask.createCreate tasksop
playerTask.viewManage tasksop
playerTask.getTodayImmediately get today's tasksop
playerTask.delTodayClear today's task list and all players' tasks (1.4.1+)op
playerTask.reloadReload configurationop
playerTask addNpcTaskAdd NPC tasks (1.6.0+)op
playerTask.editEdit tasks (1.7.1+)op
playerTask.convertConvert data sourceop
playerTask.setRarityEdit task rarity (1.8.7+)op
playerTask.changeItemGenerate task scrolls (1.9.0+)op
playerTask.setDescriptionAdd task descriptions (1.9.7+)op
playerTask.coinOperate player task coins (1.13.2+)op
playerTask.openNpcCommand to open corresponding NPC task list (2.0.1+)op
playerTask.setEnableCommandSet commands executed when claiming NPC tasks (2.1.3+)op
playerTask.openMeNpcTaskOpen own claimed NPC task list (2.1.3+)op

Commands (Administrator): ​

CommandPurpose
/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 getTodayImmediately execute once the get today's tasks program
/plk delTodayClear today's task list and all players' tasks (1.4.1+)
/plk reloadReload 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 openMeNpcTaskOpen own claimed NPC task list (2.1.3+)

[] Required () Optional

Commands (Players): ​

CommandPurpose
/plk openOpen daily task GUI
/plk shopOpen task coin shop GUI

Currently supported task objective types are as follows ​

TypeDescription
craftItemCrafting
blockBreakBreaking (crops count as harvesting)
FishFishing
InteractPlacing
killKilling MM monsters
consumeConsuming items
killNormalKilling normal monsters
submitSubmitting items
killPlayerKilling players (1.13.3+)
enchantmentEnchanting (1.13.3+)
shearShearing (2.1.0+)
breedBreeding (2.4.5+)
tameTaming (2.4.6+)
chatChatting (2.4.8+)
killMpKilling Mp monsters (2.4.9+)
interactionInteracting (2.6.0+)
commandCommands (2.6.0+)

Enchantment Types WIKI

Currently supported task reward types are as follows ​

TypeDescription
vaultCoins
playerPointsPoints
coinTask coins
itemStackItems
commandCommands

Command type explanation ​

text
# 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 ​

DescriptionRarityRecommended task name color code
Normal tasknormal&f
Advanced taskadvanced&1
Rare taskrare&5
Rarer taskrarer&d
Epic taskepic&e
Mythical taskmythical&e&l