This repository has been archived on 2019-06-23. You can view files and clone it, but cannot push or open issues/pull-requests.
mumbledj/config.gcfg

275 lines
5.9 KiB
Plaintext
Raw Normal View History

2014-12-13 05:52:44 +01:00
# MumbleDJ
# By Matthieu Grieger
2015-03-21 05:21:00 +01:00
# config.gcfg
2014-12-13 05:52:44 +01:00
# Copyright (c) 2014 Matthieu Grieger (MIT License)
[General]
2014-12-13 05:52:44 +01:00
# Command prefix
# DEFAULT VALUE: "!"
CommandPrefix = "!"
2014-12-13 05:52:44 +01:00
# Ratio that must be met or exceeded to trigger a song skip
# DEFAULT VALUE: 0.5
SkipRatio = 0.5
2014-12-13 05:52:44 +01:00
# Ratio that must be met or exceeded to trigger a playlist skip
# DEFAULT VALUE: 0.5
PlaylistSkipRatio = 0.5
# Default comment to be applied to bot.
# DEFAULT VALUE: "Hello! I am a bot. Type !help for a list of commands."
# NOTE: If you do not want a comment by default, set the variable equal to an empty string ("").
DefaultComment = "Hello! I am a bot. Type !help for a list of commands."
2015-02-18 05:56:45 +01:00
# Maximum song duration in seconds (0 = unrestricted)
# Default Value: 0
MaxSongDuration = 0
2014-12-13 05:52:44 +01:00
# Maximum songs per playlist (0 = unrestricted)
# Default Value: 50
MaxSongPerPlaylist = 50
# Is playlist shuffling enabled when the bot starts?
# Default Value: false
AutomaticShuffleOn = false
# Announce song information at start of track
# Default Value: true
AnnounceNewTrack = true
# Command to use to play audio files. The two supported choices are "ffmpeg" and "avconv".
# Default Value: "ffmpeg"
PlayerCommand = "ffmpeg"
[Cache]
# Cache songs as they are downloaded?
# DEFAULT VALUE: false
Enabled = false
# Maximum total file size of cache directory (in MB)
# DEFAULT VALUE: 512
MaximumSize = 512
# Period of time that should elapse before a song is cleared from the cache (in hours)
# DEFAULT VALUE: 24
ExpireTime = 24
[Volume]
2014-12-13 05:52:44 +01:00
# Default volume
# DEFAULT VALUE: 0.2
DefaultVolume = 0.2
2014-12-13 05:52:44 +01:00
# Lowest volume allowed
# DEFAULT VALUE: 0.01
LowestVolume = 0.01
2014-12-13 05:52:44 +01:00
# Highest volume allowed
# DEFAULT VALUE: 0.8
HighestVolume = 0.8
2014-12-13 05:52:44 +01:00
2015-10-06 20:26:09 +02:00
[Aliases]
2014-12-13 05:52:44 +01:00
# Alias used for add command
# DEFAULT VALUE: "add"
AddAlias = "add"
2014-12-13 05:52:44 +01:00
2015-12-15 02:07:12 +01:00
# Alias used for addnext command
# DEFAULT VALUE: "addnext"
AddNextAlias = "addnext"
2014-12-13 05:52:44 +01:00
# Alias used for skip command
# DEFAULT VALUE: "skip"
SkipAlias = "skip"
2014-12-13 05:52:44 +01:00
# Alias used for playlist skip command
# DEFAULT VALUE: "skipplaylist"
SkipPlaylistAlias = "skipplaylist"
2014-12-13 05:52:44 +01:00
# Alias used for admin skip command
# DEFAULT VALUE: "forceskip"
AdminSkipAlias = "forceskip"
2014-12-13 05:52:44 +01:00
# Alias used for admin playlist skip command
# DEFAULT VALUE: "forceskipplaylist"
AdminSkipPlaylistAlias = "forceskipplaylist"
2015-01-11 00:15:12 +01:00
# Alias used for help command
# DEFAULT VALUE: "help"
HelpAlias = "help"
2014-12-13 05:52:44 +01:00
# Alias used for volume command
# DEFAULT VALUE: "volume"
VolumeAlias = "volume"
2014-12-13 05:52:44 +01:00
# Alias used for joinme
# DEFAULT VALUE : "joinme"
JoinMeAlias = "joinme"
2014-12-13 05:52:44 +01:00
# Alias used for move command
# DEFAULT VALUE: "move"
MoveAlias = "move"
2014-12-13 05:52:44 +01:00
# Alias used for reload command
# DEFAULT VALUE: "reload"
ReloadAlias = "reload"
2014-12-13 05:52:44 +01:00
2015-01-06 04:16:59 +01:00
# Alias used for queue reset command
# DEFAULT VALUE: "reset"
ResetAlias = "reset"
# Alias used for numsongs command
# DEFAULT VALUE: "numsongs"
NumSongsAlias = "numsongs"
2015-01-13 01:21:53 +01:00
# Alias used for nextsong command
# DEFAULT VALUE: "nextsong"
NextSongAlias = "nextsong"
2015-01-25 20:27:28 +01:00
# Alias used for the currentsong command
# DEFAULT VALUE: "currentsong"
CurrentSongAlias = "currentsong"
# Alias used for the setcomment command
# DEFAULT VALUE: "setcomment"
SetCommentAlias = "setcomment"
# Alias used for numcached command
# DEFAULT VALUE: "numcached"
NumCachedAlias = "numcached"
# Alias used for cachesize command
# DEFAULT VALUE: "cachesize"
CacheSizeAlias = "cachesize"
2014-12-13 05:52:44 +01:00
# Alias used for kill command
# DEFAULT VALUE: "kill"
KillAlias = "kill"
2014-12-13 05:52:44 +01:00
2015-10-06 20:26:09 +02:00
# Alias used for shuffle command
# DEFAULT VALUE: "shuffle"
ShuffleAlias = "shuffle"
2014-12-13 05:52:44 +01:00
# Alias used for shuffleon command
# DEFAULT VALUE: "shuffleon"
ShuffleOnAlias = "shuffleon"
# Alias used for shuffleoff command
# DEFAULT VALUE: "shuffleoff"
ShuffleOffAlias = "shuffleoff"
2015-12-14 04:34:33 +01:00
# Alias used for listsongs command
# DEFAULT_VALUE: "listsongs"
ListSongsAlias = "listsongs"
# Alias used for version command
# DEFAULT_VALUE: "version"
VersionAlias = "version"
[Permissions]
2014-12-13 05:52:44 +01:00
# Enable admins
# DEFAULT VALUE: true
AdminsEnabled = true
2014-12-13 05:52:44 +01:00
# 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.
# SYNTAX: In order to specify multiple admins, repeat the Admins="username"
# line of code. Each line has one username, and an unlimited amount of usernames may
2014-12-16 01:40:58 +01:00
# be entered in this matter.
Admins = "Matt"
2014-12-13 05:52:44 +01:00
# Make add an admin command?
# DEFAULT VALUE: false
AdminAdd = false
2014-12-13 05:52:44 +01:00
2015-12-15 02:07:12 +01:00
# Make addnext an admin command?
# DEFAULT VALUE: true
AdminAddNext = true
# Make playlist adds an admin only action?
# DEFAULT VALUE: false
AdminAddPlaylists = false
2014-12-13 05:52:44 +01:00
# Make skip an admin command?
# DEFAULT VALUE: false
AdminSkip = false
2014-12-13 05:52:44 +01:00
2015-01-11 00:15:12 +01:00
# Make help an admin command?
# DEFAULT VALUE: false
AdminHelp = false
2014-12-13 05:52:44 +01:00
# Make volume an admin command?
# DEFAULT VALUE: false
AdminVolume = false
2014-12-13 05:52:44 +01:00
# Make move an admin command?
# DEFAULT VALUE: true
AdminMove = true
2014-12-13 05:52:44 +01:00
# Make joinme a admin command?
# DEFAULT VALUE: true
AdminJoinMe = true
2014-12-13 05:52:44 +01:00
# Make reload an admin command?
# DEFAULT VALUE: true
AdminReload = true
2014-12-13 05:52:44 +01:00
2015-01-06 04:16:59 +01:00
# Make reset an admin command?
# DEFAULT VALUE: true
AdminReset = true
# Make numsongs an admin command?
# DEFAULT VALUE: false
AdminNumSongs = false
2015-01-13 01:21:53 +01:00
# Make nextsong an admin command?
# DEFAULT VALUE: false
AdminNextSong = false
2015-01-25 20:27:28 +01:00
# Make currentsong an admin command?
# DEFAULT VALUE: false
AdminCurrentSong = false
# Make setcomment an admin command?
# DEFAULT VALUE: true
AdminSetComment = true
# Make numcached an admin command?
# DEFAULT VALUE: true
AdminNumCached = true
# Make cachesize an admin command?
# DEFAULT VALUE: true
AdminCacheSize = true
2014-12-13 05:52:44 +01:00
# Make kill an admin command?
# DEFAULT VALUE: true (I recommend never changing this to false)
AdminKill = true
2015-10-06 20:26:09 +02:00
# Make shuffle an admin command?
# DEFAULT VALUE: true
AdminShuffle = true
2015-10-12 18:05:14 +02:00
2015-12-14 04:34:33 +01:00
# Make listSongs an admin command?
# DEFAULT VALUE: false
AdminListSongs = false
2015-10-12 18:05:14 +02:00
# Make version an admin command?
# DEFAULT VALUE: false
AdminVersion = false
2015-10-12 18:05:14 +02:00
# Make shuffleon and shuffleoff admin commands?
# DEFAULT VALUE: true
AdminShuffleToggle = true
2015-11-19 08:05:23 +01:00
[ServiceKeys]
YouTube = ""
SoundCloud = ""