Skip to content

Adding Tasks ​

Example ​

Explanation:

This plugin's logic is:
1. First, have task objectives and task rewards
2. Then combine multiple task objectives and task rewards to create a task
3. Tasks are now divided into two types: NPC tasks and daily tasks (1.6.0+)
4. Note: For compatibility with RPG items, please make sure to keep the durability of held items at full, otherwise there will be issues where items are crafted but the task doesn't +1, that's because the durability doesn't match

Suppose we want to create a task Task name: &f[&eBeginner Task&f]

Requirement 1: Craft 3 diamond blocks Requirement 2: Mine 10 diamond ores

Reward 1: 1 diamond helmet Reward 2: 100 coins

Step 1. Add: Task objectives

Hold diamond block in main hand and input
/plk addDemand craftItem 3
Hold diamond ore in main hand and input
/plk addDemand blockBreak 10

Step 2. Add: Task rewards

Hold diamond helmet in main hand and input
/plk addReward itemStack 1
Direct input
/plk addReward vault 100

Step 3. Add daily task

/plk create &f[&eBeginner Task&f] everyday

Step 3. Add NPC task (1.6.0+)

/plk create &f[&eBeginner Task&f] npc

Special reminder:

After creating a task for the first time, it won't appear in /plk open, you need to use /plk gettoday to get today's tasks
After that, daily tasks will automatically refresh at 00:00 every day (NPC tasks won't refresh)

This completes a task, the task objectives and task rewards above can be reused infinitely once created.

Screenshot explanation ​

addaddaddaddaddaddaddaddaddaddaddadd