介绍
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.
常见问题
AFKAdvertiser 支持哪些 Minecraft 版本?
AFKAdvertiser 支持 Minecraft Java 版 1.20.4,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。
AFKAdvertiser 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅客户端。
评论
登录后评论和评分