Skip to content

Instantly share code, notes, and snippets.

@Osprey4444
Created March 9, 2020 17:51
Show Gist options
  • Save Osprey4444/8dc1b9e7169aee0fdeb7168876b045ea to your computer and use it in GitHub Desktop.
Save Osprey4444/8dc1b9e7169aee0fdeb7168876b045ea to your computer and use it in GitHub Desktop.
# Configuration file
general {
##########################################################################################################
# general config
#--------------------------------------------------------------------------------------------------------#
# General bot Configuration
##########################################################################################################
"general config" {
# The Name of the Game
S:BOT_GAME_NAME=Minecraft
# Valid values:
# WATCHING
# PLAYING
# LISTENING
# DISABLED
S:BOT_GAME_TYPE=PLAYING
# Insert your Bot Token here!
# DO NOT SHARE IT WITH ANYONE!
S:BOT_TOKEN=Njg2MzQ4Njg0MTk1Mzk3NzQ2.XmV6qw.lYSszhpWcPnMmNCYQOW1blV4Hqw
# The channel ID where the bot will be working in
S:CHANNEL_ID=634187250648743947
# Wether or not the Bot should modify the channel description
B:MODIFY_CHANNEL_DESCRIPTRION=false
# If you think the update check is annoying disable this
B:UPDATE_CHECK=true
}
##########################################################################################################
# webhook
#--------------------------------------------------------------------------------------------------------#
# Webhook configuration
##########################################################################################################
webhook {
# Wether or not the bot should use a webhook (it will create one)
B:BOT_WEBHOOK=false
# The avatar to be used for server messages
S:SERVER_AVATAR=https://raw.githubusercontent.com/ErdbeerbaerLP/Discord-Chat-Integration/master/images/srv.png
# The username of the server
S:SERVER_NAME=Server
}
##########################################################################################################
# messages
#--------------------------------------------------------------------------------------------------------#
# Customize messages of this mod
##########################################################################################################
messages {
# 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
S:CHANNEL_DESCRIPTION=%motd% (%online%/%max%) | %tps% TPS | Uptime: %uptime%
# Channel description while the server is offline
S:CHANNEL_DESCRIPTION_OFFLINE=Server is Offline!
# Channel description while the server is starting
S:CHANNEL_DESCRIPTION_STARTING=Resonant Rise 5 is Starting!
# Disable removal of color codes from chat to discord?
B:DISCORD_COLOR_CODES=true
# Should /me output be sent to discord?
B:ENABLE_ME_OUTPUT=true
# Should /say output be sent to discord?
B:ENABLE_SAY_OUTPUT=false
# 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
S:INGAME_DISCORD_MSG=§6%user%§7 %msg%
# Supports MulitLined messages using \n
# PLACEHOLDERS:
# %player% - The player´s name
# %name% - The advancement name
# %desc% - The advancement description
S:PLAYER_ADVANCEMENT_MSG=
# Chat message when webhook is disabled
# PLACEHOLDERS:
# %player% - The player´s name
# %msg% - The chat message
S:PLAYER_CHAT_MSG=%player%: %msg%
# PLACEHOLDERS:
# %player% - The player´s name
# %msg% - The death message
S:PLAYER_DEATH_MSG=
# PLACEHOLDERS:
# %player% - The player´s name
S:PLAYER_JOINED_MSG=%player% Joined RR5
# PLACEHOLDERS:
# %player% - The player´s name
S:PLAYER_LEFT_MSG=%player% Left RR5
# PLACEHOLDERS:
# %player% - The player´s name
S:PLAYER_TIMEOUT_MSG=%player% Timed Out!
# Enable removal of color codes from discord to chat?
B:PREVENT_MC_COLOR_CODES=true
# The message to print to discord when it was possible to detect a server crash
# Will also be used in the channel description
S:SERVER_CRASHED_MSG=Server Crash Detected :thinking:
# This message will edited in / sent when the server finished starting
S:SERVER_STARTED_MSG=RR5 Has Started!
# Message to show while the server is starting
# This will be edited to SERVER_STARTED_MSG when webhook is false
S:SERVER_STARTING_MSG=RR5 Is Starting...
# This message will be sent when the server was stopped
S:SERVER_STOPPED_MSG=Server Stopped!
# Should tamed entity death be visible in discord?
B:TAMED_DEATH_ENABLED=false
}
##########################################################################################################
# commands
#--------------------------------------------------------------------------------------------------------#
# Configuration for built-in discord commands
##########################################################################################################
commands {
# The Role ID of your Admin Role
S:ADMIN_ROLE_ID=0
# The prefix of the commands like list
S:CMD_PREFIX=/
# Enable the /help command in discord
# Disabling also removes response when you entered an invalid command
# Requires server restart
B:ENABLE_HELP_COMMAND=false
# Enable the /list command in discord
# Requires server restart
B:ENABLE_LIST_COMMAND=false
# Set to false to completely disable the "Unknown Command" message
B:ENABLE_UNKNOWN_COMMAND_MESSAGE=false
# Set to true to enable the "Unknown Command" message in all channels
B:ENABLE_UNKNOWN_COMMAND_MESSAGE_EVERYWHERE=false
# Enable the /uptime command in discord
# Requires server restart
B:ENABLE_UPTIME_COMMAND=false
# Custom Channel ID list for the help command. Set to 00 to allow usage from everywhere and to 0 to allow usage from the bots default channel
S:HELP_CMD_CHANNEL_ID <
00
>
# Header of the help command
S:HELP_HEADER=Your available commands in this channel:
# A list of blacklisted modids
# Adding one will prevent the mod to send messages to discord using forges IMC system
S:IMC_MOD_ID_BLACKLIST <
examplemodid
>
# 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: 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
S:JSON_COMMANDS={"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}}
# 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
S:LIST_CMD_CHANNEL_ID <
0
>
# The message for 'list' when no player is online
S:MSG_LIST_EMPTY=There is no player online...
# The header for 'list'
# PLACEHOLDERS:
# %amount% - The amount of players online
S:MSG_LIST_HEADER=There are %amount% players online:
# The message for 'list' when one is online
S:MSG_LIST_ONE=There is 1 player online:
# Message sent when user does not have permission to run a command
S:MSG_NO_PERMISSION=You don´t have permission to execute this command!
# Message if a player provides too many arguments
# PLACEHOLDERS:
# %player% - The player´s name
S:MSG_PLAYER_NOT_FOUND=Can not find player "%player%"
# Message sent when an invalid command was typed
# PLACEHOLDERS:
# %prefix% - Command prefix
S:MSG_UNKNOWN_COMMAND=Unknown command, try `%prefix%help` for a list of commands
# You MUST op this UUID in the ops.txt or many commands won´t work!!
S:SENDER_UUID=8d8982a5-8cf9-4604-8feb-3dd5ee1f83a3
# Custom Channel ID list for the uptime command. Set to 00 to allow usage from everywhere and to 0 to allow usage from the bots default channel
S:UPTIME_CMD_CHANNEL_ID <
0
>
}
##########################################################################################################
# discord_command
#--------------------------------------------------------------------------------------------------------#
# Configurate the /discord command useable ingame
##########################################################################################################
discord_command {
# The message shown when hovering the /discord command message
S:HOVER=Click to open the invite url
# Message sent when ignoring discord messages
S:IGNORECMD_IGNORE=You are now ignoring Discord messages!
# Message sent when unignoring discord messages
S:IGNORECMD_UNIGNORE=You are no longer ignoring Discord messages!
# The message displayed when typing /discord in the server chat
S:MESSAGE=Join our discord! http://discord.gg/myserver
# The url to open when clicking the /discord command text
S:URL=http://discord.gg/myserver
}
##########################################################################################################
# ftb utilities
#--------------------------------------------------------------------------------------------------------#
# Theese config values will only be used when FTB Utilities is installed!
##########################################################################################################
"ftb utilities" {
# Format name like in chat?
B:CHAT_FORMATTING=false
# Format of the AFK message
# PLACEHOLDERS:
# %player% - The player´s name
S:DISCORD_AFK_MSG=%player% is now AFK
# Print afk messages in discord
B:DISCORD_AFK_MSG_ENABLED=false
# Format of the no longer AFK message
# PLACEHOLDERS:
# %player% - The player´s name
S:DISCORD_AFK_MSG_END=%player% is no longer AFK
# URL of the FTB Avatar icon
S:FTB_AVATAR_ICON=https://raw.githubusercontent.com/ErdbeerbaerLP/Discord-Chat-Integration/master/images/ftb.png
# Format of the shutdown message printed when the server will shutdown/restart in 10 seconds
S:SHUTDOWN_MSG_10SECONDS=Server stopping in 10 seconds!
# Format of the shutdown message printed when the server will shutdown/restart in 2 minutes
S:SHUTDOWN_MSG_2MINUTES=Server stopping in 2 minutes!
}
##########################################################################################################
# votifier
#--------------------------------------------------------------------------------------------------------#
# Configure votifier integration here
##########################################################################################################
votifier {
# URL of the webhook avatar image
S:AVATAR_URL=https://media.forgecdn.net/avatars/158/149/636650534005921456.png
# Should votifier messages be sent to discord?
B:ENABLED=false
# The message format of the votifier message
#
# PLACEHOLDERS:
# %player% - The player´s name
# %site% - The name of the vote site
# %addr% - (IP) Address of the site
S:MESSAGE=%player% voted on %site%
# Name of the webhook author
S:NAME=Votifier
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment