Sueta

MobOptimizer

1.1

Optimize your mobs without breaking any default mechanics

·Plugin

Mob-Optimizer.png

Description.png
If you have a survival server, where spawners are allowed, you certainly seen mobs in timings causing a lot of lag. I definitely had. The best decision is to get a mob stacker and everything will work fine? But mob stackers removes mob farms, which removes the vanilla flavour from the game. This plugin changes that! It stacks mob in the way, that it wouldn't interfere with farms and other things!
At the moment plugin is in beta state, more optimatization will be included!

Please make sure to:
Lower monster count in settings by ~3 times!

Bukkit.yml
monsters: 20

Set it in the range from 20 to 30

features.png

  • Mob stacker - simple but very useful. Doesn't break any xp, auto farms! Fully working!
  • Spawn optimization - reduces the number of mobs where you don't need them!
  • Mob cleaner - Don't allow huge amount of mobs in one place! Useful for spawners!
  • Usless mob remover - Don't spawn mobs where they will be usless! Remove them!
  • Reduce mobs number by 3 times!
  • More soon!

Commands.png

  • For non-op players:
    • /mo
      • Show information about the plugin
  • For OP players:
    • /mo
      • reload - Reloads plugin configuration
      • spawn - Spawns a stack of mob
      • clear - Removes all mobs in configuration
      • remove - Removes all mob stacks

config.png
Easy to set up and works as intended

#Options, that will effect all optimatizations
Global options:
  #Worlds, that will be checked and will
  #be effected by this plugin
  Worlds:
  - 'world'
  - 'world_nether'
  - 'world_the_end'

#Configure the stack options
Stack options:
  #The distance in which mobs will stack up
  #in an interval
  Distance: 3
 
  #Stack interval (in seconds)
  #This option usually doesn't effect performance
  Interval: 1
 
  #The distance mobs will stack on spawn
  #Works very well with spawners
  Spawn distance: 6

  #Options for custom name
  Custom name options:
    Enabled: true
 
    #Available variables:
    #$health - global stack health
    #$size - the size of the stack
    #$type - the mob type
    Format: '&a$size &7| &c$health'
 
    Always show: false
 
  #The maximum stack size
  #that mobs can stack to
  Max stack size: 128

#Clear mobs option
Clear mobs option:
  Enabled: true
 
  #The distance from which plugin will count mobs from one mob
  Distance: 5
 
  #Max mobs in that distance
  Mob limit: 10

Spawn optimization:
  Enabled: true
 
  #The distance from player mob should be allowed to spawn
  Distance: 32

#Spawn reason in which mobs
#will try to stack up
Stack reason:
- NATURAL
- JOCKEY
- CHUNK_GEN
- SPAWNER
- EGG
- SPAWNER_EGG
- LIGHTNING
- BUILD_SNOWMAN
- BUILD_IRONGOLEM
- BUILD_WITHER
- VILLAGE_DEFENSE
- VILLAGE_INVASION
- BREEDING
- SLIME_SPLIT
- REINFORCEMENTS
- NETHER_PORTAL
- DISPENSE_EGG
- INFECTION
- CURED
- OCELOT_BABY
- SILVERFISH_BLOCK
- MOUNT
- TRAP
- ENDER_PEARL
- SHOULDER_ENTITY
- CUSTOM
- DEFAULT


#Mobs, that will be effected by the plugin
Mobs:
- ELDER_GUARDIAN
- WITHER_SKELETON
- STRAY
- HUSK
- ZOMBIE_VILLAGER
- EVOKER
- VEX
- VINDICATOR
- ILLUSIONER
- CREEPER
- SKELETON
- SPIDER
- GIANT
- ZOMBIE
- PIG_ZOMBIE
- ENDERMAN
- CAVE_SPIDER
- SILVERFISH
- BLAZE
- WITHER
- WITCH
- ENDERMITE
- GUARDIAN

planned.png

  • Optimize mobs more
  • Add entity optimatization (not only mobs)
  • Fix all bugs

Donations
If you like my work, feel free to donate via paypal:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=QZ2WRNT2TVDJY&source=url

Similar projects

Plugin →