HomeJavaModsTMobStacker
Mob Stacker

This is my first plugin ever uploaded to spigot so please try and go easy on the criticism. and also this is not my first plugin coded. I made multiple private plugins before.

I hope you guys enjoy the plugin :)

NOTE: Well this plugin has been re-made for you guys. All the same features nothings change pretty much. I will be working on optimizing and adding more features soon!

Dependencies: TLib - this is a small library that I made for this and soon to come plugins.

Default Name Layout:
[​IMG]
[​IMG][​IMG]

Spoiler: Features
  • multi world support
  • able to set max stack size
  • can change layout of stack name.
  • set which mobs can stack
  • checks all spawn reasons to see if its true and if it is will allow mobs that spawned like that to stack.
  • can set stacking distance
  • (misc) can set if blazes are allowed to drop in water.
  • save stack on restart (WIP)
  • able to modify permission nodes.

Spoiler: Default Config
Code (Text):
# +----------------------------------------------------+
# <                     MobStacker                     >
# <                       Config                       >
# +----------------------------------------------------+

# the way their custom names should be set.
name-format: '&f%type% &e%amt%x'

# All worlds listed here will allow mob stacking.
allowed-worlds:
- world

# How far mobs have to be to stack
stacking-distance: 2

# Allow blaze to drop when killed by water.
misc:
  allow-blaze-drop: false

# Multiply the mobs current drops by stack number
multiply-on-drop:
  enabled: true

# should the stacks be saved on restart? (WORK IN PROGRESS)
save-on-restart: false

# set the max stack size for mobs
stack-size: 12

# any mobs listed here will be allowed for stacking
allow:
- BAT
- BLAZE
- CAVE_SPIDER
- CHICKEN
- COW
- ENDERMAN
- CREEPER
- ENDERMITE
- GIANT
- IRON_GOLEM
- MUSHROOM_COW
- PIG
- OCELOT
- PIG_ZOMBIE
- SHEEP
- SKELETON
- SNOWMAN
- SPIDER
- SQUID
- VILLAGER
- WITCH
- WITHER
- WOLF
- ZOMBIE

# You will be able to allow or disallow stacking per reason
spawn-reasons:
  MOB_SPAWNER: true
  SPAWNER_EGG: true
  BREEDING: true
  BUILD_IRONGOLEM: true
  BUILD_SNOWMAN: true
  BUILD_WITHER: false
  CHUNK_GEN: false
  CUSTOM: true
  CURED: false
  DISPENSE_EGG: true
  EGG: true
  INFECTION: false
  JOCKEY: false
  LIGHTNING: false
  MOUNT: false
  NATURAL: true
  OCELOT_BABY: false
  SLIME_SPLIT: false
  NETHER_PORTAL: false
 

Spoiler: Default Permissions File
Code (Text):
# +----------------------------------------------------+
# <                     MobStacker                     >
# <                    Permissions                     >
# +----------------------------------------------------+

command-permissions:
  stack: mobstacker.command-stack
  remove-stack: mobstacker.command-removestack
  removeinradius: mobstacker.command-rin
  reload: mobstacker.reload
 

Spoiler: Default Settings File
Code (Text):
# +----------------------------------------------------+
# <                     MobStacker                     >
# <                      Settings                      >
# +----------------------------------------------------+

# Enabled By Default
# If you are experiencing problems leave this on.
debug-mode: true

# DO NOT EDIT
version: 1
 

Spoiler: Commands
Commands:
/msr reload (msr.reload) - Reloads all files (config,permissions, and settings)
/msr stack (amount)(msr.command-stack) - Stacks the current mob that you are looking at by amount.
/msr remove (amount)(msr.command-removestack) - Allows you to set where the stack you are looking at should stack or not.
/msr rin (radius)(msr.command-rin) - Removes stacked mobs within radius.

PLEASE IF YOU HAVE ANY ISSUES PLEASE REPORT IT HERE.

Also even though this is my first plugin uploaded here I will be making more and uploading them in the future. if you would like to support me please donate.

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

TMobStacker is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10, 1.11 and newer. Downloaded 1,283 times (via Spigot). Download it and open it directly in the game.

Explore more