u/Hairy_Long_5647

Another Help

Hi, could someone explain to me how to set up a 30-minute countdown timer that disables PVP? I’m using Visual Studio Code and Minecraft Snapshot 8 26.2 (latest version). Also, I want to be able to turn it on and off whenever I want, and have the countdown appear with the name “Grace Period,” and when the time runs out, a big red title that says: “No More Grace.” I’m having some specific issues with this idea; I just started working on this a couple of days ago and have already managed to create a welcome message that appears every time someone joins my game.

Thanks!

reddit.com
u/Hairy_Long_5647 — 3 days ago
▲ 0 r/MinecraftCommands+1 crossposts

(help) First time creating a datapack

Hello everyone! First of all, I am playing on the latest version of Minecraft (Snapshot 26w17a). I don't know if this sounds simpler in my head than it actually is, but I would like to make the following:

  1. Every time my friends or I join the world, a large, custom title (like the classic server welcome titles) appears on the screen, accompanied by a "Dinggg" sound.
    2 A. 30-minute grace period. I want a command (function) to trigger a grace period during which players cannot damage each other. It should feature a countdown timer accompanied by a boss bar. When the time runs out, another large custom title should appear with a more intense sound, letting everyone know they can now attack each other.
  2. Lastly, and I assume this will be the most complicated one, I want a bounty hunter system. Every hour of playtime, a random player on the server is selected. For 20 minutes, a bounty is placed on their head. If another player kills them, that player wins 10 diamonds. If the target survives the entire duration without dying, they win 10 golden apples and 1 stack of emeralds. Additionally, the target should get the glowing effect (like when you are hit by a spectral arrow). There should also be a constant timer showing how much time is left until the next player is selected. When it's time to select the player, I'd love it if a roulette-style or some other animation scrolls through the players' names before picking one.
    Well, I think that's about it. BTW, I am using Visual Studio Code. (I used a translator, I am Spanish).
    Thanks!
u/Hairy_Long_5647 — 4 days ago