Minecraft Data Packs / Game Mechanic

Minecraft: Timesteal [1.20.4]

  • check_circle Advancements
  • check_circle Functions
  • check_circle Recipes
  • 5,244 views, 6 today
  • 175 downloads, 0 today
  • 12
  • 9
  • 23
SpruceStudios's Avatar SpruceStudios
Level 41 : Master Procrastinator
29
--------------------==[[ Minecraft: Timesteal ]]==--------------------

This datapack is a unique take on the popular Lifesteal formula.

Every player has a set amount of "Time" (starting at 24 hours).
This time ticks down, so after playing for 2 hours you'd be at 22 hours left.


If you run out of time, you are banned and cannot play on the world any more.

However, whenever a player dies they drop a Time Vial, which contains
2 hours of extra time. Picking up a Time Vial automatically uses it, granting
you extra time. This means you can steal time from other players!

One last thing, if you collect enough rare materials, you can craft a Repeating
Command Block. The general idea of this is that you are powerful enough to


"glitch" the server, causing you to corrupt (removing the command block) and
letting you choose any banned player to REVIVE. You'll need their Player ID, which
only they can access, so you can't revive players who don't want to be revived.

Crafting recipe




{ note: a player must be online for you to revive them }


Compatibilities

This datapack should be compatible with most other datapacks, and OptiFine is recommended but not required.



It may not be compatible with other datapacks that are named "Timesteal" or "PlayerID."

It may also not work with datapacks that send messages in the /title actionBar slot, or the scoreboard display belowName slot.

Config

You can change some of the values used by the datapack by opening the .zip file and editing the code.



Change the amount of time players start with:

Navigate to "Timesteal/data/timesteal/functions/tick.mcfunction"

On line 2, change the "86400" to the amount of seconds new players should start with



Change the amount of time players steal / lose on death:
Navigate to "Timesteal/data/timesteal/functions"


In "droptime.mcfunction" on line 5, change "7200" to the amount of seconds you want
In "tick.mcfunction" on line 26, change "7200" to the amount of seconds you want


Uninstalling

To uninstall the datapack, run /function timesteal:uninstall

Then, remove the datapack from the datapacks folder of your world, and run /reload
CompatibilityMinecraft 1.18
toMinecraft 1.20
Tags

Create an account or sign in to comment.

User5136219G
05/19/2024 12:37 pm
Level 1 : New Miner
User5136219G's Avatar
can you change it to where you can craft time pls?
1
User5136219G
05/12/2024 11:12 pm
Level 1 : New Miner
User5136219G's Avatar
i tried to change the time in the file but now when i join the server it just -- --
2
SpruceStudios
05/13/2024 2:07 am
Level 41 : Master Procrastinator
SpruceStudios's Avatar
Hello! I didn't see this message until I readmy DM's, sorry. How did you change the time? Can you walk me through it?
1
User5136219G
05/13/2024 8:24 pm
Level 1 : New Miner
User5136219G's Avatar
i when into the
Change the amount of time players start with:
"Timesteal/data/timesteal/functions/tick.mcfunction"
"Timesteal/data/timesteal/functions"


and change the numbersand then i join the server to it being -- --
2
SpruceStudios
05/14/2024 4:58 pm
Level 41 : Master Procrastinator
SpruceStudios's Avatar
Are you using version 1.20.4?
1
User5136219G
05/14/2024 7:15 pm
Level 1 : New Miner
User5136219G's Avatar
1.20.1?
2
User5136219G
05/14/2024 7:16 pm
Level 1 : New Miner
User5136219G's Avatar
its on 1.20.4
2
feygm
02/22/2024 9:03 am
Level 1 : New Miner
feygm's Avatar
how to start the timer?
2
SpruceStudios
02/25/2024 2:48 pm
Level 41 : Master Procrastinator
SpruceStudios's Avatar
Have you installed the pack properly? It should begin counting down as soon as you join the server.
1
feygm
02/27/2024 4:11 am
Level 1 : New Miner
feygm's Avatar
i have to lines a both my experience level and all the functions commands work, but the timer won't start anyways
2
feygm
02/27/2024 4:08 am
Level 1 : New Miner
feygm's Avatar
thanks
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome