By continuing to use this site, you agree to the Terms of Service of this website, including usage of cookies.

OK, Don't show this again

Give the player a mission!
version 1.7.2
Approved
Direct Download How to install?
Switch version
61 Downloads / 1730 Total
9 Reviews
Plugin Description §

Operation example

mission

Command

command name description permission alias player only
mission Show mission mission.command.mission mi Yes

The mission command allows you to specify a name, ID, and Short ID as arguments. Returns a all missions list if no arguments are specified or the specified mission does not exist.

Sub command (/mission)

sub command name description permission alias player only
edit Edit mission mission.command.mission.edit None Yes
setting Settings mission.command.mission.setting set, config Yes
list Show the missions list mission.command.mission.list l Yes
info Show plugin information mission.command.mission.info i No

The edit subcommand allows you to specify a name, ID, and Short ID as arguments. Returns a all missions list if no arguments are specified or the specified mission does not exist.

The list subcommand allows you to specify a group name as arguments. Returns a all missions list if no arguments are specified.

Permission

permission name default
mission.command.mission true
mission.command.mission.edit op
mission.command.mission.setting op
mission.command.mission.list true
mission.command.mission.info op

Usage

Item description

  • Maximum number of achievements: Number of times you can complete a mission
  • Target step: Target number of steps
  • Steptrigger: Trigger to increase mission steps

Mission creation example

  • Achieved after breaking blocks 10 times
  • The reward is 10 diamonds
  • Can be achieved up to once
  1. Execute command: /mission edit
  2. Select "Add mission"
  3. Input the 1 to "Maximum number of achievements" and 10 to "Target step"
  4. Select the created mission
  5. Select "Edit reward"
  6. Select "Add reward"
  7. Specify "Item reward" for "Reward type"
  8. Input the 264(Diamond ID) to "ID" and 10 to "Amount"
  9. Select "Edit steptrigger"
  10. Select "Add steptrigger"
  11. Specify "Event" for "Steptrigger type"
  12. Specify "BlockBreakEvent" for "Event"

If it looks like this, it ’s a success.

screenshot_20201014_081717

Cooperation with Mineflow plugin

Create reward with recipe

  1. Add "Mineflow reward" by referring to [Mission creation example](#Mission creation example)
  2. Select "MissionReward" with the trigger on the Mineflow plugin side and specify the target mission
Examples
  • Recipe

screenshot_20201014_081807

  • Mission

screenshot_20201014_081952

screenshot_20201014_082017

screenshot_20201014_082029

Tips
  • The variable "target" can be used in Mineflow recipes triggered by mission rewards
  • Even if you want to create multiple recipe rewards, please limit the number of "Mineflow reward" to one
  • If you want to create multiple rewards based on recipes and want to display the second and subsequent rewards, you can use "Nothing (text show only)"

Use the recipe as a Steptrigger

  1. Open the action addition screen on the Mineflow plugin side and select "Mission", "Increase the mission step" to add
Examples

screenshot_20201014_082129

Tips
  • No setting is required on the mission side
  • By combining conditional expressions on the recipe side, it is possible to make fairly flexible settings

Cooperation with external plugins (for developers)

Prerequisites

  • Add this plugin to depend in plugin.yml

Add reward type

  1. Create a class that inherits Reward (see existing Reward for implementation example)
  2. Add that class to Reward
pjz9n\mission\reward\Rewards::add(ExampleReward::class);

Add Steptrigger type

  1. Create a class that inherits Executor (see existing Executor for implementation example)
  2. Add that class to Executor
pjz9n\mission\mission\executor\Executors::add(ExampleExecutor::class);

Operate Mission

pjz9n\mission\mission\MissionList

Operate Progress

`pjz9n\mission\mission\progress\ProgressList`

Add event to Event Steptrigger

Instances of PlayerEvent or events with getPlayer methods are added by default. However, you may want to add an EntityDamageByEntityEvent event that has a getDamager method. It can be used in such cases.

pjz9n\mission\mission\executor\EventList::addEvent(EntityDamageByEntityEvent::class, function (Event $event): ?Player {
    /** @var EntityDamageByEntityEvent $event */
    $damager = $event->getDamager();
    return $damager instanceof Player ? $damager : null;
});

See the source code for details

* The timing of each operation does not matter (basically, it is desirable to perform it at the plug-in activation timing)

What's new §
  • Fix issue #37
  • Add Spanish language
  • Add Russian language
  • Support the Mineflow 2.x.x
  • Event Executor refactoring
  • Fix #24
  • Fixed Mineflow Trigger crash #22
  • Support ScoreHUD addon
  • Support pinning
  • Added command to display plugin information

Unaskedcorn
using v1.7.1
21 Apr 21
can one also make the language german in future updates?
PJZ9n
22 Apr 21
Yes, it is technically possible. However, I don't understand German, so I would appreciate it if you could cooperate with the translation. https://github.com/pjz9n-pm-pl/Mission/wiki/How-to-support-new-languages
OguzhanUmutlu
using v1.6.2
27 Mar 21
This is actually epic.
DoyleShinic
using v1.6.2
22 Mar 21
gpp
BLAST1718
using v1.6.0
14 Jan 21
NICE
Endermanbugzjfc
using v1.6.0
12 Jan 21
Epic
cheeseland-dev
using v1.4.0
23 Dec 20
KygekDev
using v1.4.0
15 Dec 20
@ItzFabb-uwu ⋋_⋌
ItzFabb-uwu
using v1.4.0
15 Dec 20
this is what people needed it instead that stupid kygek whitelist this plugin is deserve more stars
EinfachPocket
using v1.2.1
14 Dec 20
Really good plugin, if you want I'll write you the German language! :)

Reply to review by :

Supported API versions
3.4.0
->
3.19.1
Dependencies
ScoreHud 5.2.0
Optional
View Plugin
Mineflow 2.0.1
Optional
View Plugin
Producers §
  • Contributors:
    • @Adam1609
    • @aieuo
  • Translators:
    • @Brice-Harper
    • @UnEnanoMas
    • @kostamax27
License §
Categories:
General
Informational
Permissions
Other files
Permissions
Commands

You can leave one review per plugin release, and delete or update your review at any time

Loading...