/nick Plugin

Discussion in 'Plugin Requests' started by TedTheGamerYT, Sep 27, 2015.

Thread Status:
Not open for further replies.
  1. Offline

    TedTheGamerYT

    A plugin that allows regular members to use /nick. Now, the reason I don't want users to have access to the essentials nick, is because you can do things like multiple colors, underlines, magic, which I don't want in chat. Here's how I want the plugin to work:
    Players (with permissions) and type /nickname (nickname) (color)
    The color part can be replaced by either a color code, or an actual color name, and the nickname part would be the nickname they want. The first 3 letters of the nickname HAVE to match the first 3 letters of their original IGN and there will be a max amount of characters can be configured.

    Config:
    maxCharacters: 15
    blockedColors:
    - &1
    - &4
    - &0
    blockedColorReplacement: &7

    Permissions:
    nickname.allow

    Color List:
    Basically if a user types /nickname and puts in a color here are what color names match the codes:
    Black - &0
    DarkBlue - &1
    Green - &2
    Cyan - &3
    DarkRed - &4
    Purple - &5
    Gold - &6
    LightGray - &7
    Gray - &8
    Blue - &9
    Lime - &a
    LightBlue - &b
    Red - &c
    Pink - &d
    Yellow - &e
    White - &f

    Players cannot change nicknames of other players
    /nickname should overwrite the essentials /nickname
     
  2. Offline

    Pocketkid2

    Last edited by a moderator: Sep 27, 2015
  3. Offline

    Chromify

    This can easily done with ChatColor.
     
  4. Offline

    Boomer

    Now, the reason I don't want users to have access to the essentials nick, is because you can do things like multiple colors, underlines, magic, which I don't want in chat

    Its called permission nodes. You can grant and remove such nodes to limit those behaviors of it.
     
  5. Offline

    TedTheGamerYT

    The first 3 letters of the nickname HAVE to match the first 3 letters of their original IGN and there will be a max amount of characters can be configured.

    Thank you both, I'll try both of these
     
Thread Status:
Not open for further replies.

Share This Page