Add config.rb

This commit is contained in:
Matthieu Grieger 2014-11-15 21:01:17 -08:00
parent e866714447
commit 4506801b39

97
mumbledj/config.rb Normal file
View file

@ -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