Mineuniverse
Data Packs
DarkTimer - Change time & announcement text

DarkTimer - Change time & announcement text

DATA PACK
DarkTimer datapack to change the item deletion duration and chat announcement text to anything you want
by GamerPotion
Download Claim this project
940,707 downloads
0 likes
Updated Oct 14, 2026
0 hypes
Adventure Miscellaneous Mod Support Tech Utility
Advertisement Remove ads with Premium →

DarkTimer datapack to change the item deletion duration and chat announcement text to anything you want.

(Place inside a world's datapacks folder) 

Instructions

Go to data\darktimer\functions\

then open darktimerwarn10.mcfunction using any text editor

You will see 540s in the last line.  Change this number to whatever you want. You can also edit the text on top to match your seconds

By default darktimer uses 1 minute as its base time, then on top of that you add more time to make whatever cycle time you need

540s = 9 minutes
plus the 1 minute base time, it means the timer will clear dropped items every 10 minutes

you can change 540s to any number of seconds you want, it then adds 1 minute base time to that and gives the total number of minutes

For example

60s = 2 minutes  (change the text on first line to this)
540s = 10 minutes  (change the text on first line to this)
1740s = 30 minutes  (change the text on first line to this)

----

Note: You will also need to change the chat box text to whatever value you change the timer to.
Simple edit the "10 minutes..."  in "A dark mage will clear dropped items in 10 minutes.."  

For example, if you are using 1740s which is 30 minutes duration,
Then your tellraw line will read as:-
tellraw @a {"text": "A dark mage will clear dropped items in 30 minutes..", "color": "red", "bold":"false"}

---

You can now also change the text for the other countdown lines such as 1 minute and 10 second announcements
Change the text in the following files for the relevant time:-

darktimerwarn10.mcfunction   - 10 minute announcement
darktimerwarn1.mcfunction    - 1 minute announcement
darktimerwarn10s.mcfunction  - 10 second announcement
darktimer.mcfunction         - immediate announcement

 

 

darktimer_change_time_datapack_26.x.zip
MC 26.3
Release 2026-10-03 Get
darktimer_change_time_datapack_1.20.x.zip
MC 1.20.2, 1.20.1, 1.20.3
Release 2026-01-27 Get
darktimer_change_time_datapack_1.21.x.zip
MC 1.21.8, 1.21.5, 1.21.4, 1.21.1, 1.21.6, 1.21.3, 1.21.7, 1.21.2, 1.21.9, 1.21.10, 1.21.11, 26.1, 26.1.1, 26.1.2, 26.2
Release 2026-01-27 Get

Requirements & install

How to use this data pack in Minecraft
Mods needed
None, works in vanilla
Minecraft
1.21.9 – 26.3
Install folder
saves/<world>/datapacks

How to install data packs

  1. Download the data pack .zip file (do not extract it).
  2. New world: click Data Packs on the world creation screen and drop the .zip in. Existing world: open .minecraft/saves/<world>/datapacks.
  3. Put the .zip into the datapacks folder of the world (servers: world/datapacks).
  4. Run /reload in game (or rejoin the world) and check it with /datapack list.
Browse more: Data Packs for 26.3 All data packs

More from GamerPotion

Advertisement Remove ads with Premium →

You Might Also Like