Configuration
Default configuration:
bomb:
delay: 5 # The number of seconds until the bomb explodes
cost:
enabled: true
price: 0.0
actions:
dropped:
- action: explode
power: 5
- action: command
command: "say <bomber>'s bomb exploded"
held:
- action: message
message: <bomber>'s bomb exploded on you!
- action: damage
power: 5
- action: sound
sound: explode
volume: 10
pitch: 1
- action: damage
power: 5
update:
checkForUpdates: true
autoInstallUpdates: true
delay: The number of seconds until the bomb explodes. Must be a whole number. actions: A list of lists of different action sets. Currently only dropped is supported, which runs for bombs which explode while droppedon the ground.
cost.enabled: A boolean, indicating if players should be charged for using a bomb. cost.price: If the cost is enabled, the amount of money to charge players. Requires Vault.
Actions start with - action: <action-name>, and may contain other action-specific configuration.
Available actions for dropped:
explode:
Options:
- power: 1 # The explosion power of a dropped bomb. Consult this Minecraft Wiki page for information on explosion power.
command Options:
- command: <command> # The command to be executed. <bomber> will be replaced with the name of the player who created the bomb.
Available actions for held:
message
Options:
- message: <message> # The message to be sent to the player holding the bomb. <bomber> will be replaced with the name of the player who created the bomb.
damage Options:
- power: <power> # The number of half-hearts to damage the player holding the bomb.
sound Options;
- sound: <sound> # The sound to play. A complete list is available at http://jd.bukkit.org/beta/apidocs/org/bukkit/Sound.html.
- volume: <volume> # The volume to play the sound at.
- pitch: <pitch> # The pitch to play the sound at.
command Options:
- command: <command> # The command to be executed. <bomber> will be replaced with the name of the player who created the bomb.
Comments