๐Ÿšจ Shai-Hulud Strikes Again:834 Packages Compromised.Technical Analysis โ†’
Socket
Book a DemoInstallSign in
Socket

AuthNex

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

AuthNex

just a try

pipPyPI
Version
1.1
Maintainers
1

๐Ÿš€ 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

FeatureDescription
๐ŸŽฎ AuthNex Game EngineAdventure, currency rewards (ยฅ, โ‚ฌ, $), random merchant encounters
๐Ÿฆ AuthCoin SystemCurrency + item tracking (yen, xp, valor, drops)
๐Ÿ”‘ Login EngineSecure auth using OTP + password (session-based)
๐Ÿฐ TournamentsLeague + Reward system with top-3 prize coins
๐Ÿ›๏ธ AuthNex ShopPurchase in-game items, permits, boosts
๐Ÿ’ฌ Broadcast SystemOwner sends message to all users
โณ Reward CooldownsDaily / Weekly / Monthly claim with cooldown checks
โš ๏ธ Secure SUDO systemSUDO-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.


---

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts