Spawner Collectors | No spawner lag | MySQL icon

Spawner Collectors | No spawner lag | MySQL -----

Store your spawners in a gui and withdraw and sell you collected mobs!



banner.png

Store all your mob spawners in a
simple GUI, and let them produce the
mobs for you!

Spawner Collectors are asynchronous,
meaning no lag!

Need help? Join me on Discord!


features.png

Current features:
  • Highly configurable
  • Async = no lag
  • MySQL support
  • Per player "Cloud storage" for spawners and mobs
  • Placed spawner GUI
  • Stack spawners in GUI
  • Enable minable spawners using silk touch
  • AFK check system!
  • Set spawner limits
  • Give spawners directly to the player's collector or hand with a single command
  • Optional custom loot tables per mob
  • Spawners will replicate vanilla spawning mechanics
  • Store unlimited spawners and mobs
  • Sell and withdraw collected mobs
  • Quick-sell all collected mobs
  • Enable auto-sell and get revenue notifications
  • HeadDatabase support
  • MineableSpawners, SilkSpawners support
  • PAPI support
  • Log actions to prevent cheating

Placed spawner GUI
[​IMG]


Per player "Cloud storage"
[​IMG]

commands.png
Commands:
Code (Text):
/sc spawners #Permission: spawnercollectors.command.spawners
/sc mobs #Permission: spawnercollectors.command.mobs
/sc givespawner <player> <gui/hand> <entity> [amount] #Permission: spawnercollectors.command.givespawner
/sc reload #Permission: spawnercollectors.command.reload

Other permissions:
spawnercollectors.bypass_limit #Bypass the spawner limit
spawnercollectors.spawner.<type> #Store that spawner type
spawnercollectors.spawner.<type>.<amount> #Max amount of spawner of that type
spawnercollectors.mob.<type>.<amount> #Max amount of mobs stored of that type
spawnercollectors.booster.<amount> #Sell booster
Default config:
Code (Text):

#------------------- General Settings -------------------#

#Plugin messages prefix
prefix: "&8[&eSpawners&8]"
#How often should the plugin check if new virtual mobs should spawn? (Seconds)
spawn_interval: 1
#How often should the players receive a "earned by auto-sell notification"? (Minutes)
#Set to 0 to disable
notify_interval: 1
#Currency symbol
currency: '$'
#Should the currency symbol be placed before the price?
currency_before: false
#Drop spawner item when spawner is broken with silktouch
enable_silktouch: true
#Enable enhanced placed spawners. This will make all placed spawners behave like
#the /sc spawners menu. Spawners will not summon mobs in the world, but players
#will be able to collect loot and sell "virtually" spawned mobs by right-clicking
#the spawner.
enable_enhanced_placed_spawners: true
#Enabling this will let other players collect loot and break other players' spawners
#(only if enhanced placed spawners are enabled)
enable_spawner_breaking: false
#Enable enhanced spawner stacking. This will allow players to stack spawners
#of the same type by clicking a spawner in their inventory when a spawner of
#the same type is opened.
enable_enhanced_spawner_stack: true
#Item name for withdrawn spawners (Placeholder: %entity%)
spawner_withdraw_name: "&r%entity% Spawner"
#Maximum allowed spawner amount per entity type (0 for unlimited)
#Can be bypassed with 'spawnercollectors.bypass_limit'
max_spawners: 0
#Should an action log be saved on plugin/server reload?
log: true
#Auto-save interval (seconds)
auto_save: 30
#Require permissions for sale, withdraw, auto-sell
#These permissions are:
# - spawnercollectors.sell,
# - spawnercollectors.auto_sell,
# - spawnercollectors.withdraw.mob
# - spawnercollectors.withdraw.spawner
#Enabling this also requires permissions to add each mob
#E.g. adding zombie spawners requires:
# - spawnercollectors.spawner.zombie
#You can also set max amount per mob, e.g:
# - spawnercollectors.spawner.zombie.10
more_permissions: false
#Should experience (XP) be given when mobs are withdrawn?
#This also requires the player to have permission node:
#spawnercollectors.receive_xp
give_xp: true
#When enabled, right-clicking a spawner in your hand without
#placing it will open the spawner menu.
right_click_spawner_menu: true
#If give_xp is enabled, withdrawn mobs will also mend tools and armor
mending: true
#This will disable placing spawners on the ground. Can be
#bypassed with 'spawnercollectors.bypass_place'
disable_spawner_placing: false
#This will disable spawners from spawning mobs
disable_spawner_spawning: false
#Cancel overflowing items instead of dropping them on the ground
cancel_overflowing_items: false
#Maximum amount of mobs of a certain type the collector
#should be able to hold. Use 0 to disable
max_mobs: 1000
#Cooldown in milliseconds between mob withdrawals
withdraw_cooldown: 500
#Enable HeadDatabase hook
use_headdb: false
#Enable this to turn off collectors for AFK players
afk:
  enable: true
  time: 300 #Seconds
  percentage: 0.5 #Percentage of worth to collect


