Data Packs Tool

Work in progress: BedWars creator

  • 2.5k views 1 today
  • save_alt 412 downloads
Compatibility
Minecraft 1.21
Changes include
  • Advancements
  • 4
  • 3
  • 8
Rayan223
Lvl 12Journeyman System Architect
1
Have you ever searched a bedwars map but were deceived because it wasn't playable at all?
With this datapack, with commands only you'll be able to turn this map into a working bedwars.
(Based on the model of Hypixel bedwars)

DISCLAMER:
this is work in progress, the code is a mess, don't expect it to work as it is right now


Setup your own bedwars with a little bit of commands and spawn eggs.

Features already coded:
- spawn eggs used to detect if a bed is broken
- the sidebar scoreboard where you can see if the beds are broken and how many people are left if so

Work in progress:
- the shop system is being made
update: storing/retrieving to the enderchest work almost perfect. Sometimes, the shop isn't loaded because minecraft coordinates is weird so if it isn't working when it will be in the coded section, just try to look at the chest a little bit differently (a lots of the time, look more at the center of the chest)
update: with the correct setup you can now use enderchest' interfaces as shop, go into different categories, looking good (see some interfaces in the gallery)
update: changed the way it is detected how you look at the shop. It is still not perfect in some situations but it works

TODO list:
- spawn egg to place a ressource spawner (armor stand created but no spawn yet)
- make the shop work (finish the tools give and start the misc part)
- make the upgrade shop (the interface is done but not even implemented yet)
- code the actual upgrades
- code the stuff that can be dropped or not (by player or by death)
- code the special items (bridge egg, tnt, fireball (will be quite challenging), iron golem, silverfish snowball, wool tower...)
- make the menu upon joining probably with the number of teams, the max number of players...
(need feedback on this, I am not really sure of what I want to put here)


Won't probably make it to the game because hard to do or impossible:
- make the island protection (thanks for TheChair for the ideas and feedback but coding the block you're looking at is kind of a nightmare)

1 Update Logs

Quick update on the progress : by Rayan223 09/23/2025 12:41:00 pmSeptember 23, 2025 @ 4:41 pm UTC

Since I have been quite a lot active on this project recently, here is what is currently being done and what has changed since the last post

First, I have almost finished the shop, apart from the tool gives and the misc items.
It was also really optimised since last time. (if I remember like 1-2 tps back to 20)
Quite some things may be broken because i'm still changing some stuff from invisible armor stands to area effect cloud that are way less laggy.
Now if you purchase tools, shears and armor, it should be given back on respawn (which is not totally setup yet, and tools shouldn't have tier decrease on death yet).

Now i'll probably focus on finishing the shop and upgrade shop but not the misc items yet (some are aesy to do other not that much).

As for island protection I cant really find any way to do it without lagging the hell out of the internal server (a.k.a copying the whole structure and pasting it back) so it may or may not be done on the future.

More like this

  Have something to say?

User5881786G
01/27/2026 10:30 am
Level 1 : New Miner
  • commands?
1
b14z3_2012
08/07/2024 1:05 pm
Level 9 : Apprentice Miner
to protect areas you can just set the block of where you want to protect and kill the items in that area that you dont want
1
Rayan223
06/23/2024 5:22 am
Level 12 : Journeyman System Architect
Has been a while, i'm in holydays, I can finally get back to it
1
TheChair
02/20/2024 11:44 am
Level 4 : Apprentice Miner
Hellooo! looks like this is gonna be cool! i had an idea for the island prot! maybe have a spawn egg for a small invis slime that gives all players mining fatigue within like 20 blocks or however big the island is? the only bug i see with it is that you wouldn;t be able to break the wool you place on the small islands. idk if thats a good idea or not but gl bro!
2
Rayan223
02/28/2024 4:26 pm
Level 12 : Journeyman System Architect
That is a good idea, but it has flaws like all the things I thought about it before. Since I am working on weird things like detect if the block you target is one type or not (like enderchest for the shops) I could try doing it to something like:
if the block is wool, planks, end stone, obsidian... all the blocks you can basically place/break, you could be switched to survival when you look at it and to adventure if not but then you couldn't place. That is probably why you talked about the mining fatigue. Doesn't it affects attack speed too? well I could change the players attack speed in consequence... I'll think about it. Also I'm currently pretty busy with work i'll only have time to work on it on week ends. The project will come up at some point but not that soon too.
Just seen in the last snapshot lots of things are changing on nbt data so it'll probably break lots of things too.
2
TheChair
02/28/2024 6:43 pm
Level 4 : Apprentice Miner
ahh true true i'll look around for some things that may help but i do know you can give items custom attack speed so that may help in some way i have no idea lol but i see what you mean with not being able to break the beds, I'll let you know if i find anything! :D gooood luck!
2
Lifesteal_PVPER
02/17/2024 8:55 pm
Level 2 : Apprentice Miner
nice i hope it works
1
Rayan223
02/18/2024 5:23 am
Level 12 : Journeyman System Architect
not yet but I hope i'll get it working
1

Welcome