Sueta

GenBucket

1.0.8

Constructing walls with just bucket

·Plugin

Description
Welcome to the GenBucket Plugin Page. This plugin is about generating walls with specified blocks with just a bucket. This plugin is very suitable for Faction servers because they can create walls conveniently.

upload_2017-9-17_15-26-38.png

Commands:

  • /genbucket give <player> <lava/water> <material> <useable-amount> <amount>
  • /genbucket giveBucket <player> <item> <amount>
  • /genbucket reload : Reload all configurations

* Item field can be created in config.yml

upload_2017-9-17_15-32-20.png

Permissions:

  • genbucket.place : Allows you to place GenBucket
  • genbucket.command.reload : Allows you to access reload commands
  • genbucket.command.help : Allows you to access help command
  • genbucket.command.give : Allows you to give bucket
  • genbucket.command.givebucket : Allows you to give specified bucket in config.yml

Configurations:

Config.yml

config.yml
# GenBucket Configuration 

# Don't change this, unless you know what you are doing 
config-version: 1.1 

# Generating blocks interval 
interval(seconds): 1 

# Stay liquid after placing GenBucket 
stay-liquid: false 

# Sponge will cause lag while absorbing the water around it (Recommended to stay false) 
allowing-sponge: false 

# Remove bucket after placing 
remove-empty-bucket: false 

glowingBucket: true 

# Charge players upon placing GenBucket 
charge-player: false 
charge-amount: 0 

# Region that restricts placing GenBucket 
disabled-regions: 
   # - regionname 

# Shop Configuration 
sign-prefix: '&9[GenBucket]' 

# Currency sign before adding the cost in sign shop creation. 
currency-sign: $ 

# GenBucket Sign Shop Guide 

# Sign line 1: [GenBucket] 
# Sign line 2: (Buy/Sell) ex: Buy 
# Sign line 3: Itemname 
# Sign line 4: Price ex: $100 

# GenBucket Item Configuration 

# This is %use% placeholder. Edit it if you want to change the line. 
useable-amount-line: '&aGenBucket remaining amount:' 

# Item Creation Warnings: 
# displayname must remain %block% for detection of block type generation. 
# %use% placeholder must be in the lore for useable amount detection. 
# You can use %block% placeholder in displayname and lores. 
# You must state all options like the example given. For instances, displayname, lore, block, liquid, glow and useable-amount. 
# Please refer to the example and fill the details correctly to avoid errors. 

Items: 
   stonebucket: 
      displayname: '&c%block% GenBucket' 
      lore: 
        - '&aGenerates a wall of %block%' 
        - '%use%' 
        - '' 
        - '&aRight-click to use the GenBucket' 
      block: stone 
      liquid: water 
      glow: true 
      useable-amount: 1

Messages.yml

Messages.yml
# Messages Configuration 

message: 
 # Leave it '' if you don't want to send message to player upon using genbucket. 
   place-bucket: '' 
  
 # Message for unpermitted players on executing commands 
   no-perm-cmd: '&a&lGenBucket &8> &cSorry, but you cannot execute that command.' 
   no-perm-place-bucket: '&a&lGenBucket &8> &cSorry, but you cannot place GenBucket here.' 
   no-perm-place-bucket-worldguard: '&a&lGenBucket &8> &cSorry, but you cannot place GenBucket in this region.' 
   no-perm-place-bucket-griefprevention: '&a&lGenBucket &8> &cSorry, but you are not permitted to place GenBucket in this claim.' 
   no-perm-place-bucket-faction: '&a&lGenBucket &8> &cSorry, but you cannot place GenBucket in %faction% land.' 
   no-perm-place-bucket-factionsuuid: '&a&lGenBucket &8> &cSorry, but you cannot place GenBucket in %faction% land.' 
   no-perm-place-bucket-legacyfaction: '&a&lGenBucket &8> &cSorry, but you cannot place GenBucket in %faction% land.' 
  
 # Message for certain commands 
   reloaded-configuration: '&a&lGenBucket &8> &9All config files has been reloaded.' 
  
 # Message for costing a player when placing GenBucket 
   charge-player: '&a&lGenBucket &8> &a%money% has taken from your balance for placing GenBucket.' 
  
 # Message for costing a player after buying a GenBucket 
   charge-player-buy: '&a&lGenBucket &8> &a%money% has taken from your balance for buying %genbucket%.' 
  
 # Message for selling a GenBucket 
   player-sell: '&a&lGenBucket &8> &aYou have earned %money% from selling %genbucket%.' 
  
 # Message when player's inventory is full 
   inventory-full: '&a&lGenBucket &8> &cYour inventory is full!' 
  
 # Message when player doesn't have enough money to place GenBucket 
   not-enough-money: '&a&lGenBucket &8> &cInsufficient balance to place GenBucket.' 
  
 # Message when player doesn't have enough money to buy GenBucket 
   not-enough-money-buy: '&a&lGenBucket &8> &cInsufficient balance to buy %genbucket%.'

Supported Plugins:

  • WorldGuard
  • Factions by MassiveCraft
  • FactionsUUID
  • LegacyFactions
  • GriefPrevention

Required Plugins:

  • Vault

SignShop Usage:

Inserting the shop details to sign,

SignShop Details

upload_2017-9-17_15-51-11.png

After the sign is inserted with correct details,

Completed SignShop

upload_2017-9-17_15-51-41.png

If any bugs are found, please PM me through Spigot Message or Discord on cityforus.net/discord in s-genbucket for more supports.

Please report bugs found before reviewing the plugin. Thank you

Similar projects

Plugin →