#---------------- Data Storage Settings ----------------#

#Can be YAML or MYSQL
data_storage_method: YAML
#Following attributes apply if you're using MySQL only
address: localhost
port: 3306
database: spawnercollectors
user: root
password: password123
#Delay before loading data (only for MySQL) (ticks)
load_delay: 45


#---------------- Spawner Settings ----------------#

#(Default config replicates vanilla behaviour)
spawner:
  #How many mobs are spawned for every spawn
  spawns: 4
  min_time: 10 #Second
  max_time: 40 #Second
  #Enabling this will give more loot when withdrawing
  #mobs if the player holds an item with the looting
  #enchantment.
  enable_looting_enchantment: false



#----------------- Messages and sounds -----------------#

messages:
  earned_notify: "&7Earned &a%worth% &7the past &e%time% minutes &7from auto selling spawners!" #Placeholders: %worth%, %time%
  sell: "&7Sold mobs for &a%worth%&7!" #Placeholders: %worth%
  sell_all: "&7Sold everything for a total of &a%worth%&7!"
  not_supported: "&cThis entity type is not supported! Please contact an administrator to add it!"
  plugin_reloaded: "&aPlugin reloaded!"
  give_spawner: "&aSpawners successfully given!"
  reached_max_spawners: "&cYou have reached the max limit of %max% for this mob type! Please try again with a lower amount!"
  invalid_command_usage: "&cInvalid usage! Use /sc help"
  no_permission_command: "&cYou do not have permission for this action!"
  no_permission_mob: "&cYou do not have permission to add this mob!"
  no_permission_sell: "&cYou do not have permission to sell mobs!"
  no_permission_withdraw_spawner: "&cYou do not have permission to withdraw spawners!"
  no_permission_withdraw_mob: "&cYou do not have permission to withdraw mobs!"
  no_permission_auto-sell: "&cYou do not have permission to auto-sell!"
  no_permission_place_spawner: "&cYou do not have permissions to place spawners!"
  afk: "&cYou are now AFK. Collectors are turned off!"
  no_longer_afk: "&aYou are no longer AFK. Collectors working normally"
  withdraw_too_fast: "&cYou are withdrawing too fast!"
  inventory_full: "&cYour inventory is full!"
  not_loaded: "&cPlease wait for your spawners to load!"
  not_owner: "&cYou do not own this spawner!"

sounds:
  spawners_open: BLOCK_CHEST_OPEN
  mobs_open: BLOCK_CHEST_OPEN
  sell: ENTITY_EXPERIENCE_ORB_PICKUP
  add_spawner: ENTITY_ITEM_PICKUP
  withdraw: ENTITY_ITEM_PICKUP
  toggle_auto_sell: UI_BUTTON_CLICK
  notification: ENTITY_EXPERIENCE_ORB_PICKUP

#-------------------- Menu settings --------------------#
menus:
  #Add/withdraw spawners menu
  spawners:
    #GUI title
    title: "&8Add / withdraw spawners"
    item_lore: #Placeholders: %amount%
      - "&7Amount: &c%amount%"
      - ""
      - "&7>> Left click to &awithdraw 1"
      - "&7>> Shift left click to &awithdraw 64"

  #Sell/withdraw mobs menu
  mobs:
    #Enabling this will make the menu swap the left and right click actions
    swap_left_right: false
    #Amount that should be sold when left-clicking
    sell_amount: 100
    #Amount that should be withdrawn when right-clicking
    withdraw_amount: 1
    #GUI title
    title: "&8Collected mobs"
    item_lore: #Placeholders: %amount%
      - "&7Amount: &c%amount%"
      - "&7Worth: &a%worth%"
      - "&7Avg. $/minute: &a%avg_production%/minute"
      - ""
      - "&7>> Left click to &aSell 100"
      - "&7>> Shift left click to &aSell all"
      - "&7>> Right click to &eWithdraw 1"
      - "&7>> Shift right click to &eWithdraw until full"
  #Items used in menus
  items:
    auto_sell_slot: 50
    auto_sell_true:
      material: LIME_TERRACOTTA
      name: "&aAuto-sell enabled"
      lore:
        - "&7>> Click to &cdisable"
        - "&7auto-sell for mobs collected!"
    auto_sell_false:
      material: RED_TERRACOTTA
      name: "&cAuto-sell disabled"
      lore:
        - "&7>> Click to &aenable"
        - "&7auto-sell for mobs collected!"
    filler:
      material: GRAY_STAINED_GLASS_PANE
      name: ""
      lore:
        - ""
    mobs:
      slot: 48
      material: SKELETON_SPAWN_EGG
      name: "&eSwitch to mobs"
      lore:
        - "&7>> Click to switch"
        - "&7to mob view!"
    spawners:
      slot: 48
      material: SPAWNER
      name: "&eSwitch to spawners"
      lore:
        - "&7>> Click to switch"
        - "&7to spawners view!"
    sell_all:
      slot: 49
      material: GOLD_INGOT
      name: "&aSell all"
      lore:
        - "&7Total worth: &a%worth%"
        - "&7Avg. $/minute: &a%avg_production%/minute"
        - ""
        - "&7>> Click to &asell &7all"
        - "&7collected mobs!"
  confirm:
    title: "&8Confirm"
    confirm:
      material: LIME_TERRACOTTA
      name: "&aConfirm"
      lore:
        - "&7>> Click to &aconfirm"
    cancel:
      material: RED_TERRACOTTA
      name: "&cCancel"
      lore:
        - "&7>> Click to &ccancel"
 
Code (Text):

#--------------------- Mobs ---------------------#

#If you want to use HeadDatabase IDs instead of vanilla
#materials, enable HeadDB in the config.yml and place
#'hdb:' in front of the id! E.g. hdb:10000
mobs:
ZOMBIE:
material: ZOMBIE_SPAWN_EGG
price: 100
SKELETON:
material: SKELETON_SPAWN_EGG
price: 100
CREEPER:
material: CREEPER_SPAWN_EGG
price: 150
COW:
material: COW_SPAWN_EGG
price: 50
PIG:
material: PIG_SPAWN_EGG
price: 50
CHICKEN:
material: CHICKEN_SPAWN_EGG
price: 50
SHEEP:
material: SHEEP_SPAWN_EGG
price: 50[/SIZE]
 
Code (Text):

#------------------- Custom loot tables -------------------#

custom_loot_tables:
#If you want to use custom loot tables, set this to true
enable: false
#List all mobs which should use custom loot tables. If a
#mob is not listed, it will default to it's vanilla table
mobs:
#EntityType of mob
SKELETON:
#Material
BONE:
#Probability of receiving this item
probability: 1
#Minimum amount
min: 0
#Maximum amount
max: 2
ARROW:
probability: 1
min: 0
max: 2
ZOMBIE:
ROTTEN_FLESH:
probability: 1
min: 0
max: 2
POTATO:
probability: 0.025
min: 1
max: 1
IRON_INGOT:
probability: 0.025
min: 1
max: 1
CARROT:
probability: 0.025
min: 1
max: 1
COW:
LEATHER:
probability: 1
min: 0
max: 2
BEEF:
probability: 1
min: 1
max: 3
PIG:
PORKCHOP:
probability: 1
min: 1
max: 3

#Enabled if custom_loot_tables is enabled
custom_xp:
mobs:
SKELETON: 10[/SIZE]
 
PAPI Placeholders:
Code (Text):

%spawnercollectors_amount_<entity-type>%
%spawnercollectors_amount%
%spawnercollectors_limit
%spawnercollectors_limit_<entity-type>%
 

Servers using SpawnerCollectors:
> play.rexkraft.com <
> play.crafterscove.us <

If you experience any issues, please join me on Discord and
I'll fix the problem for you as fast as possible!

Enjoy the plugin? Please leave a review!
Resource Information
Author:
----------
Total Downloads: 3,694
First Release: Nov 16, 2020
Last Update: Nov 9, 2024
Category: ---------------
All-Time Rating:
16 ratings
Find more info at discord.com...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings