Cấu Hình Chính
File plugins/SmartSpawner/config.yml điều khiển ngôn ngữ, hành vi spawner, hiệu ứng, cơ sở dữ liệu và hiệu năng.
Hai phần có file riêng. Bán vật phẩm và bảng giá nằm trong sell_integration.yml, ghi nhật ký thao tác nằm trong activity_log.yml.
Hầu hết tùy chọn áp dụng khi chạy /ss reload. Những tùy chọn ghi RESTART chỉ được đọc lúc máy chủ khởi động.
Có thể quản lý bảng loot của mob và Item Spawner ngay trong game. Dùng /ss edit smartspawner hoặc /ss edit itemspawner để chỉnh mục hiện có, và /ss add smartspawner|itemspawner để tạo mục mới. Xem trang Lệnh để biết cú pháp và quyền tương ứng.
Nhấp vào một tùy chọn hoặc nhóm để xem thông tin chi tiết.
Định Dạng Thời Gian
SmartSpawner hỗ trợ thời lượng ngắn, dễ đọc ở mọi nơi cần thời gian:
| Định dạng | Ý nghĩa |
|---|---|
20s | 20 giây |
5m | 5 phút |
1h | 1 giờ |
1d | 1 ngày |
1d_2h_30m_15s | 1 ngày, 2 giờ, 30 phút, 15 giây |
Đơn vị hỗ trợ: s m h d w mo y
language:en_US
gui_layout:default
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
sneak_stack:true
sneak_place:true
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
drop_chance:(commented out)
spawn_mobs:true
protect_from_explosions:false
hopper:
enabled:false
check_delay:3s
stack_per_transfer:5
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
database:
type:SQLITE
table-prefix:sspawner_
autosave-interval:3m
sqlite-file:spawners.db
host:localhost
port:3306
database:smartspawner
username:root
password:
pool-size:10
server-name:server1
sync-across-servers:false
migrate-from-local:true
performance:
approximate_loot:true
approximation_threshold:1000
