DiscordTagIDs --- I know, I know, I only make discord-based scripts

I installed the ressource and started it, now its spamming my console with “The server ID of player --censored-- is: 8”

i can delete the message but the script will spam in the background right?
How to solve that thing?

Comment it out in the code client.lua

That was the first thing i thought about, but the function will spam in the background without the output and overflows the client or am i wrong?

What are you talking about? Do you even know code?

I am asking if im just cutting out the message, the code eunns throufh and spamming the client without output.

NEW UPDATE [DiscordTagIDs]

No longer a Requirement

New Requirement

New Installation Tutorial [DiscordTagIDs]

Thank you to @Jordan2139

1 Like

i need help with this script i hardly understand it

Can someone help me out?? im doing it like the video shows, and it still says i dont have any available head tags…

i still ended up having to change the export value to discord api from Discord_perms just an fyi

I’m having a bit of issues. I’m currently receiving this error code.

SCRIPT ERROR: @DiscordTagIDs/server.lua:168: attempt to index a nil value (global ‘roleList’)

---- Current Config.lua

Config = {
	Prefix = '^9[^1Badger-Tags^9] ^3',
	TagsForStaffOnly = false, -- "DiscordTagIDs.Use.Tag-Toggle"
	RoleList = {  
		{833318234534838292, "~g~| Astro Citizen ~w~"},
		{833317795121856562, "~r~| Staff |  ~w~"},
		{833318234534838292, "~r~| Admin |  ~w~"},
		{833318234534838292, "~g~| Astro Citizen |  ~w~"},
		{833320557499514970, "~y~| Premium Citizen |  ~w~"},
		{833309675038572574, "~h~| Founder |  ~w~"},
		{833310065142398977, "~r~| Director |  ~w~"},
		{833420519776190505, "~b~| Dep. Head | ~w~"},
		{833431096648663120, "~b~| Astro Police | ~w~"},
		{833430674006212661, "~r~| Astro Fire Dep. | ~w~"},
	},
}

You have set something up wrong when configuring this. You’re probably missing a comma or did not follow the instructions.

1 Like

okay so its working by just putting the name role to the Discord ID.

Config = {
	Prefix = '^9[^1Badger-Tags^9] ^3',
	TagsForStaffOnly = false, -- "DiscordTagIDs.Use.Tag-Toggle"
	roleList = {
		{"Astro Citizen", "~g~Astro Citizen ~w~"},  
		{"Premium Citizen", "~b~Developer ~w~"},
		{"Dep. Head", "~b~Dep. Head ~w~"},  
		{"Astro Police Dep.", "~b~Astro Police ~w~"},  
		{"Astro Fire Dep.",  "~r~Astro Fire Dep ~w~"},  
		{"Admin", "~r~ Admin  ~w~"},  
		{"Founder", "~r~FOUNDER ~w~"}, 
	},
}

Fixed Solution.

Role ID or role name should work fine, but you were probably messing up the role IDs

Would there be any possible way of making the ID get removed if its not inside eyesight such as me being outside of a building and them being inside. I can still see the tag ID.

Hey @OfficialBadger,

If you could, would you be able to make it where you can only see the tag id’s if you press a certain key, for example the head tag only shows up when I press insert on the keyboard. I think this would be a great addition and would really help out with keeping meta gaming to a minimum! Your scripts are all great and I use all of them! Thanks!

Sincerely,

@EveryDayRoleplay

How do I fix headtags not showing?

Have you found a solution to this? I am looking for the exact same thing.

Not yet, let me know if you find a way.