GenBucket

Status
This thread has been locked.

EyesOfRinn

God in flesh
Banned
Feedback score
10
Posts
299
Reactions
601
Resources
0
About
GenBucket is a plugin designed to reduce client lag caused by the generation of walls by factions players and make basework easier.

Commands
/genbucket - the default command for GenBucket
/genbucket reload - reload the configuration

Permissions
genbucket.command - allow players to execute /genbucket
genbucket.commands.reload - allow players to execute /genbucket reload
genbucket.use - allow player to use GenBuckets

Dependencies
Vault (Soft)
WorldGuard (Soft)

Configuration
Code:
[/FONT][/FONT]
[FONT=Droid Sans][FONT=Verdana]#Speed (in ticks) 1 block generates.
#Note that this is measured in server ticks, not redstone ticks.
#Unit conversions:
#1 server tick = 1/20 seconds (1 second = 20 server ticks)
#1 server tick = 50 milliseconds (1 millisecond = 1/50 server tick)
#1 server tick = 1/2 redstone tick (1 redstone tick = 2 server ticks)
generating-speed: 20
#The way GenBucket will generate the walls (double wall/ single wall).
#'double wall' requires players to make layouts and is less preferred by players.
mode: 'single wall'
#Allow sponge to stop genning.
#Requires calculations to be done every time a block is generated.
#This may cause lag if your server does not have good specs or averages more than 1,500 players.
allow-sponging: true
#The radius in which the sponge takes effect.
#'allow-sponging' must be set to true for this to take effect.
#If the radius is two, it will sponge the following way:
#- - - - -
#- - - - -
#- - x - -
#- - - - -
#- - - - -
sponge-radius: 2
#Charge players every time they place a GenBucket.
#You must have Vault in your plugins folder for this to take effect.
charge-players: true
#The amount players will be charged for placing a GenBucket.
#'Charge Players' has to be set to true for this to take effect.
charge-amount: 50
#Stop the generating of blocks outside world border.
#Your server must run on version 1.8 or above (1.8.x, 1.9.x, 1.10.x, 1.11.x) for this to take effect.
check-for-border: true
#Let liquid stay after placing a GenBucket.
#Setting this to false makes it so it sets the liquid to air.
#'mode' must be set to 'double wall' for this to take effect.
keep-liquid: true
#Use a separate thread for each GenBucket placed.
#This may cause lag if your server does not have good specs or averages more than 200 players.
multi-threaded: true

#All of the buckets that generate blocks.
#You can add buckets here, note that the buckets are lore based.
#format:
#  [lore]:
#    material: [material]
buckets:
  #The lores here MUST not have any capital letters.
  #'-' (hyphen) represents ' ' (space) in the lore
  #To give players buckets with lores, execute '/give [username] [ID] [amount] name:[Your name] lore:[Your lore]'
  #The ID for a lava bucket is 327 and the ID for a water bucket is 326.
  #Example:
  #/give Shoot 327 1 name:&c&lGen&7&lBucket lore:Right_click_to_generate_cobblestone
  #Note that in the give command, '_' is used as a space
  right-click-to-generate-cobblestone:
    #The type of block that will be generated.
    #Refer to https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html for a list of materials
    material: COBBLESTONE
  right-click-to-generate-stone:
    material: STONE
  right-click-to-generate-obsidian:
    material: OBSIDIAN
  right-click-to-generate-glass:
    material: GLASS
  right-click-to-generate-sand:
    material: SAND

#All of the messages sent by GenBucket
messages:
  #The message sent to players after reloading the configuration.
  configuration-reloaded: '&aThe configuration has been reloaded!'
  #The message sent to players when executing a command they do not have the permission to use.
  no-permission-command: '&cYou do not have permission to execute this command!'
  #The message sent to players when attempting to place a GenBucket when they do not have the permission to.
  no-permission-place: '&cYou do not have permission to use GenBuckets!'
  #The message sent to players when attempting to place a GenBucket anywhere else except the top of a block.
  #'mode' must be set to 'double wall' for this to take effect
  invalid-placing: '&cYou must place on top of blocks to use GenBuckets!'
  #The message sent to players when attempting to place a GenBucket when they do not have enough money.
  #'charge-players' has to be set to true for this to take effect.
  not-enough-money: '&cYou do not have enough money to place a GenBucket!'
  #The message sent to players when successfully placing a GenBucket when 'Charge Players' is set to true
  money-taken: '&a$%amount% has been taken from your balance!'
Source Code

Download
Download on Spigot


Why am I releasing my premium plugin for free? PayPal locked my 4th account (100% verified with bank and etc.) and I have no way of receiving payments except with BTC. I'll probably be releasing some of my other projects. Enjoy nurdz.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.
Status
This thread has been locked.
Top