๐Examples
Here you will discover all the ways in which you can set up your PowerBlocks!
Please Read!
Before you start looking at the various examples, please familiarize yourself with how our "Action" 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:
#<PowerBlockName>: <- THIS HAS TO BE DELETED IN THE FILE OF THE POWERBLOCK ITSELF
hologram: # DON'T FORGET TO EDIT THE SPACING
enabled: true#<PowerBlockName>: <- THIS HAS TO REMAIN WHEN SETTING UP THE DEFAULT PB IN CONFIG
hologram:
enabled: truePlugin Functionality
Do you want the plugin to be active? After change, you have to restart the server!
enabled: trueUpdate Checking
Do you want to be notified when the new version of the plugin is available? This message will show only to OPs
PowerBlocks
Actions
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)
Main Actions Syntax
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!
_____________________________________________________________________________________________________
๐Need Help?
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!
Last updated
Was this helpful?