Differences

This shows you the differences between two versions of the page.

Link to this comparison view

plugin:forceresourcepacks:actions [2024/03/16 15:56] – created - external edit plugin:forceresourcepacks:actions [2024/03/16 16:57] (current) phoenix616
Line 13: Line 13:
 ## Available Actions ## Available Actions
  
-### `MESSAGE`+### MESSAGE
  
 Sends a message to the player. Sends a message to the player.
  
-### `TITLE`+### TITLE
 Send a title (multi-line strings don't work in titles, subtitles and action bar messages) Send a title (multi-line strings don't work in titles, subtitles and action bar messages)
  
-### `SUBTITLE`+### SUBTITLE
 Send a subtitle (can be used with or without the title action) Send a subtitle (can be used with or without the title action)
  
-### `TITLE_FADEIN`+### TITLE_FADEIN
 Set the title's fade in timing (in ticks) Set the title's fade in timing (in ticks)
  
-### `TITLE_STAY`+### TITLE_STAY
 Set the title's stay timing (in ticks) Set the title's stay timing (in ticks)
  
-### `TITLE_FADEOUT` +### TITLE_FADEOUT 
-Set the title's fade out timing (in ticks)+Set the title's fade out timing (in ticks)
  
-### `ACTION_BAR`+### ACTION_BAR
 Send a message in the action bar chat slot above the user's inventory bar (supported natively on Bungee, Velocity and modern Spigot versions. For older versions use [ActionBarAPI](https://www.spigotmc.org/resources/actionbarapi-1-8-1-14-2.1315/)) Send a message in the action bar chat slot above the user's inventory bar (supported natively on Bungee, Velocity and modern Spigot versions. For older versions use [ActionBarAPI](https://www.spigotmc.org/resources/actionbarapi-1-8-1-14-2.1315/))
  
-### `KICK` +### KICK 
-Kick the player from the proxy or the server with the value of this action as the kick message+Kicks the player from the proxy or the server with the value of this action as the kick message
  
-### `SEND` +### SEND 
-Send the player to a specific server (Bungee version) or world (Bukkit version), the value of this action is the server's/world's name!+Sends the player to a specific server (Bungee version) or world (Bukkit version), the value of this action is the server's/world's name!
  
-### `CONSOLE_COMMAND`+### CONSOLE_COMMAND
 Execute a command as the console of the server or proxy that FRP is running on. Execute a command as the console of the server or proxy that FRP is running on.
  
 You can define multiple commands as a list or multiline string. You can define multiple commands as a list or multiline string.
  
-### `PLAYER_COMMAND`+### PLAYER_COMMAND
 Execute a command as the player who reacted on the status. Execute a command as the player who reacted on the status.
 ou can define multiple commands as a list or multiline string. ou can define multiple commands as a list or multiline string.
  
 Please note that the player needs the permission to run the command and that the command is run on the server or proxy the plugin is run on! If you want to run commands on the Minecraft server either install FRP there too and configure it so that it reacts on the statuses there with the commands or use a separate plugin which can forward commands from the proxy to the Minecraft server. Please note that the player needs the permission to run the command and that the command is run on the server or proxy the plugin is run on! If you want to run commands on the Minecraft server either install FRP there too and configure it so that it reacts on the statuses there with the commands or use a separate plugin which can forward commands from the proxy to the Minecraft server.