HermitCraft Data Packs have an "AFK" utility that toggles a light gray when players are idle for a while. Unfortunately, it uses "teams" which interact with my "Glowing" team (for players who want to see where each the other is in cooperative play) and "God Mode" team (for an elderly gentleman who plays on our game with his adult son, but can't fight mobs or stay out of lava very well). God Mode actually has all newly spawned mobs on the "God Mode" team so that mobs will ignore him, except they don't get the healing and night-sight benefit.
Since HC AFK and my custom stuff use teams, we have an interaction where if someone goes AFK, it removes them from the special teams. Is there a means to recode HC AFK *or* my custom stuff so it doesn't go through the /team mechanic? I think my God Mode pretty much has to stay with team because of the problem of not wanting mobs to attack my God Mode player even if he is otherwise invincible.
Xisumavoid's AFK does does use Scoreboard to AFK and to change color. The problem with a "God Mode" for the player is having mobs ignore the person so "God Mode-ed". I think for now we'll just do without AFK. I hope to avoid plugins even though I'm using Spigot. I think it's likely when 1.14 Snapshots come out, I'll be told to start putting 'em on the server.
HermitCraft Data Packs have an "AFK" utility that toggles a light gray when players are idle for a while. Unfortunately, it uses "teams" which interact with my "Glowing" team (for players who want to see where each the other is in cooperative play) and "God Mode" team (for an elderly gentleman who plays on our game with his adult son, but can't fight mobs or stay out of lava very well). God Mode actually has all newly spawned mobs on the "God Mode" team so that mobs will ignore him, except they don't get the healing and night-sight benefit.
Since HC AFK and my custom stuff use teams, we have an interaction where if someone goes AFK, it removes them from the special teams. Is there a means to recode HC AFK *or* my custom stuff so it doesn't go through the /team mechanic? I think my God Mode pretty much has to stay with team because of the problem of not wanting mobs to attack my God Mode player even if he is otherwise invincible.
I don't think that's possible. To change the color, it need to use team's color!
If you don't need that fancy coloring, you could modify so it adds tag to the player. Obviously it would be hidden, but meh for commands.
Another solution is using scoreboards to display which players are AFK.
I'm a programmer. I use C/C++, BASIC, Assembly, and Python. If i sound too technicial, that's because it's the way i think.
My Suggestions
Xisumavoid's AFK does does use Scoreboard to AFK and to change color. The problem with a "God Mode" for the player is having mobs ignore the person so "God Mode-ed". I think for now we'll just do without AFK. I hope to avoid plugins even though I'm using Spigot. I think it's likely when 1.14 Snapshots come out, I'll be told to start putting 'em on the server.