How to get a tag besides your name? What if I want a tag besides my name. Example: [I'mDragons] NubPro: Blah... I know there is a way to code this but I need help with it. Eg: /tag I'mDragons In Game: [I'mDragons]NubPro If without a .txt file is possible? Could anyone help me? @CaiusTSM Any idea? Sorry for disturbing you. EDIT by Moderator: merged posts, please use the edit button instead of double posting.
If you want, just change the tag in permissions, putting [Tag] in the prefix. Or use a clan based plugin. You won't need to modify any ymls, except the configuration. Try http://forums.bukkit.org/threads/me...zation-optional-area-defenses-more-860.19904/ Warning, it has conflicts with some important plugins like iChat (Chat Related, set use-chat-tags: false or disable iChat) HeroicChat (Chat Related, set use-chat-tags: false) Essentials (Not sure why, probably multiple reasons) War (uses /team)
How I understand your question is how to add a tag to a player through a command. You could have a hashmap of players, and strings. Then add a player to that hashmap when a player says /tag; add a string that is the first argument. Then in the chat event, when a player said something search through the hashmap for that player and then add the tag on front of what he said.
I'm not looking for plugins. @CaiusTSM you understand me better. What if I don't want it to be saved? EG: /tag noob Hi Preview: [Noob]: Hi without player name? EDIT by Moderator: merged posts, please use the edit button instead of double posting.