Sueta

ActionBlock | Support PlaceholderAPI |

3.0

Execute actions from a block

·Plugin

da237a51-8b1c-45e9-ab4a-f27bc7cd4f9f.jpg

The main functionality of this plugin is to perform different actions when you interact with a block, for the moment the actions that you can execute in a block are, "message", "console", "player", "teleport","title".

Message: Sends a message to the player who clicks the block

Console: Run a command on the console
Player: Executes a command the player who clicks the block
Teleport: Teleports you to a location by clicking the block
Title: Sends you a title when executing the block

398981df-d3d1-4877-9a05-b5ee7566069a.jpg

/actionblock

This is the main command, but you can also use " /ac", which is the same command but agreed.

/actionblock addblock <action type> <action>

This command is used to add an action to a block, first you need to be looking at the block that you want to assign an action to.
The Action Type can be, message, console player,teleport,title In action you have to put the action.

In the case of being "message", you put the message that you want to appear when you click on the block.
In the case of "console / player" the command that would be executed when clicking. (The command goes without /).

In the case of running teleport, you must insert the X Y Z of the location.
In the case of title you must put the title you want to be sent, in the case of wanting to also add a subtitle you must put a ; and write the subtitle you want:
Example: /actionblock addblock title &ehello world;& 9This is a test

Example

/actionblock addblock message &ehello world
/actionblock addblock player say hello world
/actionblock addblock console say hello world
/actionblock addblock teleport 45 -32 96
/actionblock addblock title &ehello world;&9this is a test

/actionblock removeblock

It takes the interaction away from the block you're watching

/actionblock list

If you run only /actionblock list, it will give you the list of blocks in your world
if you put /actionblock list <world> it gives you the list of the world you are

/actionblock reload

Reload the plugin

da0f0cf7-efeb-4a35-ad3f-06c75d113512.jpg

actionblock.use
Allow to use /actionblock

actionblock.add
Allow to use /actionblock add

actionblock.remove
Allow to use /actionblock remove

actionblock.list
Allow to use /actionblock list

actionblock.reload
Allow to use /actionblock reload

actionblock.break
Lets break blocks have actions (When you do you give interaction to a block only the users with this permission can break it)

6b25c588-c578-4be3-9fb2-3d6cc583e0c0.jpg

-PlaceholderAPI

a4b68c11-c2cb-4c88-ada1-5041246c580d.jpg


For any error / suggestion or other reason regarding the plugin to contact me through MP, or another method. Thanks for viewing my plugin, I mean my language is not English so there may be some grammar errors

Similar projects

Plugin →