Configuration
Configuration Files
Section titled “Configuration Files”| File | Purpose |
|---|---|
config.yml |
Gameplay, network, research, guide, and visual settings. |
block-storage.yml |
Block storage backend, connections, and write workers. |
profile-storage.yml |
Player-profile storage backend and workers. |
Items.yml |
Per-item settings generated by registered items/addons. |
Licenses.yml |
Configuration for registered Technology Licenses. |
The first three YAML blocks below are the exact defaults from the supplied source, including comments and key order. They are not a copy of your running server’s configuration. Runtime files are under plugins/MF-SlimeFun/.
config.yml
Section titled “config.yml”Location:
plugins/MF-SlimeFun/config.ymlDefault Configuration
Section titled “Default Configuration”# options:# auto-update - Auto check and update from Github# armor-update-interval - Update interval for Slimefun armor effects# enable-armor-effects - Toggle armor effects on/off# chat-prefix - Prefix for all Slimefun chat messages# auto-save-delay-in-minutes - Period of auto saving data, in minutes# legacy-ore-washer - Whether to use the legacy ore washer mechanics# legacy-dust-washer - Whether to use the legacy dust washer mechanics# legacy-ore-grinder - Whether to use the legacy ore grinder mechanics# language - Slimefun log and message language (excludes items)# enable-translations - Multi-language translation support# backwards-compatibility - Backwards compatibility mode for items (disabling improves performance)# log-duplicate-block-entries - Whether to log warnings for duplicate block entries# drop-excess-sf-give-items - Direct drop of items when inventory is full on give commands# backup-data - Auto backup databases# bypass-environment-check - Skip environment compatibility checksoptions: auto-update: false chat-prefix: '&e&lSlimeFun &6/ ' armor-update-interval: 10 enable-armor-effects: true enable-radiation: true radiation-update-interval: 1 radiation-grace-period: 15 rainbow-armor-update-interval: 3 auto-save-delay-in-minutes: 10 legacy-ore-washer: false legacy-dust-washer: false legacy-ore-grinder: true language: en enable-translations: true log-duplicate-block-entries: true drop-excess-sf-give-items: false backup-data: true drop-block-creative: true bypass-environment-check: false bypass-item-length-check: false
guide: # Show vanilla crafting recipes in the Slimefun Guide show-vanilla-recipes: true # Give guide on first join receive-on-first-join: true # Show hidden item groups in search show-hidden-item-groups-in-search: false
researches: # Allow creative mode players to unlock researches for free free-in-creative-mode: true # Spawn fireworks when unlocking research enable-fireworks: true # Use money instead of experience to unlock research use-money-unlock: false # Experience to money conversion rate currency-cost-convert-rate: 25.0 # Disable research learning animation disable-learning-animation: false
visuals: # Available: # - ARMOR_STAND # - TEXT_DISPLAY # # Changing display-type requires a full server restart. display-type: ARMOR_STAND
text-display: # Vertical visual translation applied to TextDisplay holograms. # # Smaller = lower # Larger = higher # # Reloadable with /sf reload. y-offset: 0.30
# Controls the dark background behind TextDisplay text. # # true = fully transparent background # false = use Minecraft's default TextDisplay background # # Reloadable with /sf reload. transparent-background: true
URID: custom-ticker-delay: 10 enable-tickers: true
networks: max-size: 200 cargo-ticker-delay: 0 enable-visualizer: true delete-excess-items: false
talismans: use-actionbar: true
metrics: auto-update: false
backpack: # Allow opening backpacks when the owner is offline allow-open-when-owner-offline: true
research-ranks: - Chicken - Cow - Spider - Villager - Pioneer - Novice - Intern - Beginner - Student - Clumsy Apprentice - Apprentice - Skilled Apprentice - Mage Apprentice - Outstanding Mage - Young Magician - Clumsy Magician - Ordinary Magician - Magician - Skilled Magician - Stunt Magician - Veteran Magician - Outstanding Magician - Clumsy Wizard - Wizard - Ordinary Wizard - Stunt Wizard - Outstanding Wizard - Excellent Wizard - Young Master - Clumsy Master - Intern Master - Qualified Master - Master - Stunt Master - Outstanding Master - Excellent Master - Proficient Master - The Chosen OneConfiguration Reference
Section titled “Configuration Reference”| Key | Default | Description |
|---|---|---|
options.auto-update |
false |
Automatic update option |
options.chat-prefix |
&e&lSlimeFun &6/ |
Prefix for plugin chat messages |
options.armor-update-interval |
10 |
Armor effect update interval |
options.enable-armor-effects |
true |
Enable Slimefun armor effects |
options.enable-radiation |
true |
Enable radiation mechanics |
options.radiation-update-interval |
1 |
Radiation update interval |
options.radiation-grace-period |
15 |
Radiation grace period |
options.rainbow-armor-update-interval |
3 |
Rainbow armor update interval |
options.auto-save-delay-in-minutes |
10 |
Auto-save delay in minutes |
options.legacy-ore-washer |
false |
Use legacy ore washer behavior |
options.legacy-dust-washer |
false |
Use legacy dust washer behavior |
options.legacy-ore-grinder |
true |
Use legacy ore grinder behavior |
options.language |
en |
Default message/log language |
options.enable-translations |
true |
Enable multilingual translation support |
options.log-duplicate-block-entries |
true |
Log duplicate block data entry warnings |
options.drop-excess-sf-give-items |
false |
Drop excess items produced by /sf give |
options.backup-data |
true |
Enable built-in automatic backup option |
options.drop-block-creative |
true |
Control drops from creative-mode block interaction |
options.bypass-environment-check |
false |
Bypass startup environment compatibility check |
options.bypass-item-length-check |
false |
Bypass item-length validation check |
guide.show-vanilla-recipes |
true |
Display vanilla recipes in guide |
guide.receive-on-first-join |
true |
Give guide at first join |
guide.show-hidden-item-groups-in-search |
false |
Include hidden groups in guide search |
researches.free-in-creative-mode |
true |
Free research unlocks for creative-mode players |
researches.enable-fireworks |
true |
Spawn fireworks on research unlock |
researches.use-money-unlock |
false |
Use currency rather than experience for research |
researches.currency-cost-convert-rate |
25.0 |
Experience-to-money cost conversion factor |
researches.disable-learning-animation |
false |
Disable research learning animation |
visuals.display-type |
ARMOR_STAND |
Hologram display mode; restart after change |
visuals.text-display.y-offset |
0.3 |
Vertical offset for TextDisplay; reloadable |
visuals.text-display.transparent-background |
true |
Transparent TextDisplay background; reloadable |
URID.custom-ticker-delay |
10 |
Custom ticker scheduling delay |
URID.enable-tickers |
true |
Enable block ticker processing |
networks.max-size |
200 |
Core network maximum size; not MF-SFNetwork nodes |
networks.cargo-ticker-delay |
0 |
Cargo ticker scheduling delay |
networks.enable-visualizer |
true |
Enable network visualizer |
networks.delete-excess-items |
false |
How cargo handles excess transfer items |
talismans.use-actionbar |
true |
Display talisman messages in action bar |
metrics.auto-update |
false |
Automatic metrics update option |
backpack.allow-open-when-owner-offline |
true |
Allow opening backpack when its owner is offline |
research-ranks |
List (38 entries) | Ordered display rank name list (38 entries) |
Network and Runtime Settings
Section titled “Network and Runtime Settings”networks.max-size belongs to the MF-SlimeFun core network, not the MF-SFNetwork addon controller. URID.enable-tickers, URID.custom-ticker-delay, and networks.cargo-ticker-delay affect processing. Change them only after testing gameplay performance. The shipped comments call for a restart after changing visuals.display-type.
block-storage.yml
Section titled “block-storage.yml”Location:
plugins/MF-SlimeFun/block-storage.ymlDefault Configuration
Section titled “Default Configuration”########################################################################## Database type: SQLITE, MYSQL, or POSTGRESQL# Note: Changing this option will not automatically migrate existing databases :)storageType: SQLITE
# Use Base64 encoding for data fieldsbase64EncodeVal: true
# Chunk data loading mode# Options:# - LOAD_WITH_CHUNK: Load Slimefun data dynamically when the chunk is loaded.# - LOAD_ON_STARTUP: Load all chunk data at server startup (may increase startup time).# LOAD_WITH_CHUNK is recommended to save memory.# If chunk loading lag occurs, switch to LOAD_ON_STARTUP.dataLoadMode: LOAD_WITH_CHUNK#########################################################################
########################################################################## Database read/write threads# If using MySQL, set maximum pool size to read threads + write threads.# Note: More threads do not always improve performance. Assign appropriately.
# Read threads countreadExecutorThread: 15# Write threads countwriteExecutorThread: 5#########################################################################
########################################################################## Delayed writing function# Prevents performance bottleneck due to frequent writing.# When data is updated, it waits (delayedSecond) seconds before writing to the database.# Direct forced saves write directly to the queue.delayedWriting: # Enable delayed writing enable: true # Seconds to delay write delayedSecond: 5 # Forced save interval (in seconds) forceSavePeriod: 300#########################################################################
########################################################################## Sqlite settingssqlite: maxConnection: 5#########################################################################
########################################################################## MySQL settingsmysql: # Host URL host: "127.0.0.1" # Port port: 3306 # Database name database: "" # Table prefix tablePrefix: "" # Username user: "" # Password password: "" # Use SSL useSSL: false # Max connection pool size maxConnection: 10#########################################################################
########################################################################## PostgreSQL settingspostgresql: # Host URL host: "127.0.0.1" # Port port: 5432 # Database name database: "" # Table prefix tablePrefix: "" # Username user: "" # Password password: "" # Use SSL useSSL: false # Max connection pool size maxConnection: 10#########################################################################Configuration Reference
Section titled “Configuration Reference”| Key | Default | Description |
|---|---|---|
storageType |
SQLITE |
Selected database backend (SQLITE, MYSQL, POSTGRESQL) |
base64EncodeVal |
true |
Encode stored field values using Base64 |
dataLoadMode |
LOAD_WITH_CHUNK |
Block-data load mode: LOAD_WITH_CHUNK or LOAD_ON_STARTUP |
readExecutorThread |
15 |
Database read executor thread count |
writeExecutorThread |
5 |
Database write executor thread count |
delayedWriting.enable |
true |
Enable deferred block writes |
delayedWriting.delayedSecond |
5 |
Seconds to delay deferred writes |
delayedWriting.forceSavePeriod |
300 |
Force-save period in seconds |
sqlite.maxConnection |
5 |
SQLite maximum pooled connections |
mysql.host |
127.0.0.1 |
Database host |
mysql.port |
3306 |
Database port |
mysql.database |
(empty) |
Database name |
mysql.tablePrefix |
(empty) |
SQL table name prefix |
mysql.user |
(empty) |
Database username |
mysql.password |
(empty) |
Database password; keep private |
mysql.useSSL |
false |
Enable SSL for database connection |
mysql.maxConnection |
10 |
Maximum connection pool size |
postgresql.host |
127.0.0.1 |
Database host |
postgresql.port |
5432 |
Database port |
postgresql.database |
(empty) |
Database name |
postgresql.tablePrefix |
(empty) |
SQL table name prefix |
postgresql.user |
(empty) |
Database username |
postgresql.password |
(empty) |
Database password; keep private |
postgresql.useSSL |
false |
Enable SSL for database connection |
postgresql.maxConnection |
10 |
Maximum connection pool size |
Storage Notes
Section titled “Storage Notes”storageType defaults to SQLITE. MYSQL and POSTGRESQL are alternative backend configurations; changing the value does not migrate any existing data. Connection passwords must remain private. Changes to worker counts and connection pooling need performance testing.
profile-storage.yml
Section titled “profile-storage.yml”Location:
plugins/MF-SlimeFun/profile-storage.ymlDefault Configuration
Section titled “Default Configuration”########################################################################## Database type: SQLITE, MYSQL, or POSTGRESQL# Note: Changing this option will not automatically migrate existing databases :)# Note: When using MySQL across BungeeCord/Velocity servers, set 'allow-open-when-owner-offline'# to false in config.yml to prevent item duplication exploits.storageType: SQLITE
# Use Base64 encoding for data fieldsbase64EncodeVal: true#########################################################################
########################################################################## Database read/write threads# If using MySQL, set maximum pool size to read threads + write threads.# Note: More threads do not always improve performance. Assign appropriately.
# Read threads countreadExecutorThread: 7# Write threads countwriteExecutorThread: 3#########################################################################
########################################################################## Sqlite settingssqlite: maxConnection: 5#########################################################################
########################################################################## MySQL settingsmysql: # Host URL host: "127.0.0.1" # Port port: 3306 # Database name database: "" # Table prefix tablePrefix: "" # Username user: "" # Password password: "" # Use SSL useSSL: false # Max connection pool size maxConnection: 10#########################################################################
########################################################################## PostgreSQL settingspostgresql: # Host URL host: "127.0.0.1" # Port port: 5432 # Database name database: "" # Table prefix tablePrefix: "" # Username user: "" # Password password: "" # Use SSL useSSL: false # Max connection pool size maxConnection: 10#########################################################################Configuration Reference
Section titled “Configuration Reference”| Key | Default | Description |
|---|---|---|
storageType |
SQLITE |
Selected database backend (SQLITE, MYSQL, POSTGRESQL) |
base64EncodeVal |
true |
Encode stored field values using Base64 |
readExecutorThread |
7 |
Database read executor thread count |
writeExecutorThread |
3 |
Database write executor thread count |
sqlite.maxConnection |
5 |
SQLite maximum pooled connections |
mysql.host |
127.0.0.1 |
Database host |
mysql.port |
3306 |
Database port |
mysql.database |
(empty) |
Database name |
mysql.tablePrefix |
(empty) |
SQL table name prefix |
mysql.user |
(empty) |
Database username |
mysql.password |
(empty) |
Database password; keep private |
mysql.useSSL |
false |
Enable SSL for database connection |
mysql.maxConnection |
10 |
Maximum connection pool size |
postgresql.host |
127.0.0.1 |
Database host |
postgresql.port |
5432 |
Database port |
postgresql.database |
(empty) |
Database name |
postgresql.tablePrefix |
(empty) |
SQL table name prefix |
postgresql.user |
(empty) |
Database username |
postgresql.password |
(empty) |
Database password; keep private |
postgresql.useSSL |
false |
Enable SSL for database connection |
postgresql.maxConnection |
10 |
Maximum connection pool size |
Storage Notes
Section titled “Storage Notes”storageType defaults to SQLITE. Block and player-profile backends have separate settings. Changing either backend does not migrate stored profiles or block records. Shut the server down and back up the existing storage before a backend change.
Runtime-Generated Settings
Section titled “Runtime-Generated Settings”Items.yml
Section titled “Items.yml”Items and addons register per-item configuration under item IDs. /sf banitem and /sf unbanitem change <ITEM_ID>.enabled. The MF-SFNetwork addon uses NTW_CONTROLLER.max_nodes in this file. The supplied source does not contain a complete generated Items.yml, so the runtime list cannot be reproduced as a static default.
Licenses.yml
Section titled “Licenses.yml”The Technology License manager uses plugins/MF-SlimeFun/Licenses.yml for registered license definitions under licenses.<namespaced-key>. Player ownership is stored separately in licenses/<uuid>.yml. Unregistered license IDs should not be invented.
Localization
Section titled “Localization”English and Indonesian resources are shipped under languages/en/ and languages/id/, including messages, categories, recipes, researches, and resources. Preserve technical keys and placeholders when editing translations.
Applying Configuration Changes
Section titled “Applying Configuration Changes”/sf reload reloads only supported parts of the plugin. The supplied source does not establish hot-reload support for every setting. For JAR replacement, database-backend changes, or sensitive ticker settings, use a normal stop/start with backup and staging verification. Do not use server-wide /reload as a safe replacement for a restart.