EpicCraftingsPlus
  • EpicCraftingsPlus WIKI
  • How to Start
  • Craftings Tutorial
  • Extra Requirements
  • Items Tutorial
  • Config.yml Tutorial
  • Inventory.yml Tutorial
  • Categories Tutorial
  • Actions
  • Crafting Places
  • Commands and Permissions
  • PlaceholderAPI variables
  • API
  • Default Files
    • Inventory.yml
    • Messages.yml
Powered by GitBook
On this page
  • Player Command
  • Console Command
  • Player Command as Op
  • Title
  • Playsound
  • Firework
  • Message
  • Close Inventory

Actions

PreviousCategories TutorialNextCrafting Places

Last updated 1 year ago

Actions can be used when crafting an item, specifically in the option. They can also be used when clicking inventory items.

Player Command

Executes a command from the player. You can use PlaceholderAPI variables.

player_command: spawn

Console Command

Executes a command from the console. Use %player% variable for player name. You can use PlaceholderAPI variables.

console_command: lp user %player% parent set vip

Player Command as Op

Executes a command from the player as OP. (Not recommended)

player_command_as_op: help

Title

Sends a title and subtitle to the player. Use this format: <fadeIn>;<stay>;<fadeOut>;<title>;<subtitle> fadeIn, stay and fadeOut must be in ticks, 20ticks = 1second. If you want just a title, or just subtitle write "none".

title: 20;40;20;&6&lCRAFTED AN EPIC SWORD;none

Playsound

playsound: BLOCK_NOTE_BLOCK_PLING;10;0.1

Firework

firework: colors:YELLOW,RED type:BALL fade:AQUA power:0

Message

Sends a message to the player. You can use PlaceholderAPI variables.

message: &fHello there

Close Inventory

Closes the player inventory.

close_inventory

Plays a sound to the player. Use this format: <sound>;<volume>;<pitch> You can find a list of sounds here: Latest Versions: Legacy Versions:

Spawns a firework from the player location. Use this format: "firework: colors:<color1>,<color2> type:<type> fade:<color1>,<color2> power:<power>" The fade property is optional. Firework Colors: Firework Types:

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
https://helpch.at/docs/1.8.8/index.html?org/bukkit/Sound.html
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Color.html
https://hub.spigotmc.org/javadocs/spigot/org/bukkit/FireworkEffect.Type.html
Actions When Crafted