Codex
  • Codex Wiki
  • How to Start
  • Discoveries/Categories Tutorial
  • Items Tutorial
  • Config.yml Tutorial
  • Inventory.yml Tutorial
  • Actions
  • Commands and Permissions
  • PlaceholderAPI variables
  • API
  • Customized Discoveries Tutorial
  • Default Files
    • messages.yml
    • inventory.yml
Powered by GitBook
On this page
  • Message
  • Centered Message
  • Console Command
  • Player Command
  • Play Sound
  • Title

Was this helpful?

Actions

PreviousInventory.yml TutorialNextCommands and Permissions

Last updated 4 months ago

Was this helpful?

Actions can be used as rewards when unlocking discoveries. More info .

Message

Sends a message to the player.

message: #eeeeee&lCODEX UPDATED &7Monsters: %name%

Centered Message

Sends a centered message to the player.

centered_message: &7Check it now by using #eeeeee/codex

Console Command

Executes a command from the console.

console_command: eco give %player% 5000

Player Command

Executes a command from the player.

player_command: menu

Play Sound

playsound: BLOCK_NOTE_BLOCK_PLING;1;0.1

Title

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

title: 20;60;20;#eeeeee&lCODEX UPDATED;&7Monster: %name%

Plays a sound to the player. Use this format: "playsound: sound;volume;pitch You can find a list of sounds here:

https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Sound.html
HERE