bukkitgui2 icon indicating copy to clipboard operation
bukkitgui2 copied to clipboard

Feature Request: "Return" parameters in Tasks

Open vico93 opened this issue 9 years ago • 0 comments

Basically, It's the inverse of existent parameters for tasks, since this are fed by the user. My request is the inverse: parameters fed by the current trigger.

An example: Consider a task with the Player join trigger returning a pname or even puuid parameter. If the joining player name is get, we can give or other similar commands, like /give %pname% minecraft:stone or similar.

This feature will be of huge usefulness for starter kits. Another parameter (or even a different trigger, like "Player first join") could be a boolean that informs if the player just joined the server for the first time or not.

Additionally the position of player could be returned as well to operations with setblock, and we could make basic math using parameters. Example in a "Player join" Trigger returning a pX, pY and pZ: /setblock %pX%+1 %pY%+2 %pZ%-3 <TileName> [dataValue] [oldBlockHandling] [dataTag]

vico93 avatar Jun 06 '16 23:06 vico93