
What is it?
For the first time, PremiereSetups is offering one of our custom plugins available for individual purchase. This plugin is a cheap, lightweight plugin essential for all prison servers.
This plugin allows you to give players bombs that can be used to quickly mine an area and receive the items. This plugin also does fortune which is a great perk for a donor rank or a special item.
Plugin In Action:
Setup:
1. Select mine with WorldGuard
2. Create region
3. Flag region with /rg flag {name} block-break allow
Commands:
/Bomb give {player} {BombID} {Amount}
Permissions:
bomb.admin - Allows you to give bombs via command
The command for players to use a bomb is changeable per-bomb in the config.
Example Config:
Code:
# PrisonBombs+ : By Trent
#
#Effects list:
# https://gyazo.com/c72891dde5ffcbe3eb3f340fde00f630
# https://gyazo.com/d6c1e4b903e7a39066f131b316616cd7
# https://gyazo.com/925fb4645ac21396de04778cba075387
# THESE ARE ALL OF THE VALID EFFECTS YOU CAN USE
reload: '&aReloaded the config!'
explode: '&7You have used a tier %tier% bomb!'
perm-cmd: '&aYou do not have the right permission for this command!'
perm-bomb: '&aYou are not allowed to use this bomb!'
received: '&7You were given some bombs!'
usage: '&7Try using &b/bomb give <player> <bombID> <amount>'
invalidp: '&cThis player is not valid! Check spelling!'
invalidid: '&cThis bomb ID is not valid, check your config file!'
push: 1.75 #how far away we want the bomb to be set from the player
text: '&f&l'
bombs:
1:
name: '&a&lSmall Bomb'
type: 46
sub: 0
lore:
- '&7Right click a bomb to throw it!'
- '&7This bomb creates a &a5x5&7 explosion!'
fortune: 1
explode: 3 #2.5 times the explosion radius!
perm: 'bombs.normal' #without this permission, the player won't be able to use this bomb.
time: 2.5 #seconds#
effect: 'largeexplode'
2:
name: '&6&lMedium Bomb'
type: 46
sub: 0
lore:
- '&7Right click a bomb to throw it!'
- '&7This bomb creates a &69x9&7 explosion!'
fortune: 1
explode: 5 #2.5 times the explosion radius!
perm: 'bombs.normal' #without this permission, the player won't be able to use this bomb.
time: 2.5 #seconds#
effect: 'largeexplode'
3:
name: '&c&lLarge Bomb'
type: 46
sub: 0
lore:
- '&7Right click a bomb to throw it!'
- '&7This bomb creates a &c12x12&7 explosion!'
fortune: 1
explode: 7 #2.5 times the explosion radius!
perm: 'bombs.normal' #without this permission, the player won't be able to use this bomb.
time: 2.5 #seconds#
effect: 'largeexplode'
4:
name: '&3&lHuge Bomb'
type: 46
sub: 0
lore:
- '&7Right click a bomb to throw it!'
- '&7This bomb creates a &316x16&7 explosion!'
fortune: 1
explode: 9 #2.5 times the explosion radius!
perm: 'bombs.normal' #without this permission, the player won't be able to use this bomb.
time: 2.5 #seconds#
effect: 'largeexplode'
5:
name: '&d&klll&d&lBasic Donor Bomb&d&klll'
type: 381
sub: 0
lore:
- '&7Right click a bomb to throw it!'
- '&7This bomb creates a &d9x9&7 explosion!'
- '&7Gives &d&lDOUBLE &7the resources!'
fortune: 2
explode: 5 #2.5 times the explosion radius!
perm: 'bombs.donor' #without this permission, the player won't be able to use this bomb.
time: 2.5 #seconds#
effect: 'largeexplode'
6:
name: '&5&klll&5&lAdvanced Donor Bomb&5&klll'
type: 381
sub: 0
lore:
- '&7Right click a bomb to throw it!'
- '&7This bomb creates a &59x9&7 explosion!'
- '&7Gives &5&lTRIPLE &7the resources!'
fortune: 3
explode: 5 #2.5 times the explosion radius!
perm: 'bombs.donor' #without this permission, the player won't be able to use this bomb.
time: 2.5 #seconds#
effect: 'largeexplode'
Support:
I offer extensive support for free. If you are in need of any help please feel free to contact us at the support link below.
discord.premieresetups.com