NewTag
Introduction
Newtag is a simple chat tag supplement plugin. This plugin allows players to have an additional chat tag located before their name. Players can edit or remove tags using in-game commands. Newtag is lightweight and compatible with all other chat plugins.
NewTag Development
Compatibility
NewTag is compatible with the following..
- PermissionsBukkit
- PermissionsEx
- Essentials Chat
- bpermissions
- Any other permission plugins
- mchatsuite
- herochat
- Essentials Chat
- bchatmanager
- Any other chat plugins
Permissions
Node | Function | |
---|---|---|
newtag.set.other | Allow player to set other player's tags | |
newtag.set.own | Allow player to set own tag | |
newtag.clear.other | Allow player to clear other player's tags | |
newtag.clear.own | Allow player to clear own tag | |
newtag.anytag | Allow player to use illegal words in tag | |
newtag.longtag | Allows the setting of tags longer than max_tag_length | |
newtag.* | All of the above | |
newtag.ptag.<tag> | Enables a tag on a player where <tag> is configured in tags.yml |
Commands
/newtag set [tag] - sets a tag on yourself.
/newtag set [tag] (player) - sets a tag on a specific player. He/she does not have to be online.
/newtag clear - clear any newtag you have.
/newtag remove - clear any newtag you have.
/newtag delete - clear any newtag you have.
/newtag clear (player) - clears any newtag a person has. He/she does not have to be online.
newtag aliases: /tag /nt
Useful Suggestions
1. Use Newtag if you want one easy, simple chat plugin.
2. Use the "tag_placeholder" configuration option to set a placeholder to use for tags in other chat plugins. This allows you to have the tag appear anywhere in your formatted chat messages.
3. With the combination of another chat plugin, use Newtag to give multiple tags to people. This will save you the time of creating a long linear list of tag combinations.
4. Want to gain more donations? Use Newtag to help boost donations to your server. Install Newtag and set the money amount to every donator. Whenever a donator speaks, it will show how much they have donated to the server.
5. Newtag can be used to give fun nicknames to players. [Warrior], [Guard], [VIP] are just a few examples.
6. Use Newtag to label who is a staff member on your server. Install Newtag and give the tag: mod or tag: admin.
Official Server with Newtag
If you want to preview the newtag plugin, goto Sky Kingdom Server: 192.210.234.245
If you have any additional questions, you can talk to Jungalist81 or comment here on this project page.
# Tag format. Color codes usable, use %tag% where you would like the tag tag_format: '&a[&f%tag%&a]&r ' # Tag placeholder. Use in conjunction with a chat formatting plugin to # customize the location of the tag. When empty (default), the tag is prepended # to the beginning of chat messages. # Note: if someone enters this placeholder in chat, it will also replaced. Make it hard to guess. tag_placeholder: '' # Maximum length of tag. If set to 0, max length is enabled. If the tag setter # has the permission "newtag.longtag", this is ignored max_tag_length: 0 # Allow tags to have their own color codes allow_tag_colors: true # Disallowed tag content. if any one or more of these words are found # in a tag, the user will be asked to choose a different tag. disallowed_tags: - admin - mod # Strips any special characters from tag. Recommended. (will leave in &) alphanumeric_only: true # Enable tag permissions. Enables tags for players with the # permission "newtag.ptag.<perm>" - permissible tags are configured in # tags.yml enable_permission_tags: true # Enable tab list tag. Will prepend a player's tag to their name in the tab list. # Note that colour codes take up a lot of the 16 characters enable_tab_list_tag: true # Tab list tag format. The tag format to use in the tab list, the total # character limit is currently 16, so be careful with colors tab_list_tag_format: "[%tag%] "
Sorry all for the long period of disappearance. I'm here to fix any outstanding issues, but I'll need testers! Let me know if you'd like to volunteer.
@darq_alder please help me
Exactly how do make the position of the tag at the end of your name? i dont know the tag_placeholder code for it
Still work in 1.12!! amazing!!!!! But tab list got some problem... player's tag got cut out, can't display all of it.
I cant seem to get this plugin to work with BungeeCord/Spigot 1.10 Is there a way to get it to work? It works when holding TAB but it does not show the tag in chat. Not sure if it's the BungeeCord Plugin- BungeeChat or what, but I cannot get it to work. Worked previously on my CraftBukkit server.
Not compatible with pex. Pex just wipes thetag away. Help
Hey, I am using this plugin on my server, and it seems to be working for the purpose it's intended for, except for one annoying thing. No matter what permission group the user in (Group Manager), even if they have no permissions at all for the plugin, they have an annoying [] in front of their name, that I can't get rid of, and wasn't there until after I installed this plugin.
What should be happening, is the user's name should appear like this in chat:
[worldname] - [group] <newtag> <username>: <message>
instead, it is appearing as:
[worldname] - [group] <newtag> []<username>: <message>
And it is bypassing the color code set for the username, and setting the username and the [] to red. The rest of the tags in the format are properly colored.
What is causing this, and how do I get rid of this?
We are running Craftbukkit 1.8.8, and here is the config for newtag, and the formatting for just one of my server groups in EssentialsChat:
NewTag:
Pastebin Link
EssentialsChat:
Greatest plugin ever for titles in my opion.
@OnSceneReporter
Yes but can this work for deleuxe chat?
Does this work with Spigot 1.8?
@Swiffzz
Likely not. That can be done with the permissions.
Anychance of adding a feature:
VERRY! good plugin! i asked for, permission tags and its now added! Best plugin for chat !
@Phasesaber
I don't change the player's name, the tag is inserted into the chat string in the AsyncPlayerChatEvent. See here.
How are you changing the names? I don't recall a Player#setName(String s); method.
Here's a link to the upload that is needing approval: http://dev.bukkit.org/bukkit-plugins/newtag/files/7-new-tag-1-4/ Changelog is contained, since it is not yet approved, download at your own risk.
Update 1.4 has been submitted, awaiting approval.
@kbidds
That option only makes it so colour codes are parsed in the actual tag. Make sure "allow_tag_colors" is set to true in the config.
@pilot3101
Which plugins do you have that format chat?
@oLLyyy @ThSaWNinja
Will be in the next update! Uploading within a couple days.