Warning:
this update requires you to reset your
input-formats.yml
This is likely the last time a config reset is required. Sorry for the inconvenience, but especially in the initial phase of the plugin, the new additions are too many to avoid this!
Changes
- Added many powerful new actions for enhanced player interaction
- Completely restructured action format for better organization
- Cleaned up and better configuration documentation
- Added targetPlayer parameter to many actions to allow action execution for other players.
The
input-formats.yml file went from this:
Code (YAML):
success:
message
:
"&aText received: {input}"
sound
:
"BLOCK_NOTE_BLOCK_PLING;1.0;1.2"
commands:
- "console_command
: say Player
{player
} submitted
:
{input
}
"
to this:
Code (YAML):
actions:
start:
- "send_message
:
&ePlease enter your text:
"
- "send_title
:
&6Input Required;&7Type your response;10;70;20
"
- "send_bossbar
:
&eEnter your response
...;YELLOW;SOLID;0.0;200
"
- "add_effect
: SPEED;10;1;false;true
"
success:
- "send_message
:
&aText received
:
{input
}
"
- "play_sound
: BLOCK_NOTE_BLOCK_PLING;1.0;1.2
"
- "send_bossbar
:
&a&lSUCCESS!;GREEN;SOLID;1.0;100"
- "give_item
: DIAMOND;1;&6&lReward Diamond;&7You earned this!
"
- "console_command
: say Player
{player
} submitted
:
{input
}
"
New Actions!
(if targetPlayer parameter is not specified, the action is executed on the user using the input)
- send_bossbar: text;color;style;progress;duration;targetPlayer - Display boss bars with customizable colors and styles
- add_effect: EFFECT;duration;amplifier;ambient;particles;targetPlayer - Add potion effects to players
- teleport: x;y;z;world - Teleport to specific coordinates
- teleport_to_player: playerName - Teleport to another player
- give_item: MATERIAL;amount;targetPlayer - Give items to player (if targetPlayer is not specified, it gives the item to the user executing the input)
- take_item: MATERIAL;amount;targetPlayer - Remove items from inventory
- clear_inventory - Clear entire player inventory
- give_money: amount;targetPlayer - Give money to player
- take_money: amount;targetPlayer - Take money from player