Sueta

InstaGen | One-Click Wall Building [Discontinued]

v 1.1

One-click wall building | Perfect for faction servers | Vault Support | Open Source

·Plugin

InstaGen

InstaGen is an automated wall building tool, designed for faction servers. Players hate grinding to build walls around their base, and lava/water generation of walls is messy, memory intensive, and annoying to do. I was doing some digging in an old hard drive of mine and found this project, so I decided to clean it up a little and upload. I plan on making updates in the near future to make this plugin a top-tier option for faction servers.

This plugin will allow for the one-click generation of a certain block type (cobble, sand, or obsidian) in a downward direction, until it hits another block. How fast the blocks will generate is configurable, as well as the price of how much it costs to place a gen-block. This plugin requires Vault to be installed.

YouTube


Config File:

#Messages sent to players   
message  :  
  openedGUI   :   "&cSelect the block type of the wall you want to gen."   
  cannotAfford   :   "&cYou can't afford the &f$%price%&c!"   
  paid   :   "&a$%price% has been taken from your balance."   
  noPermission   :   "&cYou don't have permission for this!"   
  mustBePlayer   :   "&4You must be a player to use this command!"   
  playerNotFound   :   "&4Player cannot be found."  

 #Title for the "shop" GUI   
guiTitle   :   "&c&lInstaGen Blocks"  

 #The section below is for the details on gen blocks   
cobbleGen  :  
  price   :  10  
  ticksPerGen   :  10  
  name   :   "&8&lCobblestone Generator"   
  lore   : 
  -  "&fPlace this to generate &6&lcobblestone &fblocks downwards!"  
   
sandGen  :  
  price   :  10  
  ticksPerGen   :  20  
  name   :   "&e&lSand Generator"   
  lore   : 
  -  "&fPlace this to generate &6&lsand &fblocks downwards!"  
  -  "&fDon't worry, the blocks won't fall!"  
 
obsidianGen  :  
  price   :  100  
  ticksPerGen   :  50  
  name   :   "&5&lObsidian Generator"   
  lore   : 
  -  "&fPlace this to generate &6&lendstone &fblocks downwards!"

Commands:
Alias is /gen

/instagen - Open the GUI to select a generation block 
/instagen give <player> <wall type> - Give a player a specific instagen block

Permissions:

instagen.gui - Ability to use /instagen in order to open the GUI 
instagen.give - Ability to use /instagen give <player> <wall type>

Plugin Dependency:
This plugin requires Vault to be installed.

Version Compatibility:
I built and tested this plugin for 1.15.2, however there is not NMS involved, so I do believe this plugin should hypothetically work with lower versions. If you try it yourself, please let me know what happens.

Upcoming Updates:

  • Add Horizontal generation blocks
  • Add the ability for blocks to gen upwards as well as downwards
  • Add configurable option to make blocks generate through water/lava blocks.

Similar projects

Plugin →