just a try
Project description
๐ 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
| Feature | Description |
|---|---|
| ๐ฎ 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.
---
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
authnex-1.1.tar.gz
(17.5 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
authnex-1.1-py3-none-any.whl
(25.6 kB
view details)
File details
Details for the file authnex-1.1.tar.gz.
File metadata
- Download URL: authnex-1.1.tar.gz
- Upload date:
- Size: 17.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
607fb57390958d5bf4ab349e9aae1bbccf145aad34d540bb115bcd6baf07694a
|
|
| MD5 |
1167b14b4645d54f5b906e76b94447cb
|
|
| BLAKE2b-256 |
fed7657660cd57f2f20b4e83ccac0edc84e0d3f57b6c5a37a030804d2a1291c4
|
File details
Details for the file authnex-1.1-py3-none-any.whl.
File metadata
- Download URL: authnex-1.1-py3-none-any.whl
- Upload date:
- Size: 25.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdb2917bdbcd0c9c9179ede678604df5223a4618db86befd13e15cc48b8c7635
|
|
| MD5 |
c731ef26a08c9370d6d8628589df1b68
|
|
| BLAKE2b-256 |
63501bc5a93bf23acdafbfbffd042004a0c28f478a29e92394f642bafdeec391
|