/Mineflow

Easily create and execute the original flow like a plugin

Primary LanguagePHPUniversity of Illinois/NCSA Open Source LicenseNCSA

Mineflow

GitHub license

PoggitCI Badge



English

You can combine actions and create something like a plugin without any coding knowledge.

* Some of the actions are hidden by default to prevent abuse. To show them all, please run mineflow permission <your name> 2 from the console.

Command

command description
/mineflow language <eng | jpn> Change language
/mineflow recipe [add | edit | list] Manage recipes
/mineflow command [add | edit | list] Manage command triggers
/mineflow form Manage form triggers
/mineflow permission Change player's permission level
/mineflow setting Setting

ActionPermission

level types of actions that will be available
0 -
1 command from console, manage permission, (dis)allow fly, loop
2 configuration file

To change the permission, run /mineflow permission <name> <level>. The level you give can only be used below your level. You can give a maximum level from the console.

Variable

Characters enclosed by "{" and "}" are recognized as variables and will be replaced.
examples: {target}, {item}

more details

Tutorial

Create a recipe

Execute "/mineflow recipe add" and enter the recipe name and group name. (The group name can be left blank.)
Add a variety of actions to the recipe.

Execute a recipe

Add a trigger from "Edit trigger" of the form. Then, when the trigger occurs, the recipe will be executed.

Change the executor

By default, the player who fired the trigger goes into the {target} variable of the recipe. It can be changed from "Change the target" on the form to any of the specified players, all players, random players, or none.

arguments and return values

You can set the value to be inherited from the original action, and the value to be returned when executing in the "Callback the other recipe" action.

Examples

CheckId command

Send the ID of the item in the player's hand to the chat field when execute /id. Download

steps
  1. Execute /mineflow command add and add the /id command.
    addCommand
  2. Execute /mineflow recipe add and add a recipe with a name of your choice.
    addRecipe
  3. Click Edit actions > Add action > Player to add a Send message to chat field to the recipe you have created.
  4. Enter {target.hand.id}:{target.hand.damage} in the message field of Send message to chat field.
    addAction ({target.hand} contains information about the item in the player's hand.)
  5. Click Edit trigger > Add trigger > Command and enter id in the name of command field. addTrigger
To send more information of item

{target.hand} is item variable. {target.hand.name} is replaced by the item name and {target.hand.count} by the number of items.

To be able to use it non-OP

Set the permissions of the command to anyone can execute on the form to add the command or in the command menu.

copyright

Icons made by Pause08 from www.flaticon.com