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:
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.
Default Config
# +----------------------------------------------------+
# < 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: falseDefault Permissions File
# +----------------------------------------------------+
# < MobStacker >
# < Permissions >
# +----------------------------------------------------+
command-permissions:
stack: mobstacker.command-stack
remove-stack: mobstacker.command-removestack
removeinradius: mobstacker.command-rin
reload: mobstacker.reloadDefault Settings File
# +----------------------------------------------------+
# < MobStacker >
# < Settings >
# +----------------------------------------------------+
# Enabled By Default
# If you are experiencing problems leave this on.
debug-mode: true
# DO NOT EDIT
version: 1Commands
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.
Similar projects
Plugin →Let Me Despawn
Improves performance by tweaking mob despawn rules. Say bye to pesky unintentional persistent mobs.
25MSueta
JourneyMap
Real-time map used for mapping in-game or your browser as you explore.
14.7MSueta
Emotecraft
Create your own emotes in Minecraft.
7.5MSueta
Simple Tpa
A simple tpa plugin which sends requests
5.4MSueta
Common Network
Forge and Fabric Unified Networking Solution
3.9MSueta
Set Home
A lightweight plugin for players to set their homes.
3.8MSueta