From 32e4420712ef2677650bd093947ee8266b4ec0db Mon Sep 17 00:00:00 2001 From: Aust1n46 Date: Sun, 4 Apr 2021 23:00:42 -0500 Subject: [PATCH] Rename "defaultconfig" to something more... verbose. --- ... => example_config_always_up_to_date!.yml} | 19 +++++++++++-------- .../Aust1n46/chat/MineverseChat.java | 2 +- 2 files changed, 12 insertions(+), 9 deletions(-) rename src/{defaultconfig.yml => example_config_always_up_to_date!.yml} (93%) diff --git a/src/defaultconfig.yml b/src/example_config_always_up_to_date!.yml similarity index 93% rename from src/defaultconfig.yml rename to src/example_config_always_up_to_date!.yml index 06b1c27..c15f824 100644 --- a/src/defaultconfig.yml +++ b/src/example_config_always_up_to_date!.yml @@ -1,6 +1,6 @@ #=============================================================== # VentureChat Config = -# Author: Aust1n46 = +# Author: Aust1n46 = #=============================================================== # - regex1,regex2 @@ -55,14 +55,17 @@ commandspy: antispam: enabled: true - # number of messages to be spam + # Number of messages to be spam spamnumber: 5 - # amount of time in seconds for it to be spam + # Amount of time in seconds for it to be spam spamtime: 10 - # amount of time in minutes for the mute to last, use 0 for untimed mute - mutetime: 10 + # Amount of time for the mute to last + # Acceptable units are: d,h,m,s + # Units can be combined, for example: 1d8h30m15s + # Use 0 for untimed mute + mutetime: 10m # Logging chat and commands to a mysql database mysql: @@ -179,16 +182,16 @@ venturegui: mute: icon: 'REDSTONE_BLOCK' durability: 0 - text: '&cMute {player_name}' + text: '&cMute {player_name} &410m' permission: 'mute' - command: '/mute {player_name} {channel} 10' + command: '/mute {channel} {player_name} 10m' slot: 1 unmute: icon: 'DIAMOND_BLOCK' durability: 0 text: '&bUnmute {player_name}' permission: 'mute' - command: '/unmute {player_name} {channel}' + command: '/unmute {channel} {player_name} ' slot: 2 removemessage: icon: 'DIAMOND_AXE' diff --git a/src/mineverse/Aust1n46/chat/MineverseChat.java b/src/mineverse/Aust1n46/chat/MineverseChat.java index ae003f6..6d561c0 100644 --- a/src/mineverse/Aust1n46/chat/MineverseChat.java +++ b/src/mineverse/Aust1n46/chat/MineverseChat.java @@ -196,7 +196,7 @@ public class MineverseChat extends JavaPlugin implements PluginMessageListener { Bukkit.getConsoleSender().sendMessage(Format.FormatStringAll("&8[&eVentureChat&8]&e - Config found! Loading file.")); } - saveResource("defaultconfig.yml", true); + saveResource("example_config_always_up_to_date!.yml", true); } catch(Exception ex) { log.severe(String.format("[" + String.format("VentureChat") + "]" + " - Could not load configuration!\n " + ex, getDescription().getName()));