- Sleek Design: Simple but sleek design using tailwindcss. 😎
- Stream Follower Verification: Easily check if a user follows your stream or any of your group of streamers. ✔️
- Stream Subscription Verification: Easily check if a user is subscribed to your stream or any of your group of streamers. ✔️
- Effortless Whitelisting: Viewers can seamlessly whitelist themselves by logging in through Twitch and entering their Minecraft username. 📝
Database Integration: Prevent viewers from whitelisting multiple Minecraft accounts with a single Twitch account by utilizing a robust database system. 🗃️Added Soon- Simple Setup: Utilize the convenience of a .env file for easy configuration and setup. ⚙️
- Twitch Authentication: Viewers log in through Twitch to authenticate their identity.
- Follow Status Check: The tool verifies if the viewer follows the broadcaster's stream or any of the designated group of streamers.
- Whitelisting: Verified viewers can whitelist themselves by entering their Minecraft username.
Database Management: The system ensures that each Twitch account can whitelist only one Minecraft username, maintaining fairness and integrity.Added Soon- Access Granted: Authenticated and whitelisted viewers gain access to the Minecraft server, fostering a community-driven gaming experience.
It is pretty easy to get started with this Project. Just follow the Steps bellow!
First things first, fork this repository to your GitHub account. Click the "Fork" button at the top-right corner of the repository page. This will create a copy of the project in your GitHub account that you can freely experiment with.
Once you've forked the repository, clone it to your local machine using the following command:
git clone https://github.com/your-username/[project-name].git
Replace your-username
with your GitHub username and [project-name]
with the name of the project.
Navigate to the project directory and install any necessary dependencies:
cd [project-name]
npm install
Now that you have the project set up locally, it's time to start editing the enveirment file! First you will need to rename it into .env, after that you can edit the file like the example bellow:
# Application Settings
APP_URL="http://localhost:3000" #url of the app
CHECK_FOLLOWED=true #check if the twitch user is following the channel/s
CHECK_SUBSCRIBED=false #check if the twitch user is subscribed to the channel/s
# Twitch APP Settings
TWITCH_CLIENT_ID="123" #get this from https://dev.twitch.tv/console/apps
TWITCH_CLIENT_SECRET="123" #get this from https://dev.twitch.tv/console/apps
CHANNEL_LIST="1337, 8008, 707" #comma separated list of twitch channel ids. You can convert channel names to ids using https://www.streamweasels.com/tools/convert-twitch-username-to-user-id/
# Minecraft Server Settings
RCON_HOST="localhost" #host of the minecraft server
RCON_PORT=25575 #rcon port of the minecraft server
RCON_PASSWORD="password" #rcon password of the minecraft server
Once you've made your changes, commit them and push to your forked repository:
git add .
git commit -m "Your commit message here"
git push origin master
Consider hosting your project on Cloudflare for improved performance, security, and scalability. Cloudflare offers a suite of services including CDN, DDoS protection, and SSL/TLS encryption.
To host your project on Cloudflare, follow these steps:
- Sign up for a Cloudflare account at cloudflare.com.
- Go into the Dashboard, and click on the left site on "Workers & Pages"
- Click on the Blue "Create application" Button
- Select in the Tab-Navigation "Pages"
- Click on "Connect to Git" and Connect you GitHub Account
- Select the Forked Repository and click "Begin Setup"
- Deceide for a Project Name (if you don't have a Domain, this will be the subdomain ex. my-cool-project.pages.dev)
- Keep the branch on master
- Select Nuxt.js as Framework preset
- If not already add "npm run build" into Build command
- Open "Environment variables (advanced)"
- Add for each Variable inside the .env file the Name aswell as the Value
- Click "Save and Deploy"
For detailed instructions on hosting your project on Cloudflare, check out the Cloudflare documentation.
If you have any questions or need assistance, feel free to reach out to me on Discord.
Happy playing!