Data Packs Mini-game

Capture The Flag Datapack [1.21.10]

  • 29.4k views 5 today
  • save_alt 2.1k downloads 2 today
Compatibility
Minecraft 1.17
to version
Minecraft 1.21
Changes include
  • Functions
  • Predicates
  • Structures
  • 129
  • 123
  • 37
Required Resource Pack
_BOBE
Lvl 58Grandmaster Elf
157

Capture The Flag Datapack [1.21.10] Minecraft Data Pack
  • Playable in any world
  • Unlimited Players
  • Two teams
  • Survival/Adventure Mode support
  • OPTIONAL Enhancing Resource Pack
  • Very customizable
  • Base Building
  • Grace Periods
  • Respawn System
  • Stalemate Breaker System
  • Can only capture a flag if your flag is safe
  • Host picks items to give to players in setup
  • Custom traps/allies
  • Addition lobby system
  • AND MORE!

Something to note when hosting a game. If you let your players choose where their flag goes, you may want to talk about an honor system. Obviously there will be places where they could put their flag and its incredibly difficult to get to. In my games I usually say, "Has to be above Y=60, AND sunlight must be able to touch it." Up to you how you play though, have fun!


--------------------COMMANDS--------------------
CLICK ME
(/trigger help) to see in game

/function prepare:gamePrepare a CTF game. (Only works when there isn't a game running)
/function lobby:genMakes a safe box and puts and puts all players into it, as you prepare. (see above for lobby pack)
/function lobby:removeDestroys any made lobbies
/trigger KillYourselfKills you (has a 5 minute cooldown before using again)
/trigger DropFlagDrop the flag where you are standing
/tag NAME add nerfPlayers with 'nerf' tag have 6 less health then normal
/tag NAME add buffPlayers with 'buff' tag have 6 more health then normal
/function ctf_bobe:turnoffEmergency turn off current game of CTF
/function ctf_bobe:uninstallRemove all objectives/scores AND disable the datapack
/forceload remove allRemoves all forceloaded chunks (CTF can leave some behind)
/tag NAME add notplayingPut this tag on players who don't want to be automatically put on a team from the Randomized Teams setup. (example: the host might just want to watch and not play)
/function ctf_bobe:time/pausePause the game and freeze everyone in place. (command then prompts you to freeze in game ticks)
/function ctf_bobe:time/startResumes the game and unfreezes everyone in place. (command then prompts you to unfreeze in game ticks)



-----------------------ADDONs------------------------

CLICK ME
OPTIONAL Resource Pack


Custom
Items like flags, landmines, bombs will be more immersive. ALSO if you use one of my Gun addons they have a model.


Instant Lobby Datapack


Helps you organize your players while you prepare the game. Keeps them from exploring as you set up. (It will clear inventories of players in it.)

NOTE: This is now built into the CTF datapack. (as of 1.21.10)

Laser Gun Datapack (1.21.10)
Give players a laser gun that can shoot up to 70 blocks.
Download the resource pack above to see and hear them.
COMMANDS:
/function laser_guns:give2meGive to just you or give too all players on a team. (Do it after a game has started)
/function laser_guns:give2all









--------------------------MAPs--------------------------
CLICK ME

PATHOS CITY
by LordMaximus05

Adventure Mode

Capture The Flag Datapack [1.21.10] Minecraft Data Pack





If you make a Map/Arena I like, that works well with this datapack I will put a download link to it! DM or comment if you are interested.






Need friends to play with?
Events are held in my discord!

JOIN TODAY! https://discord.gg/VHZtBFGWh4
we're friendly :)

Last Community Game:
Capture The Flag Datapack [1.21.10] Minecraft Data Pack


OLDER VERSIONS



(Addition features likely aren't supported for these versions)

1.17 Version

1.18.2 Version

1.19.3 Version

1.20 Version




1.21.1 Version




GAMEPLAY:

33 Update Logs

Update #33 : by _BOBE 11/28/2025 10:52:02 pmNovember 29, 2025 @ 3:52 am UTC

CTF v10

ADDED
- Decoy Item. (you can summon a copy of yourself and it will walk around)

UPDATED
- Link to resource pack in the datapack

CHANGED
- Can pickup/cap flag from at most 1 block away instead of 0.85 block away. This fixes issue with placing flags on slabs and having to jump to pick it up. (tbh idk if it'll break anything in future)

FIXED
- Able to cap flag for a single tick if a flag was dropped during a stalemate (if a player was already sitting on their post while flag was dropped)

REMOVED
- Trigger command for Giving Compass wasn't removed
LOAD MORE LOGS

  Have something to say?

User5870720G
10/21/2025 5:26 am
Level 1 : New Miner
history
Hello. Is it possible to change the player's return time in the 1.20.1 data package?
1
_BOBE
10/22/2025 12:39 pm
Level 58 : Grandmaster Elf
Respawn time you mean? I mean yes? But I haven't made it customizable. I do plan on updating this datapack at somepoint before the year ends so possibly I will add that in.
1
Razzller
12/30/2024 9:18 am
Level 13 : Journeyman Explorer
For some reason this datapack doesn't work for me. It's loaded, it's enabled, it's visible in /datapack list, but that's it. No message on /reload, no functions in /function, nothing. Any other datapacks are working
1
_BOBE
01/02/2025 2:49 am
Level 58 : Grandmaster Elf
Join my discord for more help. I imagine you are likely in the wrong version of the game.
2
anonpmc4300220
05/26/2023 12:37 pm
Level 1 : New Miner
[deleted]
1
_BOBE
05/26/2023 1:06 pm
Level 58 : Grandmaster Elf
Of course! Just be sure to link to this page in the description.
2
jangtheconqueror
12/10/2022 2:22 am
Level 1 : New Miner
Does this have one flag CTF? One flag in the middle (or wherever), both teams fighting to take it back. I think it would be fun to have that option
1
_BOBE
12/10/2022 2:51 am
Level 58 : Grandmaster Elf
It does not. Neat idea. I could see it being problematic and getting stale though.
1
User4388920G
11/27/2022 1:27 pm
Level 1 : New Miner
This is a really well made datapack! However, a lot of my players don't like the mechanic where you need to have your flag in order to capture the enemy's flag. Is there a way for you to make this an optional setting? I'm sure others would also appreciate this.
1
_BOBE
11/27/2022 1:37 pm
Level 58 : Grandmaster Elf
Thank you :) and thats how CTF used to be back in the day on everything. I am trying to be VERY selective on adding more prompts to the setup as its already getting kinda long. And adding that feature would mean having to do a lot of rework that I don't have much time to do these days.
If you would like quicker/instant responses join the discord :)
1

Welcome