Rice Plugins Rice Plugins
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • CompanionsPlus
    • AfDianPay
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • Fair-DanTiao
    • McMmoView
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
🏡 Home
  • Paid Plugins

    • PlayerGuild
    • RandomShop
    • PlayerAuction
    • CompanionsPlus
    • AfDianPay
    • PlayerTop
  • Partial Paid

    • PlayerTitle
    • PlayerTask
    • PlayerWarp
  • Open Source (Paid)

    • PlayerMenu
    • PlayerChat
    • ip2region
    • PlayerReturn
    • OfflinePapi
  • Free Plugins

    • PlayerIntensify
    • PlayerCurrency
    • DeepSeek
    • MonsterPlus
    • RiceMotd
    • RiceNotice
    • PlayerRace
    • PlayerRewards
    • PlayerFatigue
    • LoginExpansion
    • PlayerSignIn
    • OauthLogin
    • Fair-DanTiao
    • McMmoView
    • ResidenceEnhance
discord (opens new window)
  • 中文 (opens new window)
  • English (opens new window)
  • Basic

    • Introduction
    • Commands and Permissions
    • Variable Support
    • Adding Tasks
      • Kill Tasks
      • Image Gallery
      • Video Gallery
      • Frequently Asked Questions
      • Purchase Notice
      • Update Log
    • Pro

      • NPC Tasks
      • Scroll Tasks
      • Task Rarity
    • Affiliate

      • More Tasks
    • Developer

      • API
    • PlayerTask
    • Basic
    handy
    2023-04-05
    目录

    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

    add add add add add add add add add add add add

    Variable Support
    Kill Tasks

    ← Variable Support Kill Tasks→

    Theme by Vdoing | Copyright © 2020-2025 Rice Plugins - All Rights Reserved
    • 跟随系统
    • 浅色模式
    • 深色模式
    • 阅读模式