Skip to content

Instantly share code, notes, and snippets.

@ocram9
Created March 31, 2020 20:45
Show Gist options
  • Save ocram9/e921374c18badd9bcd779d08e2ed10af to your computer and use it in GitHub Desktop.
Save ocram9/e921374c18badd9bcd779d08e2ed10af to your computer and use it in GitHub Desktop.
#General bot Configuration
[generalSettings]
#Wether or not the Bot should modify the channel description
botModifyDescription = true
#The channel ID where the bot will be working in
botChannel = "688576384859504655"
#Allowed Values: WATCHING, PLAYING, LISTENING, DISABLED
botPresenceType = "WATCHING"
#Insert your Bot Token here!
#DO NOT SHARE IT WITH ANYONE!
#If you think the update check is annoying disable this
#Update checking is not yet implemented!!!
updateCheck = true
#The Name of the Game
#
#PLACEHOLDERS:
#%online% - Online Players
#%max% - Maximum Player Amount
botPresenceName = "%online% players online"
#Webhook configuration
[webhook]
#The avatar to be used for server messages
serverAvatar = "https://raw.githubusercontent.com/ErdbeerbaerLP/Discord-Chat-Integration/master/images/srv.png"
#Wether or not the bot should use a webhook (it will create one)
serverName = "Server"
#Wether or not the bot should use a webhook (it will create one)
enableWebhook = true
#Customize messages of this mod
[messages]
#Chat message
#PLACEHOLDERS:
#%player% - The player´s name
#%msg% - The chat message
msgChatMessage = "%player%: %msg%"
#PLACEHOLDERS:
#%player% - The player´s name
msgPlayerLeave = "%player% left"
#Disable removal of color codes from chat to discord?
discordColorCodes = false
#A list of blacklisted modids
#Adding one will prevent the mod to send messages to discord using forges IMC system
imcModIdBlacklist = "[\"examplemodid\"]"
#This message will edited in / sent when the server finished starting
msgServerStarted = "Server Started!"
#Message to show while the server is starting
#This will be edited to SERVER_STARTED_MSG when webhook is false
msgServerStarting = "Server Starting..."
#The message to print to discord when it was possible to detect a server crash
#Will also be used in the channel description
msgServerCrash = "Server Crash Detected :thinking:"
#PLACEHOLDERS:
#%player% - The player´s name
#NOTE: This is currently not implemented because mixins are not working in 1.15!
msgPlayerTimeout = "%player% timed out!"
#Channel description while the server is online
#PLACEHOLDERS:
#%online% - Online player amount
#%max% - Maximum player count
#%tps% - Server TPS
#%motd% - The server MOTD (from server.properties!)
#%uptime% - The uptime of the server
description = "Server voor een Bende Ellende (%online%/%max%) | %tps% TPS | Uptime: %uptime%"
#Should /say output be sent to discord?
enableSayOutput = true
#Channel description while the server is starting
descriptionStarting = "Starting..."
#PLACEHOLDERS:
#%player% - The player´s name
#%msg% - The death message
msgPlayerDeath = "%player% %msg%"
#The format of the uptime command and %uptime% placeholder
#For more help with the formatting visit https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/DurationFormatUtils.html
uptimeFormat = "dd 'days' HH 'hours' mm 'minutes' ss 'seconds'"
#This message will be sent when the server was stopped
msgServerStopped = "Server Stopped!"
#This is what will be displayed ingame when someone types into the bot´s channel
#PLACEHOLDERS:
#%user% - The username
#%id% - The user ID
#%msg% - The Message
ingameDiscordMsg = "§6[§5DISCORD§6]§r <%user%> %msg%"
#Enable removal of color codes from discord to chat?
preventMcColorCodes = false
#Channel description while the server is offline
descriptionOffline = "Server is Offline!"
#Should /me output be sent to discord?
enableMeOutput = true
#Message sent when unignoring Discord messages
msgIgnoreUnignore = "You are no longer ignoring Discord messages!"
#Should tamed entity death be visible in discord?
tamedDeathEnabled = false
#PLACEHOLDERS:
#%player% - The player´s name
msgPlayerJoin = "%player% joined"
#Supports MulitLined messages using \n
#PLACEHOLDERS:
#%player% - The player´s name
#%name% - The advancement name
#%desc% - The advancement description
msgAdvancement = "%player% just gained the advancement **%name%**\\n_%desc%_"
#Message sent when ignoring Discord messages
msgIgnoreIgnore = "You are now ignoring Discord messages!"
#Configuration for built-in discord commands
[dc-commands]
#The Role ID of your Admin Role
adminRoleId = "427116682214113290"
#The header for 'list'
#PLACEHOLDERS:
#%amount% - The amount of players online
msgListHeader = "There are %amount% players online:"
#Enable help command?
#Disabling also removes response when you entered an invalid command
#Requires server restart
enableHelpCommand = true
#You MUST op this UUID in the ops.txt or many commands won't work!!
senderUUID = "8d8982a5-8cf9-4604-8feb-3dd5ee1f83a3"
#The prefix of the commands like list
prefix = "/"
#Header of the help command
helpHeader = "Your available commands in this channel:"
#Message if a player provides too many arguments
msgTooManyArgs = "Too many arguments"
#Enable the list command in discord
#Requires server restart
enableListCommand = true
#The header for 'list' when one player is online
msgListOne = "There is 1 player online:"
#Add your Custom commands to this JSON
#You can copy-paste it to https://jsoneditoronline.org Make sure when pasting here, that the json is NOT mulitlined.
#You can click on "Compact JSON Data" on the website
#NOTE: The JSON string must be escaped. You can use this website to escape or unescape: https://www.freeformatter.com/java-dotnet-escape.html
#NOTE 2: You MUST op the uuid set at SENDER_UUID in the ops.txt !!!
#
#mcCommand - The command to execute on the server
#adminOnly - True: Only allows users with the Admin role to use this command. False: @everyone can use the command
#description - Description shown in /help
#aliases - Aliases for the command in a string array
#useArgs - Shows argument text after the command
#argText - Defines custom arg text. Default is <args>
#channelIDs - Allows you to set specific text channels outside of the server channel to use this command (make it an string array), Set to ["00"] to allow from all channels
jsonCommands = "{\"kick\":{\"adminOnly\":true,\"mcCommand\":\"kick\",\"description\":\"Kicks a player from the server\",\"useArgs\":true,\"argText\":\"\\u003cplayer\\u003e [reason]\"},\"stop\":{\"adminOnly\":true,\"mcCommand\":\"stop\",\"description\":\"Stops the server\",\"aliases\":[\"shutdown\"],\"useArgs\":false},\"kill\":{\"adminOnly\":true,\"mcCommand\":\"kill\",\"description\":\"Kills a player\",\"useArgs\":true,\"argText\":\"\\u003cplayer\\u003e\"},\"tps\":{\"adminOnly\":false,\"mcCommand\":\"forge tps\",\"description\":\"Displays TPS\",\"useArgs\":false}}"
#Set to true to enable the "Unknown Command" message in all channels
enableUnknownCommandEverywhere = false
#Custom Channel ID list for the list command. Set to 00 to allow usage from everywhere and to 0 to allow usage from the bots default channel
helpCmdChannel = "0"
#Set to false to completely disable the "Unknown Command" message
enableUnknownCommandMsg = true
#Message if a player can not be found
#PLACEHOLDERS:
#%player% - The player´s name
msgPlayerNotFound = "Can not find player \"%player%\""
#Message sent when user does not have permission to run a command
msgNoPermission = "You don´t have permission to execute this command!"
#The message for 'list' when no player is online
msgListEmpty = "There is no player online..."
#Message if a player provides less arguments than required
msgNotEnoughArgs = "Not enough arguments"
#Message sent when an invalid command was typed
#PLACEHOLDERS:
#%prefix% - Command prefix
msgUnknownCommand = "Unknown command, try `%prefix%help` for a list of commands"
#Enable the iptime command in discord
#Requires server restart
enableUptimeCommand = true
#Configurate the /discord command useable ingame
[mc-command]
#The url to open when clicking the /discord command text
dcCmdURL = "http://discord.gg/myserver"
#The message displayed when typing /discord in the server chat
dcCmdMsg = "Join our discord! http://discord.gg/myserver"
#The message shown when hovering the /discord command message
dcCmdMsgHover = "Click to open the invite url"
#Enable the /discord command?
dcCmdEnabled = true
#Configure Advanced features like moving specific message types to different channels
[advanced]
#Custom channel for description
#Leave empty to use default channel
channelDescriptionID = ""
#Custom channel ID for server specific messages (like Join/leave)
#Leave empty to use default channel
serverChannelID = ""
#Custom channel ID for death messages
#Leave empty to use default channel
deathChannelID = ""
#Custom channel where messages get sent to minecraft
#Leave empty to use default channel
chatInputID = ""
#Custom channel for for ingame messages
#Leave empty to use default channel
chatOutputID = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment