• check_circle Advancements
  • check_circle Functions
  • 17,328 views, 14 today
  • 3,290 downloads, 6 today
  • 22
  • 19
  • 15
BVengo's Avatar BVengo
Level 38 : Artisan Engineer
8
Name Colours

This datapack is now deprecated! I recommend using my Stream Status datapack instead for the same (but nicer) functionality. To remove the /trigger recording functionality, remove the following line from data/stream_status/funcitons/update.mcfunction:



scoreboard players enable @a recording

This is a basic minecraft datapack, designed to colour the names of players based on the dimension they are in. It also updates based on if a player is AFK or not. It will adjust player names as follows:



Dimension
Colour
Overworld
Green
Nether
Red
End
Purple

Additionally, AFK players will have their names suffixed with a gray [​AFK] tag after 5 minutes.

The following image is a preview of all dimension and AFK combinations.

Image of Name Colours datapack on a server

Please note that this datapack uses teams to allocate name colours. If you wish to use other teams, you will need to temporarily remove this datapack since minecraft currently only allows one team per player.




Installation / Removal
To install the datapack, simply drag the downloaded zip file into the datapack folder of your world.

To uninstall, type /function name_colours:uninstall. This will remove all teams, scoreboard values, and tags related to the datapack. Then remove the zip file from the datapacks folder and reload the world.

Check out my GitHub page BVengo/name-colours for other datapack versions.



Credit
Thanks to the Vanilla Tweaks datapack 'AFK Display', and AqUpd's datapack 'Tab Dimension Colour' for inspiring me to make this joint datapack. You can find their individual datapacks at the following links:
CompatibilityMinecraft 1.18
toMinecraft 1.19
Tags

1 Update Logs

1.19 v1.0 : by BVengo 06/06/2022 9:06:22 pmJun 6th, 2022

Updated to 1.19!
Additionally, silent achievements have been added to show that the datapack is installed, in line with all other Vengo packs.

Create an account or sign in to comment.

zlappex
06/22/2023 3:46 pm
Level 1 : New Miner
zlappex's Avatar
Hey hello! I really liked this datapack, but Im wondering if it is possible to somehow use the plugin to display ping in a tab (SpigotPing) and your datapack? Server on Paper
1
BVengo
06/24/2023 9:20 pm
Level 38 : Artisan Engineer
BVengo's Avatar
Hi there, I'm glad you like it :)

Unfortunately they don't work together because they both use the same teams prefix / suffix commands, and MC only allows one at a time.

Please check out https://www.planetminecraft.com/data-pack/stream-status/ for further support, because this datapack has been deprecated.
1
temerlol
02/06/2023 1:06 am
Level 1 : New Miner
temerlol's Avatar
Is it possible to display dimension color in chat ?
1
BVengo
02/10/2023 7:13 pm
Level 38 : Artisan Engineer
BVengo's Avatar
It should already be shown in chat!

Are you using Spigot by any chance? It's known for breaking all chat colours and implementing their own. An alternative is to use Paper instead, and adjusting the following line in paper.yml:

use-vanilla-world-scoreboard-name-coloring=true
1
TheFlee_
08/09/2022 4:51 am
Level 1 : New Explorer
TheFlee_'s Avatar
Hi! Is any other alternative for 1.16.5?
1
BVengo
08/11/2022 11:09 am
Level 38 : Artisan Engineer
BVengo's Avatar
Hi there :) I appreciate that profile picture!

There isn't currently, but keep an eye open on https://www.planetminecraft.com/data-pack/stream-status/ because I'll add a 1.16.5 version in the future (and this datapack is now deprecated).

You may be able to update it yourself by opening up the datapack and changing the pack format in pack.mcmeta to 6, but I haven't tested it myself!
1
KingArkon_
07/28/2022 12:28 am
Level 1 : New Miner
KingArkon_'s Avatar
Hey, I'd like to know how to change [​AFK] suffix to something different? Like, for example, clock emoji lol. I know it is easy to change, but I really don't know how to do it by myself lol💀💀
1
BVengo
07/30/2022 3:51 am
Level 38 : Artisan Engineer
history
BVengo's Avatar
Hi! No worries at all :)

I actually recently updated my Stream Status datapack to have identical functionality as this one, but with a much nicer look and feel. It changes the AFK suffix to a gray dot ●, and also allows you to manually set yourself as afk by typing /trigger afk. I've now marked this one as deprecated.

You can check it out here: https://www.planetminecraft.com/data-pack/stream-status/

All instructions below relate to the Stream Status datapack.

If you want to update the symbols used, they can be changed in /data/stream_status/functions/load.mcfunction.
You'll see a lot of lines with team modify <team> prefix [...] - just change ● to the symbol that you want. Unfortunately we can't throw any random image in there though - we're limited to characters that can be included as text.

You would be interested primarily in updating the lines with {"text":" ●", "color":"gray"}, since the red dots are for the recording part of the datapack.

To remove the streaming functionality of the new datapack entirely (i.e. make it identical to this datapack), remove the line
scoreboard players enable @a recording
from data/stream_status/functions/update.mcfunction.

I hope that helps!
1
KingArkon_
07/30/2022 5:33 pm
Level 1 : New Miner
history
KingArkon_'s Avatar
Hello! Yes, it does help me. Thank you so much, it looks really awesome, and I like new feature , recording status, that you made to that datapack too. I uploaded image what I was trying to do... :)
1
KingArkon_
07/30/2022 5:36 pm
Level 1 : New Miner
KingArkon_'s Avatar
2
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome