Anti Name Change

Discussion in 'Archived: Plugin Requests' started by Nickbbeezy, Apr 8, 2014.

  1. Offline

    Nickbbeezy

    Plugin category: Admin Tools

    Suggested name: Name Protect

    What I want: I'd like to see a plugin that saved players uuids & their initial player names when they first joined the server with the plugin installed, if the player changes their name, it checks it against the initial name and kicks them if it's different.

    Just something for those who are not ready to support the name changing feature when it's released.

    Ideas for commands:

    /nameprotect, /np - Show plugin information (Author, version, plugin link, etc?

    /nameprotect set [message] - Set the kick message the server sends to the player when kicked

    Ideas for permissions: nameprotect.use - Needed to use any NP commands
     
  2. Offline

    Derpiee

    I can do this in an hour or two.
     
  3. Offline

    FerusGrim

    I just finished this a moment ago.

    Source
    Download


    This is also on BukkitDev, though is awaiting approval.
    UniqueAgain


    EDIT: Wait around for the How-To. Forgot to post it. I'll update this when I'm done.

    Nickbbeezy

    Command: /uniqueagain [ua, unique_again, unique, uagain]

    You can toggle the settings.
    /ua toggle use : Will toggle whether or not this plugin is active.
    /ua toggle admin : Will toggle whether or not admins are notified when a player is disallowed.
    /ua toggle console : Will toggle whether or not the console is notified when a player is disallowed.

    You can also, as requested, toggle the messages.
    /ua set admin : Modifies what admins see when a player is disconnected.
    /ua set player : Modifies what players see when they're disconnected.
    {oldname}, {newname}, and {uuid} are obvious variables.

    If, for whatever reason, you don't like the message you've set, you can type:
    /ua set [admin/player] default : Will set the message back to its default setting.


    The only permission this plugin uses is:
    uniqueagain.admin

    This grants permission to access all of the commands, as well as will allow the player to be notified when a player is disallowed (if that's set in the config).


    Hope you enjoy!

    Oh, and I almost forgot, of course:
    /ua reload : Will reload the configuration, only.

    If you want to do a bit of a hardier reload, and disable then re-enable the plugin, you can:
    /ua reload plugin : Reloads plugin via onDisable(); onEnable();

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: Jun 7, 2016

Share This Page