2
Timed Message.
Does anyone know how to make message appear in chat every 5 minutes? If so please respond. Help.
14
Are you talking about the feature on most servers where a message will be shown in chat every x seconds?
If so, you may be referring to an auto-message or auto-broadcast plugin.
There are plenty of plugins available that do just that, found in SpigotMC forums.
If you need recommendations, I know of a similar plugin that is used in 2 popular servers and my server. It's the Announcer plugin.
If so, you may be referring to an auto-message or auto-broadcast plugin.
There are plenty of plugins available that do just that, found in SpigotMC forums.
If you need recommendations, I know of a similar plugin that is used in 2 popular servers and my server. It's the Announcer plugin.
Used that plugin. Works flawlessly. Thanks for you advice.
Great! Glad that I've helped.
Thanks, I'll check it out.
Use a scoreboard timer with command blocks.
make a dummy scoreboard objective, increment the value of the objective for '5min_timer' every tick
once it reaches 6000 you reset it and make the message appear
make a dummy scoreboard objective, increment the value of the objective for '5min_timer' every tick
once it reaches 6000 you reset it and make the message appear
If you can, can you supply me with the commands? I'm not the biggest command nerd.
First separately run /scoreboard objectives add dummyscore dummy
Then in repeating command blocks, run the following commands:
scoreboard players add 5min dummyscore 1
execute if score 5min dummyscore matches 6001.. run scoreboard players set 5min dummyscore 0
execute if score 5min dummyscore matches 0 run say MESSAGE OVER HERE (alternatively you can use /tellraw)
Then stand next to the command blocks and do /forceload add ~ ~ so that the chunk is kept loaded so that they work even if there are no nearby players.
Then in repeating command blocks, run the following commands:
scoreboard players add 5min dummyscore 1
execute if score 5min dummyscore matches 6001.. run scoreboard players set 5min dummyscore 0
execute if score 5min dummyscore matches 0 run say MESSAGE OVER HERE (alternatively you can use /tellraw)
Then stand next to the command blocks and do /forceload add ~ ~ so that the chunk is kept loaded so that they work even if there are no nearby players.
Alright thanks, I'll try it out later.
(Correct me if I'm wrong as I have more experience with plugins than command blocks)
Assuming the OP is running a Bukkit or Bukkit-based server, she could freely use a Bukkit plugin to do the exact desired output without needing command blocks.
Here are my 3 reasons:
Assuming the OP is running a Bukkit or Bukkit-based server, she could freely use a Bukkit plugin to do the exact desired output without needing command blocks.
Here are my 3 reasons:
- Redstone can be laggy sometimes.
- You need space to place command blocks, and you need to hide it somewhere in the map. You don't need to do that with plugins.
- Tellraw can be complicated, but powerful, although there exists some tellraw command generators. However, with plugins, we could just write & as opposed to § to add colors.
True, redstone can be laggy and plugins might be more useful, but at the end of the day it's just personal preference. I prefer commands because I have experience with them, so I would rather use commands myself than plugins, while you might prefer plugins. Who knows what the OP prefers.
I don't see why you would need § for tellraw tho.
I don't see why you would need § for tellraw tho.
There are two ways of adding colors to a text in a tellraw command.
For instance, if I want to display "Hello and welcome" in red, dark green, and dark aqua colors respectively, I could do either of this:
Option 1
By default, Minecraft uses the section symbol (§) to add colors to a text and even change its text formatting (bold, italic, underline, strikethrough, obfuscated). However, since Minecraft has disabled inserting the section symbol in-game, we can alternatively use its Unicode character escape code: "\u00A7". The final code would be:
Option 2
Or, you know, we could just write it this way if we were using plugins:
All of those code above would result to:
Wrong! At the end of the day, it's night. :))
For instance, if I want to display "Hello and welcome" in red, dark green, and dark aqua colors respectively, I could do either of this:
Option 1
By default, Minecraft uses the section symbol (§) to add colors to a text and even change its text formatting (bold, italic, underline, strikethrough, obfuscated). However, since Minecraft has disabled inserting the section symbol in-game, we can alternatively use its Unicode character escape code: "\u00A7". The final code would be:
/tellraw @a "\u00A7cHello \u00A72and \u00A73welcome"Option 2
/tellraw @a ["",{"text":"Hello","color":"red"},{"text":"and","color":"dark_green"},{"text":"welcome","color":"dark_aqua"}]Or, you know, we could just write it this way if we were using plugins:
"&cHello &2and &3welcome"All of those code above would result to:
Hello and welcome
oh, and one more thing…
at the end of the day it's just personal preference.
Wrong! At the end of the day, it's night. :))
Ah, didn't know about Option 1, I just use Option 2
And yup it's night lol
And yup it's night lol
You can do it with commandsblocks or just install a plugin. I would prefer plugins.
Any plugins you'd recommend?
