[Outdated] WallGen [1.8 - 1.12] - Let players generate easy
1.2.0Lets your players generate quick walls with the use of buckets. Ideal for faction servers
WallGen
WallGen is a simple, yet very useful plugin. It lets your players generate walls with a simple click with a bucket. Often used on Faction servers, but can easily be used many other places.
A unique feature for this plugin is it allows for infinite use per bucket.
This means players won't need to buy a new bucket everytime they use them, but instead are just withdrawn the specified amount of money, everytime they use a bucket.
Only if they lose the bucket, they will need to buy a new one.
This is, of course, configurable and can be disabled, removing the bucket everytime they use it.
Please note, WallGen requires Vault to work.

<requied > - [optinal ]
/wallgen help - See the help menu.
/wallgen buy <bucket> [amount] - Buys the defined bucket
/wallgen give <player> <bucket> <amount> - Gives the player the defined bucket
/wallgen reload - Reloads the config, and applies changes

This is the config.yml from version 1.2.0
Will be updated when new things are added.
Config.yml
###########################
# #
# WallGen #
# #
# ConfigVersion: 1.2.0 #
# #
###########################
messages:
# Leave prefix blank to disable
prefix: '&6[&e&lWallGen&6]&e '
invalidWorld: '&cYou can''t use WallGen buckets in this world'
invalidBucket: '&cThis bucket doesn''t exist'
noPerm: '&cYou don''t have permission to do this'
noBucketPerm: '&cYou don''t have permission to use this bucket'
insufficientMoney: '&cNot enough money'
bucketBought: '&2You bought a %bucketName% bucket for %price%'
bucketGiven: '&2You have given %target% a %bucketName% bucket'
bucketNotGiven: '&cCouldn''t give %target% a bucket. Their inventory is full'
targetOffline: '&c%target% is not online.'
bucketRecived: '&2You have recived a %bucketName% bucket'
bucketPlaced: '&2You placed a bucket'
fullInv: '&cYour inventory is full, and there you could not get the bucket'
fullInvDrop: '&cThe bucket has been dropped on there ground where you are'
reload: '&cWallGen reloaded'
noArgs: '&cPlease specify an argument. See &b/wallgen help &cfor more'
invalidArgs: '&cInvalid argument. Please see &b/wallgen help &cfor more'
defineBucket: '&cPlease define a bucket.'
invalidBucket: '&cThis bucket dosn''t exist'
invalidGive: '&eTo give a bucket use &b/wallgen giver <player> <bucket> <amount>'
invalidBuy: '&eTo buy a bucket use &b/wallgen buy <bucket> [amount]'
noBuildPerm: '&cYou aren''t allowed to use buckets here'
notInt: '&cPlease define a number after bucketype'
helpMessages:
help:
- '&c&m---------------&6[&eWallGen&6]&c&m---------------'
- '&b/WallGen help &c- &eShows this menu'
- '&b/WallGen give &c- %invalidGive%'
- '&b/WallGen buy &c- %invalidBuy%'
- '&b/WallGen reload &c- &eReloads the plugin'
- '&c&m---------------&6[&eWallGen&6]&c&m---------------'
settings:
# Should the bucket disappear after use, or should it stay, allowing for infinite uses
infiniteBucket: true
# The price for buying the bucket (/wallgen buy)
# Set to 0 to make it free
buyPrice: 500
# The price for using the bucket
# Set to 0 to make it free
usePrice: 20
# Should the block be pr block or pr column
# If false, the price is the usePrice, no matter how many blocks there can be placed in the column.
# if true, it will take the usePrice pr block it places. The money will be drained slowly, as it places the blocks
# This also works with customUsePrice
prBlockPrice: true
# How many ticks should pass between every block
# 20 ticks = 1 second
# Must at minimum be 1
placeDelay: 10
# Should the bucket be dropped on the ground when bought if the player's inventory is full?
# If true, the bucket will be dropped.
# If false, the event will be canceled, and the player will receive a message
dropFullInv: true
# Should the bucket act as a normal bucket if used in a world not listed above
# true = The bucket acts normally
# false = You can't use the bucket, and get a message when trying
normalBucketInvalidWorld: false
# Witch worlds should the plugin work in
enabledWorlds:
- world
- world_the_end
# Which plugin should the plugin check regions after
# Possible dependencies are: none, WorldGuard, Factions,
# LegacyFactions,
dependencies: "none"
# In which areas can players use buckets
# Possible are: everywhere, canBuild, member
# See documentation for info
dependencieArea: 'canBuild'
# Disable the use of buckets in all regions
# defined in "disabledRegions"
# Requires WorldGuard
useWorldGuard: false
# In which regions should walls not be placed
disabledRegions:
- spawn
- test_region
# Witch blocks should the walls be able to go through
# Be sure to use correct bukkit names. Find them here:
# https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
overridableBlocks:
- SNOW
- STRING
- VINE
- LONG_GRASS
- DOUBLE_PLANT
- SUGAR_CANE_BLOCK
buckets:
cobble:
name: '&e&lName &c(&bCobble&c)'
lore:
- "&cThis is the first line"
- "&cThis is the second line"
bucketType: WATER_BUCKET
blockType: COBBLESTONE
obsidian:
name: '&e&lName &c(&bObby&c)'
lore:
- "&cThis is the first line"
- "&cThis is the second line"
bucketType: LAVA_BUCKET
blockType: OBSIDIAN
diamondblock:
name: '&e&lName &c(&bDia&c)'
lore:
- "&cThis is the first line"
- "&cThis is the second line"
bucketType: WATER_BUCKET
blockType: DIAMOND_BLOCK
# If you would like a separate price for this bucket, you can define them there.
# If you want a global price, just remove those 2
customBuyPrice: 2500
customUsePrice: 200
# If you want a separate permission you can define it here
# If you use "diamond", players will need wallgen.bucket.diamond
# The needed permission applies to both buy and use
customPermission: "diamond"


Dependencies
Vault is required
Please note, Vault needs an Econ plugin that supports it. Most common is Essentials, but many others will also work. Please visit vault for their list.
And one of following. Defined in config.yml
none - No need for other plugins (default)
WorldGuard
Factions
LegacyFactions
DependencieArea
Custom buckets attributes
customBuyPrice
Lets you define a custom when buying the bucket. Replaces the buyPrice from settings.
Can be both higher and lower or 0 to disable.
customUsePrice
Lets you define a custom when using the bucket. Replaces the usePrice from settings.
Can be both higher and lower or 0 to disable.
customPermission
Lets you define a custom permission for each bucket. Players must have this permission to both buy and use the bucket.
If you use customPermission: "diamond" players will ned the permission wallgen.bucket.diamond

Buying buckets
/wallgen buy <bucket> [amount]

Giving buckets
/wallgen give <player> <bucket> <amount>

Using buckets
This is the default speed. You can configure it to be much slower / faster 

The review section is NOT for plugin help.
Do you experience any problems, please PM me or post in the discussion instead.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta