Skip to content

Introduction

CTFLab is a Discord bot that brings Capture The Flag competitions to your server. It’s a lightweight, self-contained platform where admins and creators can host CTF challenges, and members can solve them in real-time with instant feedback and automatic leaderboard updates.

  • Create and solve CTF challenges using simple slash commands
  • Submit flags with instant validation and live feedback
  • View your progress against other members on the leaderboard
  • Earn badges and roles for solving challenges
  • Compete for first blood bonuses on newly released CTFs
  • Set up the bot with minimal configuration
  • Create managed event workspaces with dedicated channels and roles
  • Configure leaderboard modes (solve-count or points-based)
  • Enable first-blood bonuses to reward the fastest solvers
  • Monitor CTF activity with the analytics dashboard
  • Audit all actions with built-in admin logging
  • Build CTF challenges with an interactive builder (no command syntax needed)
  • Support text or file-based challenges (attachments, encrypted strings, etc.)
  • Edit challenges on the fly without losing progress data
  • Test in a sandbox before releasing to the guild
  • Track solve statistics for difficulty balancing

Multi-step interactive wizard for creating challenges. Set difficulty, category, instructions, and flag validation without wrestling with markdown or JSON.

Automatic, real-time leaderboards with two scoring modes:

  • Solve-count mode — rank by number of CTFs solved
  • Points mode — assign points per difficulty level, award first-blood bonuses

Guild-wide insights: hardest CTFs, most active solvers, player accuracy, and detailed per-player stats.

Configure automatic point multipliers for the first three solvers of each challenge. Perfect for competitive events.

Fully-managed CTF events with auto-created categories, channels, roles, and dedicated leaderboards.

Private, isolated channels where you can create and test challenges before releasing them to the guild.

Click the Add to Server button on the home page to invite CTFLab to your Discord server.

Run /admin-logs to set up audit logging (optional but recommended). That’s it! You’re ready to go.

Use /create-ctf to launch the interactive builder. Follow the prompts to set your challenge details, and publish.

Run /ctf-leaderboard to post the guild-wide leaderboard to a channel of your choice.