Skip to main content

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


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)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

authnex-1.1-py3-none-any.whl (25.6 kB view details)

Uploaded Python 3

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

Hashes for authnex-1.1.tar.gz
Algorithm Hash digest
SHA256 607fb57390958d5bf4ab349e9aae1bbccf145aad34d540bb115bcd6baf07694a
MD5 1167b14b4645d54f5b906e76b94447cb
BLAKE2b-256 fed7657660cd57f2f20b4e83ccac0edc84e0d3f57b6c5a37a030804d2a1291c4

See more details on using hashes here.

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

Hashes for authnex-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdb2917bdbcd0c9c9179ede678604df5223a4618db86befd13e15cc48b8c7635
MD5 c731ef26a08c9370d6d8628589df1b68
BLAKE2b-256 63501bc5a93bf23acdafbfbffd042004a0c28f478a29e92394f642bafdeec391

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page