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.openOpen daily task GUItrue
playerTask.shopOpen task coin shop GUItrue
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.addNpcTaskBind a task to an NPC as a permanent task (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.openNpcOpen the task list bound to an NPC (2.0.1+)op
playerTask.setEnableCommandSet commands executed when claiming permanent tasks (2.1.3+)op
playerTask.openMeNpcTaskOpen own claimed permanent task list (2.1.3+)op
playerTask.addGlobalTaskAdd global task activities (3.0.0+)op
playerTask.openGlobalView global tasks (3.0.0+)true
playerTask.importImport tasks from import.yml (2.10.0+)op
playerTask.exportExport tasks to a config file (3.0.0+)op
playerTask.battlePassOpen the battle pass GUI (4.0.0+)op
playerTask.bpExpOperate player battle pass exp (4.0.0+)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, npc permanent tasks, shop shop, global global tasks, 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)Bind a task to an NPC as a permanent task (1.6.0+)
/plk edit [task id] (task type) (task rarity) (task name)Use GUI to edit tasks; optional args directly change type, rarity and name (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 coins; give/set/take take a player name and quantity, giveAll/setAll/takeAll only a quantity, look only a player name (1.13.2+)
/plk openNpc [npcId]Open the task list bound to an NPC (2.0.1+)
/plk setEnableCommand [task ID] [command]Set commands executed when claiming permanent tasks (2.1.3+)
/plk openMeNpcTaskOpen own claimed permanent task list (2.1.3+)
/plk addGlobalTask [task id] (start time) (end time)Add a global task activity, time format yyyy-MM-dd or yyyy-MM-dd_HH:mm:ss (3.0.0+)
/plk openGlobalOpen the global task GUI (3.0.0+)
/plk exportExport all tasks to export.yml, same format as import.yml (3.0.0+)
/plk importImport tasks from import.yml (2.10.0+)
/plk bpExp [type] (player name) (quantity)Operate player battle pass exp, same arg rules as /plk coin (4.0.0+)

[] Required () Optional

Commands (Players): ​

CommandPurpose
/plk openOpen daily task GUI
/plk shopOpen task coin shop GUI
/plk battlePassOpen the battle pass GUI (4.0.0+)

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+)
customCustom, progress reported by addon plugins

Enchantment Types WIKI

Currently supported task reward types are as follows ​

TypeDescription
vaultCoins
playerPointsPoints
coinTask coins
itemStackItems
commandCommands
battlePassExpBattle pass exp (4.0.0+)
ply_currencyIdPlayerCurrency multi-currency

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), npc (permanent tasks), reel (scroll tasks), global (global tasks, 3.0.0+), not interchangeable

Task rarity ​

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