A datapack inspired by the popular GTA5 chaos mod, but then in Minecraft.
This datapack contains 50+ different effects that can happen every 30 seconds. This makes for a (hopefully) fun and chaotic challenge. Effects can range from getting given an item, spawning a creeper to being trapped in a cage with lava falling on top of you or falling into a hole straight to the void. I tried to make sure that every effect is escapable with very minimal/common items, so that you don't unfairly die too often.
/function uiinpui:chaos/start_chaos (Remember that you need operator status to run /function commands)/function uiinpui:chaos/stop_chaos/function uiinpui:chaos/10_seconds (example of x seconds functions)
/scoreboard players set .random timer 600
/bossbar set uiinpui:chaos_timer max 600
It is best to change this before starting, but in theory you can do it after.
The datapack should also fully work in multiplayer. Some effects, like spawning a wither, will only go to one random person (because otherwise you'd get too many withers).