๐ AUTHNEX - Telegram Auth Engine + Gaming Bot Suite
Modular Auth + Coin System + Game League + Roleplay Engine
Built for advanced Telegram bots without requiring user clients.
๐ง What is AuthNex?
AuthNex is a multi-functional, advanced modular Telegram bot system that provides:
- ๐ User Authentication (via Mail/Password + OTP)
- ๐ช Coin + XP + Valor System
- ๐ฎ Adventure Quests, Daily Rewards, Merchants
- โ๏ธ League-based Tournament System
- ๐ In-bot AuthNex Shop
- ๐ฆ Admin Tools: Broadcasts, Ban, Tournament Control
- ๐ Drops, Roleplay Items, Rewards, and More!
๐ฆ Features at a Glance
| ๐ฎ AuthNex Game Engine | Adventure, currency rewards (ยฅ, โฌ, $), random merchant encounters |
| ๐ฆ AuthCoin System | Currency + item tracking (yen, xp, valor, drops) |
| ๐ Login Engine | Secure auth using OTP + password (session-based) |
| ๐ฐ Tournaments | League + Reward system with top-3 prize coins |
| ๐๏ธ AuthNex Shop | Purchase in-game items, permits, boosts |
| ๐ฌ Broadcast System | Owner sends message to all users |
| โณ Reward Cooldowns | Daily / Weekly / Monthly claim with cooldown checks |
| โ ๏ธ Secure SUDO system | SUDO-based commands, admin actions restricted |
โ๏ธ Setup
git clone https://github.com/RyomenSukuna53/AuthNex
cd AuthNex
pip install -r requirements.txt
python3 -m bot
> Edit config.py with your MongoDB URI, API_ID, API_HASH, BOT_TOKEN, and SUDO list.
---
๐งพ MongoDB Structure
user_col โ Stores user Mail, Password, Name, coins, drops
sessions_col โ Tracks who is logged in
JoinedPlayers โ For tournament participations
shop_col (optional) โ If you want custom shop inventory
---
๐ ๏ธ Admin Commands
Command Access Description
/broadcast SUDO Sends message to all users
/startuor SUDO Starts a new tournament
/endtournament SUDO Ends tournament, rewards top players
---
๐ User Commands
Command Description
/create_acc Start account creation (Mail + Password)
/login Log in using your credentials
/daily Claim daily reward
/weekly Claim weekly reward
/monthly Claim monthly reward
/adventure Start a random quest and get money or encounter merchant
/shop View and purchase AuthNex items
/profile View your XP, Valor, Drops, Currency
/joinuor Join an ongoing tournament if eligible
---
๐ Tournament Logic
Must have 1000 AuthCoins and a TCA (Tournament Permit)
Only SUDO can start and end tournaments
On end:
๐ฅ 1st gets +5000
๐ฅ 2nd gets +2500
๐ฅ 3rd gets +1000
---
๐ Rewards Example
โญโโ โฐ ๐ฅ ๐ ๐ช ๐ ๐ฅ ๐ โฑ โโโฎ
โ ๐ด ๐ฌ๐๐ก โ +50000
โ โจ๏ธ ๐ซ๐ฃ โ +1000
โ ๐ ๐๐ฅ๐ข๐ฃ๐ฆ โ ๐
โ ๐ฐ ๐๐๐ก๐๐๐ข๐ โ +10 ๐๐ฎ๐น๐ผ๐ฟ
โฐโโโโโโโโโโโโโโโโโโโโโฏ
โ
Claimed your **DAILY** reward!
---
๐ Leaderboards & Stats
Coming soon in /leaderboard
Tracks top 10 players based on XP or Valor
---
๐งช Shop Items (JSON Format)
SHOP_ITEMS = {
"permit": {"price": 2000, "emoji": "๐", "desc": "Tournament Access"},
"xp_boost": {"price": 500, "emoji": "โก", "desc": "+2x XP for 24hr"},
"mystery_box": {"price": 3000, "emoji": "๐", "desc": "Random Reward"}
}
---
๐ป Hidden Mechanics
merchant appears only with 0.111% rarity in adventures
Rare drops grant:
TCA (tournament access)
+โฌ10,000 or ๐ต10,000 or ๐ด50,000 depending on luck
Dungeons may be added soon...
---
๐ข Broadcast Example
@app.on_message(filters.command(["broadcast", "bcast"]) & filters.user(SUDO))
async def broadcast(_, m):
users = await user_col.find_many()
for user in users:
try:
await app.send_message(user["_id"], m.text.split(None, 1)[1])
except:
continue
await m.reply("โ
Broadcast complete.")
---
๐ฃ Upcoming Features
๐ญ Roleplay mode
๐น Dungeon crawling
๐ช Trading economy
๐๏ธ More rare drops
๐ค Referral system
๐ Leaderboard site (exported data)
---
โค๏ธ Special Thanks
> ๐ง Built with love by @RyomenSukuna53
Contributions and issues welcome!
---
License
This project is under the MIT License. Use it, extend it, and improve it.
---