Configuration
This is how your configuration will look at first (default)
Messages: PlayerMessage: Enabled: true Message: You have been pranked! Broadcast: Enabled: true Message: '#player has been pranked.' Options: ChestDespawnOnRightClick: true Explosion: Enabled: true Radius: 0 LandDamage: false Lightning: Enable: true EffectOnly: true Item: Enabled: false Drop: Item: 266 Amount: 1
So we will take the configuration step by step.
Messages - PlayerMessage
This lets you configure the message that is sent to a player when they are pranked.
Enabled: true
This is pretty self-explanatory, this will allow you to enable/disable messages sent to a player completely.#
Message: You have been pranked!
This is the message that is sent to the player that is pranked is player messages are enabled above.
Messages - Broadcast
Enabled: true
Again this is pretty self-explanatory, enables/disables messages that are broadcasted to ALL players.
Message: '#player has been pranked.'
This is the message that is sent to the whole server, if you use #player or #location it will display the players username who got pranked and their location and then your message.
E.g. '#player has been pranked so everyone laugh at him.' will be replaced with iKeirNez has been pranked so everyone laugh at him.
Options - ChestDespawnOnRightClick
ChestDespawnOnRightClick: true
It is recommended you keep this to true otherwise players can spam right-clicking the block.
Options - Explosion
Enabled: true
Not even going to bother explaining this :D
Radius: 0
The radius of the explosion (size of explosion)
LandDamage: false
Whether or not the explosion from the chest should cause LandDamge, does not affect TNT or Creepers.
Options - Lightning
Enable: true
...
EffectOnly: true
If this is set to true then the fire caused by the lightning will not do any land damage or player/mob damage.
Options - Items
Enabled: false
...
Drop: Item: 266 Amount: 1
This will drop an item when the player is pranked, must be a DATA-VALUE and also allows you to set how many of the item will be dropped.
Yay! You have successfully configured the LockedChestSuprise plugin. Here have some free cake.
Comments