Examples
Here you will discover all the ways in which you can set up your PowerBlocks!
Last updated
Was this helpful?
Here you will discover all the ways in which you can set up your PowerBlocks!
Last updated
Was this helpful?
Before you start looking at the various examples, please familiarize yourself with how our "" system works, which is a big part of our system!
Also, the whole example page, is shown on the default powerblock settings in CONFIG, not in the powerblock file itself. This means that the structure will be a bit different, I'll show you how below:
Do you want the plugin to be active? After change, you have to restart the server!
Do you want to be notified when the new version of the plugin is available? This message will show only to OPs
You can find how our action system works below, please study it carefully so you won't be confused later!
[player] <command>
Executes a command as the player
[console] <command>
Executes a command from the console
[message] <text>
Sends a message to a player
[title] <text>
Displays a title to a player (doesn't work everywhere)
[subtitle] <text>
Displays a subtitle to a player (doesn't work everywhere)
[actionbar] <text>
Sends an action bar to a player (doesn't work everywhere)
[sound] <sound>
Play a sound to a player (doesn't work everywhere)
Always replace [ACTIONTYPE] by one of the Action Types from the chart above and ACTION by required argument of the Action Type!
The <action-name> is not default, you will find it changed through the code above!
_____________________________________________________________________________________________________
If you have some problems please contact us on our social medias! We will be happy to help you with any problem and possibly modify the plugin if it will be necessarily!
What action should happen, when the player uses unsupported/wrong tool? You can find her
This is where you can set the actual content of the hologram for a specific PowerBlock. Thanks to our system, you can use and also colours!
This is where you can set the actual content of the hologram for a specific PowerBlock in a cooldown! Thanks to our system, you can use and also colours!
What should happen when the cooldown on a particular PowerBlock ends? Replace [ACTION] by some type of ! You can add multiple lines - all one player actions will be executed to all
This is where you can set the actual content of the hologram for a specific PowerBlock in an inactive state! Thanks to our system, you can use and also colours!
What should happen when one of the PowerBlock action variables is called? Replace [ACTIONTYPE] by some type of ! You can add multiple lines - all one player actions will be executed to all! Action variables below:
You can easily play sound for player/s with our system! In the example I will play an anvil drop sound every time player breaks to block:
This is probably a better way of defining and rewarding a player! You can also use here!
What should happen when AFK System action variable is called? Replace [ACTIONTYPE] by some type of ! You can add multiple lines - all one player actions will be executed to all! Action variables below: