• check_circle Functions
  • 1,953 views, 2 today
  • 203 downloads, 0 today
  • 9
  • 6
  • 3
Lostya's Avatar Lostya
Level 33 : Artisan Miner
12
A really simple datapack, that was inspired by bungeecord plugin Automatic Reconnect by Tau.
While reloading, tells players that a reload is happening, and also tells them when finished.
✔ This datapack is fully multiplayer compatible (as it has to be).
It is safe to use on servers with any software.

Usage:
Run /function reload:reload instead of /reload or /minecraft:reload.
If you want to reload silently, then just use vanilla /reload or /minecraft:reload. It will not display any text at all this way.

Copytight:
You are allowed to do anything. Crediting me is fully optional.

Uninstalling: just remove the datapack from datapacks folder. No furher actions needed
CompatibilityMinecraft 1.15
toMinecraft 1.19
Tags

Create an account or sign in to comment.

TomatoCake
07/04/2022 2:12 pm
Level 65 : High Grandmaster Cake
TomatoCake's Avatar
  • "It is safe for servers with plugins, as it runs /execute run reload instead of raw /reload, so it always runs minecraft's reload and not spigot's or whatever software you use. Basically replaces /minecraft:reload but works in vanilla too."
Did you test that? Afaik thats useless, even on bukkit/spigot/paper/etc servers functions use the vanilla command variant, so only data packs get reloaded, plugins dont.
If you did test that, nvm, then I learned something new...
2
Lostya
07/05/2022 4:14 am
Level 33 : Artisan Miner
history
Lostya's Avatar
i just didn't even want to risk me or any people if it may use reload of all plugins from functions. but with this it should be good all the time, not depending on if your software uses not vanilla reload in functions ¯\_(ツ)_/¯
i mean even if it doesn't change anything, this is still a little security measure
but on paper i think this is useless idk just didn't even bother risking
i am not home now but when i am back ill test, this comment made me curious
2
Lostya
07/05/2022 5:37 am
Level 33 : Artisan Miner
history
Lostya's Avatar
ok i tested it this thing is useless lol. but i won't remove this thing from datapack as it doesn't do anything bad or good, just looks safer for some reason

edit: i edited description so it just says that it is safe for servers
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome