Sueta

CactusLimiter | No more skyscrapers Cactus farm

1.0.3

Prevent player from making a skyscrapers Cactus farm

·Plugin



Description

You hate a huge Cactus farm? Yes, me too.
CactusLimiter allow you to limit the min y level and max y level of cactus placing , and allow the player placing cactus between the min y level and max y level.
This will also reduce lag caused by Cactus farms.

Command and Permissions

Command : /cactuslimiter reload
Description : Reload Config.
Permission: cactuslimiter.reload

Permission: cactuslimiter.bypass
Description : Allow you to bypass Cactus placing Y limit.

Permissions group
cactuslimiter.admin :
- cactuslimiter.bypass
- cactuslimiter.reload

Installation

1. Download this resource
2. Put the .jar file on your /plugins folder
3. Restart or reload your server
4. Edit the config.yml to fit your needs
5. Restart or reload your server
* read the installation instruction carefully

Configuration

Default Config and Explanation

# ----------------------------------------------------------- #  
 #                      ABOUT THIS PLUGIN                      #  
 # ----------------------------------------------------------- #  
 #  
 #  CactusLimiter by Aneryan (newbie029)  
 #  https://www.spigotmc.org/members/aneryan.136195/  
 #  
 # ----------------------------------------------------------- #  
 #                                                             #  
 # ----------------------------------------------------------- #  

 # Max Y Level Cactus can be placed.   
max_y_level   :  100 
 # Warning when player is trying to place Cactus higher than Max Y Level   
warning_max   :  '&4&lWARNING!&r &cYou cant place Cactus higher than Y=100' 
 # Min Y Level Cactus can be placed.   
min_y_level   :  31 
 # Warning when player is trying to place Cactus lower than Min Y Level   
warning_min   :  '&4&lWARNING!&r &cYou cant place Cactus lower than Y=30' 
 # Make Cactus only grow on allowed Y Levels (between Max and Min Y Level)   
only_grow_on_allowed_y_level   :  true 
 # Disable the plugin on some world   
world_blacklist   : 
    # Enable blacklist?   
  enable   :  false 
   # Put the disabled world lists here   
  worlds   : 
  - world_nether 
  - world_the_end

Screenshot



Next Update
- Per world support ✔
- any suggestions?

  • You may distribute this plugin as long as the download link stays on this page !
  • You may not copy/rename/decompile this code.

Don't report bug on the review section, you will be ignored!
Report bug on the Discussion

Similar projects

Plugin →