Перейти к содержимому
Mineforgian

AFKAdvertiser

Minecraft mod that sends random messages on intervals.

Загрузки
266
Подписчики
6
Обновлён
25 февраля 2026 г.
Лицензия
MIT

Опубликован 14 апреля 2024 г.

IF YOU WANT THE MOD UPDATED TO NEWER/OLDER MC VERSIONS PLEASE MAKE AN ISSUE ON THE GITHUB. IT WON'T BE UPDATED IF I GET NO REQUESTS FOR IT.

AFKAdvertiser

AFKAdvertiser is a Minecraft mod which sends a random chat message from a list on an interval.

Dependencies

The mod depends on Fabric-Api.

Configuration

To configure the mod, put the mod in your mods folder and launch the game. A txt file will be created in .minecraft\config named afkadvertiser.txt. This txt file will have the following contents by default:

60
10
First Line
Second Line

The first line is the interval in seconds between messages, the second is the random offest in seconds, all the following lines are the messages which are randomly selected, there can be an infinite number of messages (well, actually 2,147,483,647). When in-game, toggle it with /afkadvertiser.

Timing

How the mod internally works is that a task is run after interval seconds, this task then adds an extra random amount of seconds between zero and random_offset (a float, so not alligned to the second), after that extra time has elapsed, it sends a random message. So the time between messages is interval+random(0,random_offset).

Issues

If you have issues or found a bug, create an issue on github.

Contributing

If you want a feature to be added or want to add something yourself, please first open a feature request on github.

Ченджлог

0.3Релиз1.20.4 · 25 февраля 2026 г.

BREAKING: config txt now needs a random_offset value (int) on the second line.

  • chore: code cleanup
  • feat: command feedback
  • fix: crash if txt file is empty
  • feat: random offset (see README.md/description)
0.2Релиз1.20.4 · 14 апреля 2024 г.

Initial Release

The first version uploaded to modrinth

Комментарии

Загружаем…