1. Forum
    1. Dashboard
    2. Unresolved Threads
  2. Filebase
  3. Wiki
  4. Website
  • Login
  • Register
  • Search
Server Mods
  • Everywhere
  • Server Mods
  • Articles
  • Pages
  • Files
  • Forum
  • More Options
  1. Official Eco Forums
  2. Filebase
  3. Server Mods

NidToolbox: Chat Tags module

    • Minimum: 10.0.X
  • nid
  • March 18, 2021 at 9:56 PM
  • 11k Downloads
  • 0 Comments
  • Download
Due to human (non-bot) spam the first contribution of a user has to be reviewed and activated manually, all further contributions do not require this.
As long as a user does not have at least one reviewed and activated contribution, the user is unable to edit his profile, set a avatar, title picture or a signature.
  • Overview
  • Versions 26

Contains Server Chat Tags module for NidToolbox Light server tool-set. Chat Tags appear next to the name of players.

NIDTOOLBOX' DOWNLOAD LOCATION CHANGED TO -> https://eco.mod.io <-

! UP TO DATE DOCUMENTATION ONLY UNDER THE ABOVE ADDRESS !

I had to limit the amout of places I need to update the texts whenever I add or remove commands and update individual modules, sorry!


1573-nidtoolbox-design01-nid-64-png

Chat Tags

for NidToolbox Light

requries nid-core module available here



NEW - if you would like to have your server logo appear in the notifications area in messages that come from NidToolbox. Please join my Discord https://discord.nidaren.net/ and post them in #server-logos channel.

Create and assign chat tags to the players on your server, to clearly mark their roles and membership, whether they are an [Admin] or a [Janitor] :)

NidToolbox's Discord Channel -> here

Chat Tags module allows:

  • Easy creating, granting, revoking and displaying chat tags like: [Admin], [Donor], [Server Owner]
  • Chat Tags are now interactive within the game UI, have descriptions and show tooltip on hover.
  • Self-assignable tags can be configured - special type of tags - these can be self-assign by your server players (i.e. pronouns etc).
  • Can be visible in tooltips!
  • Fully customizable! Any colour of choice can be defined. Module accepts either any hex colour code or provided 16 defined named colours options for ease of use.
  • Formatting options include: Brackets type, bracket color, size, italic, underline, underline color.
  • Possible to force custom capitalisation of the name.
  • Priorities can be assigned to different tags, which should appear first, 0 (zero) being the highest priority.
  • Full integration with Elixir Framework permission Groups! See below for examples.
  • Tags can have shorter forms, like [DR], for [Donor] etc. Configurable via TextInUI and TooltipText properties, or tag-Tooltip and tag-UI commands.
  • Easy configuration via in-game commands.
  • Configuration can be viewed at any time, with looks example as well as tag membership.
  • Assigned tags can now also be hidden on specific users.
  • Module can be reloaded at any time, without the need of a server restart.

(click to enlarge)


Requirements:

As any module of NidToolbox set, it requires nid-core version 1.0.3+ module, available in the main forum thread: here

How to install:

  1. Unpack .zip archive
  2. Copy nid-chattags.dll to Mods\NidToolbox\Modules

Settings files:

Config files are located at:

  1. Configs\Mods\NidToolbox\ChatTags.json - contains module settings.

Configuration:


Chat tags are created and configured via usage of in game commands. While there is a settings file available as well, I strongly discourage from editing it by hand.


There are currently two tag types:

  • Manual - this is simplest chat tag, can be created, deleted, renamed, formatted at any time and assigned freely.
  • EMGroup - this chat tag is created automatically, based on existing Elixir Framework permission groups and protected from deletion or renaming. Its colour, priority and visibility can be assigned freely, however membership is read directly form the EM Groups created by server admins. See below for some example integrations with EM permission groups. Some of the system tags as Admin and Default are also defined as this type of tag.
  • (upcoming) Demographic - it is an upcoming chat tag type, that will be assigned automatically to the members of the specified demographic. Its visibility, priority and colour will also be freely editable.

Adding new tag is as simple as issuing /tag-add and specifying the details. Only tag name and color are required, priority of 1 and visibility enabled are assumed if not given by the issuer.

Tags can be assigned by issuing /tag-grant and stating a player name. After that tag will be always added to the targeted user.

How to view Tag's settings - to check tag's settings at glance, simply issue /tag-show tagName. It will trigger a window, showing all the settings for the tag, including members, colors, type and look example.

Priority - normally tags are shown in the alphabetical order. If you would like to alter this behaviour, for example to signify some important roles like Donors and server supporters, you can assign priority to the tag in question. Tags with higher priority will show first. Highest priority available is 0 (zero). Tags with same priority will respect alphabetical order.

Use /tag-pri tagName, priority to change tag's priority.

Visibility - all created tags start as visible, however if you need to hide tag for some reason, you don't need to delete it. Just hide it's visibility! Visibilty can be change via /tag-config command.

Formatting:

Bracket types, bracket colors, italic, underline and underline colors and size can all be applied as per the user liking. See below for details (in commands section).

Let's say you have created a player tag - My Supporters but instead of using the default [ ] brackets, you prefer < > type. Use /tag-brackets to alter them.

You can also force specific capitalisation of the tag. This is especially useful for tags that are created for the existing EM Groups. By default, EM Group tags will inherit the group name and will be capitalised. Normally this is fine, but let's say you have created Vips EM Group, the chat tag will look as follows: [Vips], you can force [VIPs] capitalisation by using /tag-ForceCap.


Integration with EM Framework:

This module integrates fully and seamlessly with EM Framework.

If you would like to take things on your server to the next level, make sure you utilise EM Framework's permissions system!

Elixir Framework Groups and Permissions module, allows fine and granular control over which player can do what.

Let's say you want your Donors to be able to teleport home and use the teleport command, but you DON'T want the same rights for just the regular users.

Or You want a Moderator group who can ban and mute players but restrict them from spawning items or flying. This is where EM Framework Groups and Permissions come in.

By using /grp-add you can create special permission groups for your Moderators, Donors, Support etc with specifically assigned commands only they can use.

NidToolbox Chat Tags will automatically recognise your EM Groups, their members and will create and assign tags to them all by itself. You can of course still alter colors, visibilty and priority of such tags.

The best thing is - you don't have to download anything, em-framework is included with nid-core download and required by it, so you already have it :)

If you are interested, be sure to check EM Framework documentation page, here.


Available commands:

/help Tags

Displays information about all commands contained within this module.


/tag-EnableSelfSystem 1711-rcon-png

Enables or disables self tagging system for your users.

/tag-EnableSelfSystem bool true/false

Code
/tag-EnableSelfSystem, true/false


/tag-MakeSelfAssigned1711-rcon-png

Adds or removes self assigned property from chat tag.

/tag-MakeSelfAssigned string tagName, bool makeSelfAssigned

Code

Code
/tag-MakeSelfAssigned, tagName, true/false


/tag-add 1711-rcon-png

Creates new player chat tag.

/tag-add string tagName, string color, int priority, bool showInChat

priority and visibilty in chat are optional. When not defined, priority 1 and visibility in chat will be assumed

Code
/tag-add tagName, scolor, priority, true/false

/tag-show 1712-non-rcon-png

Displays tag's easily viewable tag configuration in a separate window, including information on who is the tag currently assigned to.

/tag-show string tagName

Code
/tag-show tagName

/tag-grant 1711-rcon-png

Assigns tag to the player.

/tag-grant string tagName, string targetPlayer

Code
/tag-grant tagName, targetPlayer

/tag-revoke 1711-rcon-png

Remove tag from the player.

/tag-revoke string tagName, string targetPlayer

Code
/tag-revoke tagName, targetPlayer


/tag-Me1712-non-rcon-png

Assigns self-assignable tag to the user.

/tag-Me string tagName,

Code

Code
/tag-Me tagName


/tag-DelMe1712-non-rcon-png

Removes self-assignable tag from the user.

/tag-DelMe string tagName,

Code
/tag-DelMe tagName


/tag-color 1711-rcon-png

Assigns color to the selected tag.

/tag-color string tagName, string color

Code
/tag-color tagName, color

/tag-format 1711-rcon-png

Sets formatting options for the selected tag. Use this if you want to set everything by one command. If you want to target only some properties, see commands below.

/tag-format string tagName, string bracketsType, string bracketsColor, int size, bool italic, bool underline, string underlineColor

Code
/tag-format tagName, [], #FF00FF, 22, false, true, #FFFFFF


/tag-Description1711-rcon-png

Alters tag's description that appears on mouse hover.

/tag-Description string tagName, string description

Code
/tag-Description tagName, description


/tag-brackets 1711-rcon-png

Sets bracket type and bracket color for selected tag. You can ommit bracketsColor, if you do, default value of #FDE698 will be used.

/tag-brackets string tagName, string bracketsType, string (optional) bracketsColor

Code
/tag-brackets tagName, <>, #FDE698

/tag-font 1711-rcon-png

Changes the format properties of the font: underline, italic, underline color. Underline color is optional, when omitted, default value of #FDE698 will be used.

/tag-font string tagName, bool italic, bool underline, string underlineColor

Code
/tag-font tagName, false, true, #FDE698

/tag-ForceCap 1711-rcon-png

Forces exact capitalisation in tag name.

/tag-ForceCap string tagName, string newName

Code
/tag-ForceCap vips, VIPs

/tag-hideOnUser 1711-rcon-png

Hides chat tag on specified user.

/tag-hideOnUser string tagName, User targetUser

Code
/tag-hideOnUser tagName, targetUser

/tag-unHideOnUser 1711-rcon-png

Shows previously hidden chat tag on specified user.

/tag-unhideOnUser string tagName, User targetUser

Code
/tag-unhideOnUser tagName, targetUser

/tag-del 1711-rcon-png

Removes specified player chat tag.

/tag-del string tagName

Code
/tag-del tagName

/tag-rename 1711-rcon-png

Renames existing tag.

/tag-rename string tagName, string newName

Code
/tag-rename tagName, newName

/tag-pri 1711-rcon-png

Assigns priority to the selected tag.

/tag-pri int priority

Code
/tag-pri priority

/tag-config 1711-rcon-png

Configures targeted chat tag.

/tag-config string tagName, string tagName, string color, bool showInChat, bool showInUserTooltip, bool showInObjectives, bool showInUI, int sizeInTooltip, int priority

Code
/tag-config tagName, color, true/false, true/flase, true/flase, true/flase, 24, priority


/tag-tooltip 1711-rcon-png

Configures user tooltip properties of the selected chat tag.

/tag-tooltip string tagName, bool showInTooltip, int sizeInTooltip, bool thickenFontTooltip, string textInTooltip = ""

Code
/tag-tooltip tagName, true/false, 24, true, ""

/tag-list 1711-rcon-png

Lists all created tags.

/tag-list

Code
/tag-list

/tag-reload 1711-rcon-png

Reload settings from config files.

/tag-reload

Code
/tag-reload

/tag-SetOnDutyTag 1711-rcon-png

Sets default OnDuty tag. This tag can be triggered by /onduty and /offduty self-commands.

OnDuty tag is a special tag that can be quickly shown and hidden by users to which it has been assigned.

/tag-SetOnDutyTag string tagName

Code
/tag-SetOnDutyTag tagName

/onDuty 1712-non-rcon-png

Displays the selected onDuty tag on issuing user.

OnDuty tag is a special tag that can be quickly shown and hidden by users to which it has been assigned.

/onDuty

Code
/onDuty

/offDuty 1712-non-rcon-png

Hides the selected onDuty tag on issuing user.

OnDuty tag is a special tag that can be quickly shown and hidden by users to which it has been assigned.

/offDuty

Code
/offDuty

/tag-Space 1711-rcon-png

Adds or removes space in chat between tag and name.

/tag-Space bool addSpaceInChat, bool addSpaceInUI

Code
/tag-Space true, true

/tag-UI 1711-rcon-png

Configures UI properties of the selected chat tag. textInUI is an optional value.

/tag-Space string tagName, bool showInChat, bool showInUI, bool showInObjectives, string textInUI, string textInObjectives

Code
/tag-UI someTag, true, true, true, "", ""


/tag-TextInChat 1711-rcon-png

Alters tag's text that appears in chat.

/tag-TextInChat string tagName, string textInChat

Code
/tag-TextInChat tagName, textInChat

Images

  • rcon.png
    • 2.64 kB
    • 80 × 40
  • non-rcon.png
    • 3.59 kB
    • 80 × 40
  • Version none

    • nid
    • May 4, 2024 at 12:17 PM
    • 106 Byte
    • 351 Downloads

    Main mod page changed

  • Version 1.10.3

    • nid
    • April 8, 2024 at 3:18 PM
    • 33.96 kB
    • 546 Downloads

    Fixes how admin adds and removals are handled internally between NidToolbox and EM.
    Adds additional option to alter text in objectives window.

  • Version 1.10.2

    • nid
    • March 25, 2024 at 11:12 PM
    • 33.2 kB
    • 537 Downloads

    Chat Tags are now interactive within the game UI.
    Chat tag can have description and shows tooltip on hover.
    If Chat tag is altered it also updates in chat.
    Added ability to set custom text or/and icon in chat for the tag.
    Added self-assignable tags system.
    Added new commands: tag-TextInChat, tag-EnableSelfSystem, tag-Me, tag-DelMe, tag-MakeSelfAssigned, tag-Description.

  • Version 1.10.1

    • nid
    • December 26, 2023 at 4:23 AM
    • 29.84 kB
    • 807 Downloads

    * Fixed /onduty and /offduty commands broken after the update.
    * Improved tags membership sortings.
    * Added warnings on tags which were disabled globaly by their global visibilty properties.
    * Improved reload tags configs, to preform fast on very big servers (500+ members).
    * Added duration information on reload config tags.

  • Version 1.10.0

    • nid
    • December 17, 2023 at 12:57 PM
    • 28.89 kB
    • 737 Downloads

    Chat Tags module:

    * ChatTags Config files will now preserve sorting. This is useful for people who use any kind of version control for their configuration files.

    * Changed ChatTag to record type and made ChatTag usable in hash tables.

    * Logic for commands relating to tags, where they add, remove or modify tag properties has been chaged taking into account changes to ChatTag class.

    * Command tag-show has been updated to list members properly when config file contains users from older server saves that no longer exist in the current session.

    * Fixed Reputation Title and Title Occupants strings not updating due to changes in tooltips properties.

    * Added a way to validate members of the tag in situations where their SlgId or SteamId gets updated or added. Thx MonzUn for reporting!

  • Version 1.7.6

    • nid
    • June 17, 2023 at 1:33 PM
    • 27.44 kB
    • 500 Downloads

    Update to timers and changes made in nid-core 1.7.10.

    Updates to code for the upcoming Eco 10.

  • Version 1.7.5

    • nid
    • May 8, 2023 at 2:33 AM
    • 27.61 kB
    • 492 Downloads

    Tag property Visible changed to ShowInChat, your config files will be updated automatically. This was a legacy name from before tags have specific visibility properties.

    Owner tooltip on WorldObjects will now get updates when tags of the user change. This addresses the problem in store tooltip not reacting for its owner tags change and in all other places where owner tooltip is involved.

    Updated legacy tag-config command so it now accepts all visibility properties of the tag: showInChat, showInUserTooltip, showInUI, showInObjectives.

    Updated tag-UI command, so showing/hiding tag in exact places in the UI can be accssed easier via commands.

  • Version 1.7.4

    • nid
    • February 21, 2023 at 8:20 PM
    • 27.35 kB
    • 526 Downloads

    * Fixed issue with member string search. Issue reported by deathracer1989 Thanks!

  • Version 1.7.3

    • nid
    • January 27, 2023 at 5:49 PM
    • 27.33 kB
    • 508 Downloads

    Fixed issue of HidenForUsers not being respected in certain situations. Thanks to muzs1 for reporting.

  • Version 1.7.2

    • nid
    • December 21, 2022 at 11:59 AM
    • 27.29 kB
    • 523 Downloads

    * Updated project to net7.

Support Thread 25 replies, last: May 4, 2024 at 12:17 PM

More Files by nid

  • NidToolbox: Player Manager module

    nid September 29, 2020 at 2:00 AM
  • NidToolbox: IP Logger module

    nid September 29, 2020 at 2:23 AM
  • NidToolbox: Chat Logger module

    nid September 29, 2020 at 2:31 AM
  • NidToolbox: Clean Server module - Mining rubble, tree debris removal and reporting

    nid September 29, 2020 at 10:57 AM
  • NidToolbox: MOTD module

    nid October 13, 2020 at 1:01 AM
All Files
  1. Staff
  2. Privacy Policy
  3. Terms of Service
  4. Legal Notice
  5. Contact
Powered by WoltLab Suite™