From 4506801b39b9ada52c2a0c73df4dbacdb1257b76 Mon Sep 17 00:00:00 2001 From: Matthieu Grieger Date: Sat, 15 Nov 2014 21:01:17 -0800 Subject: [PATCH] Add config.rb --- mumbledj/config.rb | 97 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 mumbledj/config.rb diff --git a/mumbledj/config.rb b/mumbledj/config.rb new file mode 100644 index 0000000..6090fac --- /dev/null +++ b/mumbledj/config.rb @@ -0,0 +1,97 @@ +# MumbleDJ +# By Matthieu Grieger +# config.rb + +# --------------------- +# GENERAL CONFIGURATION +# --------------------- + +# Default channel +# DEFAULT VALUE: "Music" +DEFAULT_CHANNEL = "Music" + +# Command prefix +# DEFAULT VALUE: "!" +COMMAND_PREFIX = "!" + +# Show status output in console? +# DEFAULT VALUE: true +OUTPUT_ENABLED = true + +# Default volume +# DEFAULT VALUE: 0.2 +VOLUME = 0.2 + +# Lowest volume allowed +# DEFAULT VALUE: 0.01 +LOWEST_VOLUME = 0.01 + +# Highest volume allowed +# DEFAULT VALUE: 0.6 +HIGHEST_VOLUME = 0.6 + +# Ratio that must be met or exceeded to trigger a song skip +# DEFAULT VALUE: 0.5 +SKIP_RATIO = 0.5 + + +# --------------------- +# COMMAND CONFIGURATION +# --------------------- + +# Alias used for add command +# DEFAULT VALUE: "add" +ADD_ALIAS = "add" + +# Alias used for skip command +# DEFAULT VALUE: "skip" +SKIP_ALIAS = "skip" + +# Alias used for volume command +# DEFAULT VALUE: "volume" +VOLUME_ALIAS = "volume" + +# Alias used for move command +# DEFAULT VALUE: "move" +MOVE_ALIAS = "move" + +# Alias used for kill command +# DEFAULT VALUE: "kill" +KILL_ALIAS = "kill" + + +# ------------------- +# ADMIN CONFIGURATION +# ------------------- + +# Enable admins (true = on, false = off) +# DEFAULT VALUE: true +ENABLE_ADMINS = true + +# List of admins +# NOTE: I recommend only giving users admin privileges if they are +# registered on the server. Otherwise people can just take their username +# and issue admin commands. +ADMINS = ["DrumZ"] + +# Make add an admin command? +# DEFAULT VALUE: false +ADMIN_ADD = false + +# Make skip an admin command? +# DEFAULT VALUE: false +ADMIN_SKIP = false + +# Make volume an admin command? +# DEFAULT VALUE: true +ADMIN_VOLUME = true + +# Make move an admin command? +# DEFAULT VALUE: true +ADMIN_MOVE = true + +# Make kill an admin command? +# DEFAULT VALUE: true (I recommend never changing this to false) +ADMIN_KILL = true + +