> ## Documentation Index
> Fetch the complete documentation index at: https://docs.verveo.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Nametags+ Admin Plugins

> Intergrate Nametags+ with admin systems like Basic Admin and Adonis.

> [!WARNING]
>
> **AI Disclosure:** This documentation and the associated code snippets were generated and/or refined using AI technology. Always review code before implementing it into a production environment.

## Quick Start: Plugin Usage

Once installed, both admin systems use the same command logic:

| Action | Command Example |
| :- | :- |
| **Set a Tag** | `:tag me "Host" blue` |
| **Set a Tag (Custom Text)** | `:settag B00PUP "Developer" red` |
| **Remove a Tag** | `:untag me` |

**Available Colors:** `red`, `green`, `blue`, `yellow`, `pink`, `orange`, `purple`, `white`, `black`.

***

> [!CAUTION]
>
> **Nametags+ is a paid system by Verveo**. Implementing these plugins requires basic knowledge of Roblox Studio. Verveo Support cannot assist with custom script installations.

## 1. Basic Admin Essentials / Remade Setup

1. Open the **Basic Admin Essentials** main script in Roblox Studio.
2. Locate the **Plugins** folder.
3. Create a new **ModuleScript** and paste the code below. **You will need to create 2 files.**

```luau Tag theme={null}
local Plugin = function(...)
	local Data = {...}
	local Prefix = Data[1][5]
	local returnPlayers = Data[1][7]
    local remoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("Nametags+"):WaitForChild("Events"):WaitForChild("SetTag")
    local Colors = {
        ["red"] = Color3.fromRGB(231, 76, 60),
        ["green"] = Color3.fromRGB(46, 204, 113),
        ["blue"] = Color3.fromRGB(52, 152, 219),
        ["yellow"] = Color3.fromRGB(241, 196, 15),
        ["pink"] = Color3.fromRGB(255, 105, 180),
        ["orange"] = Color3.fromRGB(230, 126, 34),
        ["white"] = Color3.fromRGB(255, 255, 255),
    }
	local pluginName = 'tag'
	local pluginPrefix = Prefix
	local pluginLevel = 1
	local pluginUsage = "<User(s)> <Text> <Color>"
	local pluginDescription = "Sets a Nametags+ tag. Colors: red, blue, green, yellow, pink, orange"
	local function pluginFunction(Args)
		local Player = Args[1] 
		if Args[3] then
			local Victims = returnPlayers(Player, Args[3]) if not Victims then return end
            local tagText = Args[4] or "Staff"
            local colorInput = string.lower(Args[5] or "white")
            local finalColor = Colors[colorInput] or Colors["white"]
			for _, target in pairs(Victims) do
				remoteEvent:Fire(target, tagText, finalColor)
			end
		end
	end
	return pluginName, pluginFunction, pluginLevel, pluginPrefix, {pluginName, pluginUsage, pluginDescription}
end
return Plugin
```

```text Untag theme={null}
local Plugin = function(...)
	local Data = {...}
	local Prefix = Data[1][5]
	local returnPlayers = Data[1][7]
    local remoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("Nametags+"):WaitForChild("Events"):WaitForChild("SetTag")
	local pluginName = 'untag'
	local pluginPrefix = Prefix
	local pluginLevel = 1
	local pluginUsage = "<User(s)>"
	local pluginDescription = "Removes a player's Nametags+ tag."
	local function pluginFunction(Args)
		local Player = Args[1]
		if Args[3] then
			local Victims = returnPlayers(Player, Args[3]) if not Victims then return end
			for _, target in pairs(Victims) do
				remoteEvent:Fire(target, "", Color3.new(1, 1, 1))
			end
		end
	end
	return pluginName, pluginFunction, pluginLevel, pluginPrefix, {pluginName, pluginUsage, pluginDescription}
end
return Plugin
```

***

## 2. Adonis Admin Setup

1. Locate your **Adonis\_Loader** script.
2. Navigate to **Config > Plugins**.
3. Create a new **ModuleScript** named `Server-NametagPlugin`.
4. Paste the following code:

```luau theme={null}
--[=[
    Nametags+ Integration for Adonis Admin
    Refined with AI Assistance
]=]

return function(Vargs)
    local server = Vargs.Server
    local service = Vargs.Service
    
    local tagFolder = service.ReplicatedStorage:WaitForChild("Nametags+", 5)
    
    if not tagFolder then
        warn("[Nametags+ Plugin] Error: Nametags+ not found in ReplicatedStorage.")
        return
    end
    
    local remoteEvent = tagFolder:WaitForChild("Events"):WaitForChild("SetTag")
    
    local Colors = {
        ["red"] = Color3.fromRGB(231, 76, 60),
        ["green"] = Color3.fromRGB(46, 204, 113),
        ["blue"] = Color3.fromRGB(52, 152, 219),
        ["yellow"] = Color3.fromRGB(241, 196, 15),
        ["pink"] = Color3.fromRGB(255, 105, 180),
        ["orange"] = Color3.fromRGB(230, 126, 34),
        ["purple"] = Color3.fromRGB(155, 89, 182),
        ["white"] = Color3.fromRGB(255, 255, 255),
        ["black"] = Color3.fromRGB(0, 0, 0),
    }

    server.Commands.SetNametagPlus = {
        Prefix = server.Settings.Prefix,
        Commands = {"settag", "tag"},
        Args = {"player", "text", "color"},
        Description = "Sets a Nametags+ tag.",
        AdminLevel = "Moderators", 
        Function = function(plr, args)
            local text = args[2] or "Staff"
            local colorInput = string.lower(args[3] or "white")
            local finalColor = Colors[colorInput] or Colors["white"]
            
            for _, v in pairs(service.GetPlayers(plr, args[1])) do
                remoteEvent:Fire(v, text, finalColor)
            end
        end
    }

    server.Commands.RemoveNametagPlus = {
        Prefix = server.Settings.Prefix,
        Commands = {"removetag", "untag"},
        Args = {"player"},
        Description = "Removes a player's Nametags+ tag.",
        AdminLevel = "Moderators",
        Function = function(plr, args)
            for _, v in pairs(service.GetPlayers(plr, args[1])) do
                remoteEvent:Fire(v, "", Color3.new(1, 1, 1))
            end
        end
    }
end
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.