-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
6,350 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
## --------------------------------------------------------------------------- ## | ||
## Discord Configuration ## | ||
## --------------------------------------------------------------------------- ## | ||
|
||
# found in Discord Developer Portal --> Bot --> Token | ||
BOT_TOKEN = | ||
|
||
# found in Discord Developer Portal --> General Information --> Application ID | ||
BOT_ID = | ||
|
||
# found in Discord Developer Portal --> OAuth2 --> Client Secret | ||
# this is only used in linked roles for OAuth | ||
CLIENT_SECRET = | ||
|
||
## --------------------------------------------------------------------------- ## | ||
## Bot Configuration ## | ||
## --------------------------------------------------------------------------- ## | ||
|
||
# setting to true will disable caching, leaderboard updates, and other updates | ||
# keep to false unless you are working on the bot (good luck!) | ||
DEV = false | ||
|
||
# used for prefix commands (mainly dev commands) | ||
# requires message content intent to be enabled to use prefix | ||
# if you don't have the message content intent & want to use prefix commands, then just mention the bot instead of a prefix | ||
# e.g. "+evaluate 1+1" becomes "@Skyblock Plus#0205 evaluate 1+1" (there must be a space between the mention & command name) | ||
PREFIX = | ||
|
||
# allows the user with this Discord ID to use owner commands (mostly dev commands) | ||
OWNER_ID = | ||
|
||
## --------------------------------------------------------------------------- ## | ||
## Bot API ## | ||
## --------------------------------------------------------------------------- ## | ||
|
||
# base URL to access APIs defined in com.skyblockplus.api.controller package | ||
# if you don't want to expose the API, use "localhost:PORT" | ||
# or you can use a domain, e.g. "sbplus.codes" | ||
BASE_URL = | ||
|
||
# username to access private endpoints | ||
# refer to endpoints that start with "/private" in com.skyblockplus.api.controller.ApiController | ||
API_USERNAME = | ||
|
||
# username to access private endpoints | ||
# refer to endpoints that start with "/private" in com.skyblockplus.api.controller.ApiController | ||
API_PASSWORD = | ||
|
||
# legacy method to authenticate jacob data sent from my HypixelAddons mod | ||
# refer to com.skyblockplus.api.controller.ApiController#postJacobData | ||
JACOB_KEY = | ||
|
||
## --------------------------------------------------------------------------- ## | ||
## External API Keys ## | ||
## --------------------------------------------------------------------------- ## | ||
|
||
# Hypixel API key from https://developer.hypixel.net/ | ||
HYPIXEL_API_KEY = | ||
|
||
# Key (ADMIN_API_KEY) to access my rust-query-api (https://github.com/kr45732/rust-query-api) | ||
# you will have to self-host this as it is used for many things related to auctions such as price calculations, auction flipper, etc | ||
AUCTION_API_KEY = | ||
|
||
# key used to access the SBZ scammer data | ||
# used for "/scammer" and scammer check in guild applications | ||
# if a key is not set, then scammer checks will always return false | ||
SBZ_SCAMMER_DB_KEY = | ||
|
||
# personal access token from https://github.com/settings/tokens (give it the repo scope) | ||
# main purpose is to automatically update the skyblock-plus-data repo (refer to com.skyblockplus.utils.utils.Utils.updateDataRepo) | ||
# also used to authenticate GitHub raw endpoints (not sure if that's actually necessary or not) | ||
GITHUB_TOKEN = | ||
|
||
# key to access my haste API (https://github.com/kr45732/hste) | ||
# feel free to replace it with your own pastebin or self-host my wacky one | ||
HASTE_KEY = | ||
|
||
# tokens to push stats to bot list websites (you probably don't need this) | ||
DISCORD_BOT_LIST_TOKEN = | ||
DISCORD_BOTS_GG_TOKEN = | ||
DISCORDS_COM_TOKEN = | ||
TOP_GG_TOKEN = | ||
|
||
# Discord webhook URL where auction flips will be posted (requires https://github.com/kr45732/rust-query-api) | ||
AUCTION_FLIPPER_WEBHOOK = | ||
|
||
# Discord webhook URL where bot status updates will be posted (e.g. bot restarting notifs) | ||
BOT_STATUS_WEBHOOK = | ||
|
||
## --------------------------------------------------------------------------- ## | ||
## Databases ## | ||
## --------------------------------------------------------------------------- ## | ||
|
||
# both databases should be Postgres | ||
# general url format is jdbc:postgresql://[host]:[port]/[dbname]?user=[username]&password=[password] | ||
# you cannot inline the username and password since the JDBC driver won't work | ||
# feel free to combine both databases into single database | ||
|
||
# server settings and linked accounts | ||
DATABASE_URL = | ||
|
||
# leaderboards and caching | ||
LEADERBOARD_DB_URL = |
Oops, something went wrong.