Main Configuration
The config.yml file is located in plugins/SmartSpawner/. It controls language, spawner behavior, economy, visual effects, logging, database storage, and performance.
Click any option or category to view additional information.
Time Format
SmartSpawner accepts short, human-readable duration values everywhere a time is expected:
| Format | Meaning |
|---|---|
20s | 20 seconds |
5m | 5 minutes |
1h | 1 hour |
1d | 1 day |
1d_2h_30m_15s | 1 day, 2 hours, 30 minutes, 15 seconds |
Supported units: s m h d w mo y
language:en_US
gui_layout:default
debug:false
spawner_properties:
default:
min_mobs:1
max_mobs:4
range:16
delay:25s
max_storage_pages:1
max_stored_exp:1000
max_stack_size:10000
allow_exp_mending:true
protect_from_explosions:true
spawner_break:
enabled:true
direct_to_inventory:false
required_tools:
-'IRON_PICKAXE'
-'GOLDEN_PICKAXE'
-'DIAMOND_PICKAXE'
-'NETHERITE_PICKAXE'
durability_loss:1
sneak_break:true
sell_and_xp_break:true
silk_touch:
required:true
level:1
natural_spawner:
breakable:false
convert_to_smart_spawner:false
spawn_mobs:true
protect_from_explosions:false
sell_integration:
enabled:true
currency:VAULT
excellenteconomy_currency:coins
price_source_mode:SHOP_PRIORITY
shop_integration:
enabled:true
preferred_plugin:auto
custom_prices:
enabled:true
default_price:1.0
hopper:
enabled:false
check_delay:3s
stack_per_transfer:5
bedrock_support:
enable_formui:true
hologram:
enabled:false
offset_x:0.5
offset_y:1.6
offset_z:0.5
alignment:CENTER
shadowed_text:true
see_through:false
transparent_background:false
particle:
spawner_stack:true
spawner_activate:true
spawner_generate_loot:true
logging:
enabled:true
json_format:false
console_output:false
max_log_files:10
max_log_size_mb:10
log_all_events:false
logged_events:
-'SPAWNER_PLACE'
-'SPAWNER_BREAK'
-'SPAWNER_STACK_HAND'
-'SPAWNER_SELL_ALL'
-'COMMAND_EXECUTE_PLAYER'
database:
mode:YAML
server_name:server1
sync_across_servers:false
migrate_from_local:true
performance:
approximate_loot:true
approximation_threshold:1000
Available Log Events
| Event | Description |
|---|---|
SPAWNER_PLACE | Spawner placed by a player |
SPAWNER_BREAK | Spawner broken by a player |
SPAWNER_EXPLODE | Spawner destroyed by an explosion |
SPAWNER_STACK_HAND | Spawner stacked by hand |
SPAWNER_STACK_GUI | Spawner stacked via GUI |
SPAWNER_DESTACK_GUI | Spawner destacked via GUI |
SPAWNER_GUI_OPEN | Main spawner GUI opened |
SPAWNER_STORAGE_OPEN | Storage GUI opened |
SPAWNER_STACKER_OPEN | Stacker GUI opened |
SPAWNER_EXP_CLAIM | XP claimed from spawner |
SPAWNER_SELL_ALL | Items sold from storage |
SPAWNER_ITEM_TAKE_ALL | All items taken from storage |
SPAWNER_ITEM_DROP | Item dropped with the drop key |
SPAWNER_ITEMS_SORT | Items sorted in storage |
SPAWNER_ITEM_FILTER | Item filter toggled |
SPAWNER_DROP_PAGE_ITEMS | All items on current page dropped |
SPAWNER_EGG_CHANGE | Entity type changed with spawn egg |
COMMAND_EXECUTE_PLAYER | Command run by a player |
COMMAND_EXECUTE_CONSOLE | Command run by console |
COMMAND_EXECUTE_RCON | Command run via RCON |