Welcome to DisneyClient! This README will guide you through setting up the DisneyClient. If you encounter any issues or need assistance, feel free to contact us on Discord or via email. 📧
Since 2021, DisneyClient has been available for your use. While we won't continue the project, users with the paid private version will receive support to help set up everything.
- Monkus
- Jodis
- DailyEm
- ラ・ムカテ
- BlancSnz
- Quorenn
- Jawad
Before getting started, ensure you have the following prerequisites:
- 🌐 Mysql Database (Online or Local) | DigitalOcean
- 🌐 Heroku / VPS (Hosting) | Heroku
- 📊 Google Sheets API (Sheet Reader) | Google Sheets API
- 🤖 Discord Bot Token (For Logs and Commands) | Discord Developer Portal
- 🐍 Python 3.11 (Not required if using Heroku) | Python 3.11
- 🌐 Github Account | Github
- 💼 Disney Client Parser Endpoint
- 🔑 Disney Client Parser Token
For your convenience, here's an example of the required environment variables:
- 🏦 MARIADB_ENDPOINT |
mysql://doadmin:AVNS_xxxxxxxxxxxxxxxxxx@db-mysql-frax-xxxxx-do-user-xxxxxxxx-x.b.db.ondigitalocean.com:25060/defaultdb
- 🤖 DISCORD_API_TOKEN |
MTE1NxxxxxxxxxxxxxxxxxxxYwNg.GgTTV2.ZxxxxxxxxxxxxxxxxYN5LAC6xxxx8-3xxxI
- 🌐 PORT |
80
- 🔑 TFM_PARSER_API_TOKEN |
5b5012c589c4cfc51a2b44cbba148908667fe5eee70
- 💼 TFM_PARSER_ENDPOINT |
https://disneyclient-parser-xxxxxxxxxxxxxxxxxx.herokuapp.com
You can download DisneyClient from safemarket.xyz/discord or here.
-
Setting Up Your Github Repository
-
Create a Github account here.
-
After creating your account, create a NEW private repository on Github.
-
Extract the contents of the zip file from safemarket.xyz/discord.
-
Upload all the extracted files to your Github repository.
-
Navigate to the
DisneyClient
folder and edit theconfig.json
file. -
Modify the following parameters:
discord_admins
| ID of the adminsdiscord_log_channel
| ID of log channel 1discord_log_channel2
| ID of log channel 2discord_priv_channel
| ID of private channel 1discord_priv_channel2
| ID of private channel 2discord_major_role_id
| ID of the role for Discord commands
-
In a new private repository, upload the contents of the
DisneyParser
folder and replaceTokens.json
with the desired value forTFM_PARSER_API_TOKEN
.
-
-
Creating Google Sheets API
- Follow these instructions to create a Google Sheets API account.
- Save the credentials as a file named
service_account_credentials.json
in the root directory.
-
Creating a MySQL Database with DigitalOcean
- Create a MySQL Database with DigitalOcean, either by purchasing it or using the $200 gift here.
- Configure the database as shown in this screenshot.
- Use
createmariadb.py
to automatically create your database (replace the ID). - Tables:
- Maps | Screenshot
- Soft | Screenshot
- Users | Screenshot
- Config | No need to modify.
-
Creating a Heroku Account
- Sign up for a Heroku account here.
- Use real information and add a valid card to avoid any bans.
- Create an app with a lowercase name, such as "disneyparse" or "disney-parse."
- Go to Settings and click on "Reveal Config Vars."
- Enter all the environment variables like
MARIADB_ENDPOINT
,DISCORD_API_TOKEN
,PORT
,TFM_PARSER_API_TOKEN
, andTFM_PARSER_ENDPOINT
. - Scroll down and add a buildpack (if not already added); you need
heroku/python
. - In the Deploy section, connect your Github account.
- Open a new tab for
DisneyParse
andDisneyClient
on Heroku. - Click Deploy on both tabs and connect your Github repository.
- Enable automatic deploy, and deploy your app.
- Check the logs for debugging information and startup.
- In the Overview section, configure dynos and activate web for both Heroku apps.
- Once everything is okay, you can access the website by opening the DisneyClient tab on Heroku and clicking "Open App."
-
Changing the SWF
If you need to change the SWF file, you can use this tool.
If you encounter any issues or need assistance, feel free to contact us on Discord or via email:
- 🌐 Website: safemarket.xyz
- 💬 Discord: safemarket.xyz/discord
- 📧 Email: [email protected]