MrBlue
Allows players with permission to instantly rename other players or themselves

Supported Games
GameServerKingsGameServerKings

Rename allows players with permission to instantly rename other players or themselves, and keep them with that name if the "Persistence for renames" option is set. Names can be reset with the resetname command.

Permissions

  • rename.others -- Allows player to rename other players
  • rename.self -- Allows player to rename self

Commands

  • rename <name or id> [new name] -- Change player's name to new name (new name only needed if renaming self)
  • resetname [name or id] -- Reset player's name to original name (name or id only for renaming other players)

Configuration

{
  "Notify player of rename": true,
  "Persistence for renames": true,
  "Prevent admin renames": true
}

Localization

{
  "CommandRename": "rename",
  "CommandResetName": "resetname",
  "CommandUsageRename": "Usage: {0} <name or id> [new name] (new name only if renaming self)",
  "CommandUsageReset": "Usage: {0} [name or id] (optional if resetting self)",
  "NotAllowed": "You are not allowed to use the '{0}' command",
  "PlayerIsAdmin": "{0} is admin and cannot be renamed",
  "PlayerNameReset": "{0}'s name reset to {1}",
  "PlayerNotFound": "{0} was not found",
  "PlayerNotRenamed": "{0} is not renamed",
  "PlayerRenamed": "{0} was renamed to {1}",
  "YouWereRenamed": "You were renamed to {0}",
  "YourNameReset": "Your name was reset to {0}"
}

MIT License, with distribution exclusivity for uMod.org


Copyright (c) 2020 Wulf


Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:


The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.


THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.