MineChess
  • MineChess Wiki
  • How to Start
  • How to Play: vs Player
  • How to Play: vs Computer
  • Arena Editing
  • Config.yml Tutorial
  • Inventories.yml Tutorial
  • Items Tutorial
  • Actions
  • Commands and Permissions
  • PlaceholderAPI variables
  • API
  • FAQ
  • Resources
    • Arena schematic
    • Resource Pack 1.21.3-
    • Resource Pack 1.21.4+
  • Default Files
    • inventories.yml
    • messages.yml
Powered by GitBook
On this page
  • Message
  • Centered Message
  • Console Command
  • Player Command
  • Play Sound
  • Title

Actions

Actions are used on certain cases while in the game, also to give rewards.

Message

Sends a message to the player.

message: &6➤ &f&l%piece% &8[&f%coords%&8] &aselected!

Centered Message

Sends a centered message to the player.

centered_message: &e&lTIME IS UP!

Console Command

Executes a command from the console.

console_command: eco give %player_winner% 100

Player Command

Executes a command from the player.

player_command: menu

Play Sound

playsound: BLOCK_PISTON_EXTEND;10;1.5

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: 10;80;10;&e&lTIME IS UP!;&eIt's a tie!
PreviousItems TutorialNextCommands and Permissions

Last updated 4 months ago

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