Difference between revisions of "Config"

From mcMMO wiki
Jump to: navigation, search
(Link to github for updated config options)
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
== Configuring mcMMO ==
 
== Configuring mcMMO ==
  
===Where to find the configuration files for mcMMO===
+
Default config files will be generated by default when you first install the plugin. To reset a config file back to its default values you can simply delete it, and McMMO will put in the default files next time you restart the plugin.
  
mcMMO uses configuration files found in this directory
+
''Note: McMMO 2.1 will have a complete configuration overhaul.''
  
''SEVER_DIRECTORY\plugins\mcMMO''
+
Default config files can be found on GitHub:
 +
[https://github.com/mcMMO-Dev/mcMMO/tree/master/src/main/resources Default Config Files]
  
mcMMO creates this directory and default configuration files after it has been run at least once.
+
[[config.yml|Basic Settings - config.yml]]
  
=== Basic Configuration ===
+
=== Advanced Configuration ===
 +
 
 +
[[advanced.yml|General Advanced Settings - advanced.yml]]
 +
 
 +
[[Skillranks.yml|Skill unlock lvls Settings - Skillranks.yml]]
  
A lot of basic settings for mcMMO can be found in '''config.yml'''
+
[[experience.yml|Experience Settings - experience.yml]]
  
==== General Basic Settings ====
+
[[itemweights.yml|Item Weight Settings - itemweights.yml]]
  
[[Editing config.yml]]
+
[[potions.yml|Potion Settings - potions.yml]]
  
=== Advanced Configuration ===
+
[[repair.vanilla.yml|Vanilla Repair Settings - repair.vanilla.yml]]
 +
 
 +
[[salvage.vanilla.yml|Salvage Settings - salvage.vanilla.yml]]
 +
 
 +
[[treasures.yml|Excavation Treasure Settings - treasures.yml]]
 +
 
 +
[[Permissions|List of mcMMO Permissions]]
  
====General Advanced Settings====
+
[[Locale|How to change your locale files]]
[[Editing advanced.yml]]
 
====Experience Settings====
 
[[Editing experience.yml]]
 
====Item Weight Settings====
 
[[Editing itemweights.yml]]
 
====Potion Settings====
 
[[Editing potions.yml]]
 
====Vanilla Repair Settings====
 
[[Editing repair.vanilla.yml]]
 
====Salvage Settings====
 
[[Editing salvage.vanilla.yml]]
 
====Excavation Treasure Settings====
 
[[Editing treasures.yml]]
 
  
 
===Other Config Files===
 
===Other Config Files===
Line 40: Line 38:
 
===Notes & Tips===
 
===Notes & Tips===
  
mcMMO configuration files are in a format known as YAML
+
mcMMO configuration files are in a format known as YAML.
  
YAML expects entries to have 4 spaces in front of them (not tabs)
+
YAML expects entries to have 4 spaces in front of them (not tabs).
  
 
You can check if your file is valid YAML by using this 3rd party site → [http://www.yamllint.com/ YAML Lint]
 
You can check if your file is valid YAML by using this 3rd party site → [http://www.yamllint.com/ YAML Lint]

Latest revision as of 06:19, 12 July 2019

Configuring mcMMO[edit]

Default config files will be generated by default when you first install the plugin. To reset a config file back to its default values you can simply delete it, and McMMO will put in the default files next time you restart the plugin.

Note: McMMO 2.1 will have a complete configuration overhaul.

Default config files can be found on GitHub: Default Config Files

Basic Settings - config.yml

Advanced Configuration[edit]

General Advanced Settings - advanced.yml

Skill unlock lvls Settings - Skillranks.yml

Experience Settings - experience.yml

Item Weight Settings - itemweights.yml

Potion Settings - potions.yml

Vanilla Repair Settings - repair.vanilla.yml

Salvage Settings - salvage.vanilla.yml

Excavation Treasure Settings - treasures.yml

List of mcMMO Permissions

How to change your locale files

Other Config Files[edit]

Do Not Edit These[edit]

upgrades.yml

Notes & Tips[edit]

mcMMO configuration files are in a format known as YAML.

YAML expects entries to have 4 spaces in front of them (not tabs).

You can check if your file is valid YAML by using this 3rd party site → YAML Lint

Keep in mind, just because a file is valid YAML does not mean the entries in the config file are valid.

At start-up mcMMO will check the config file for any illegal values and shut down mcMMO if it finds any. Pay attention to your server log as mcMMO is quite verbose when it finds invalid keys in the configuration files.

If config files do not exist mcMMO will copy default versions from within the mcMMO.jar

If you update mcMMO and we add new settings to the config file, we will add those into your existing config files for you.



Main Page