Iaiao / LFunctions

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LFunctions

This plugin is a replacement for /function that doesn't require being a senior datapack developer to edit config.yml

Here we have 4 concepts:

Action

Action is command (player executes /command), [SERVER] command (console executes /command), #[SERVER] command (console executes /command but player sees the command output), !!sleep <seconds> (delay before next command)

Function

Each function is a list of Actions which will be executed in right order. You can run them: / (only if you have lfunctions.function. permission).

Event

You can bind some functions to in-game events: for example, when the player joins, run the greeting function.

Arguments

You can add arguments to your function using / . If the argument has spaces / """""" """""" (surround them with triple quotes). Then %arg is replaced with in each action (example: /say %arg1). Also some events pass arguments:

  • join: %arg1 = player real name, %arg2 = player display name (with colors, maybe prefixes and other stylizations)

About

License:GNU General Public License v3.0


Languages

Language:Java 100.0%