From bf9f18e11c51466579c3b9050567dd3fc199c2b1 Mon Sep 17 00:00:00 2001 From: ryanhamshire Date: Thu, 3 Dec 2015 17:23:42 -0800 Subject: [PATCH] Added instructions to messages.yml. --- src/me/ryanhamshire/GriefPrevention/DataStore.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/me/ryanhamshire/GriefPrevention/DataStore.java b/src/me/ryanhamshire/GriefPrevention/DataStore.java index dccebc5..2045a8f 100644 --- a/src/me/ryanhamshire/GriefPrevention/DataStore.java +++ b/src/me/ryanhamshire/GriefPrevention/DataStore.java @@ -1422,7 +1422,8 @@ public abstract class DataStore //save any changes try { - config.save(DataStore.messagesFilePath); + config.options().header("Use a YAML editor like NotepadPlusPlus to edit this file. \nAfter editing, back up your changes before reloading the server in case you made a syntax error. \nUse dollar signs ($) for formatting codes, which are documented here: http://minecraft.gamepedia.com/Formatting_codes"); + config.save(DataStore.messagesFilePath); } catch(IOException exception) {