DarkTimer - Change time & announcement text
Unknown (6945)by GamerPotion
DarkTimer datapack to change the item deletion duration and chat announcement text to anything you want
Type
Unknown (6945)
CurseForge Downloads
250,854
CurseForge ID
1446150
Last Updated
Apr 13, 2026
Description
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
Similar Unknown (6945)s
Repurposed Structures - Illager Invasion Compat
Adds compatibility between Repurposed Structures and Illager Invasion's woodland mansions!
RCT Badges - Cobblemon Pokemon Badges
Leaders from Radical Cobblemon Trainers will drop badges from the Cobblemon Pokemon Badges mod.
Pokopia Cosmetic Forms [Cobblemon]
Adds Peakychu, Smearguru, Mosslax, Professor Tangrowth, and Trainer Ditto to the game.
MES - Biomes O' Plenty Compat Pack
Switches out the style of MES structures to use blocks from BOP, creating a more cohesive and immersive experience when...
Dynamic Lights [Data Pack]
Supported entities and items such as torches or lanterns emit light!
Hostile Neural Networks: Extra Data Models
Adds Data Models and fabricator loot for mobs from over 50 mods.
