PlayerPasswords icon

PlayerPasswords -----

Allow Players To Optionally Protect Their Account



[​IMG]
Allow players to protect their accounts.
PlayerPasswords is an easy-to-use authentication plugin for Spigot/Paper servers running Minecraft 1.8 or later. It allows players to optionally set a password that they have to enter before being allowed to do anything on your server. You can also require specific players to have a password with a permission, or force all players to set a password.

Example usage

Features
  • Allow players the option to set passwords.
  • Ability to force specific players to set passwords.
  • Ability to force all players to set passwords.
  • Ability to allow some players to bypass password requirements.
  • Configure commands that can be executed when the player gets the password wrong.
  • MiniMessage support
  • PlaceholderAPI support
  • BetterReload support

Commands
» /pp - Main plugin command.
» /pp info - Shows plugin info.
» /pp support - Shows plugin support links.
» /pp verified - Shows all players logged in.

» /register [password] - Allows a player to register their account.
» /login [password] - Allows a player to log in.

» /password - Show password commands.
» /password enable - Enables password
» /password disable - Disables password (if optional)
» /password set [password] - Sets password.


Permissions

» playerpasswords.required - Makes a player required to have a password.
» playerpasswords.bypass - Allows a player to bypass a required password.
» playerpasswords.enable - Gives access to /password enable
» playerpasswords.disable - Gives access to /password disable
» playerpasswords.set - Gives access to /password set [password]

» playerpasswords.use - Gives access to /password enable, /password disable, and /password set [password]
Note: This is given to everyone by default.


Config

Code (YAML):
#     _____  _                       _____                                    _
#    |  __ \| |                     |  __ \                                  | |
#    | |__) | | __ _ _   _  ___ _ __| |__) |_ _ ___ _____      _____  _ __ __| |___
#    |  ___/| |/ _` | | | |/ _ \ '__|  ___/ _` / __/ __\ \ /\ / / _ \| '__/ _` / __|
#    | |    | | (_| | |_| |  __/ |  | |  | (_| \__ \__ \\ V  V / (_) | | | (_| \__ \
#    |_|    |_|\__,_|\__, |\___|_|  |_|   \__,_|___/___/ \_/\_/ \___/|_|  \__,_|___/
#                     __/ |
#                    |___/
#                                Version ${project.version}

# -----------------------------------------
#                 Theme
# -----------------------------------------

# Theme modifies the colors for all text
# used by the plugin that cannot be modified
# under Messages.

# Default: "<gold>"
color1
: "<gold>"

# Default: "<yellow>"
color2
: "<yellow>"

# Default: "<dark_gray>"
color3
: "<dark_gray>"

# -----------------------------------------
#               Settings
# -----------------------------------------

# This allows players to decide if they want to use a password.
Optional
: true

# This modifies the minimum and maximum character length of a password.
MinimumPasswordLength
: 1
MaximumPasswordLength
: 256

# Require the password to be confirmed before being saved.
RequireConfirmation
: true

# The maximum number of attempts to get the password right the player can have.
# Use -1 for infinite attempts.
MaxAttempts
: 1

# When the player reaches the max attempts, these commands are run.
# Placeholders:
#  - %player% - The player's username.
FailCommands
:
 - kick %player% Incorrect Password!

# Block chat when not logged in.
BlockChat
: true

# Block commands when not logged in.
BlockCommands
: true

# Block interactions with items and blocks while not logged in.
BlockInteract
: true

# Block players from clicking items in their inventory when not logged in.
BlockInventoryClick
: true

# Block item drop when not logged in.
BlockItemDrop
: true

# Block movement when not logged in.
BlockMovement
: true
Code (YAML):
Messages:
  Login
:
    LOGIN_TO_CONTINUE
: "<color1><bold>Login</bold> <color3>» <gray>You must log in to continue! <color2>/login [password]<gray>."
    LOGIN_USAGE
: "<red><bold>Usage</bold> <dark_gray>» <red>/login [password]"
    LOGGED_IN_SUCCESSFULLY
: "<color1><bold>Login</bold> <color3>» <gray>You have logged in successfully."
    ALREADY_LOGGED_IN
: "<red><bold>Error</bold> <dark_gray>» <red>You are already logged in!"
  Register
:
    REGISTER_TO_CONTINUE
: "<color1><bold>Register</bold> <color3>» <gray>You must register to continue! <color2>/register [password]<gray>."
    REGISTER_USAGE
: "<red><bold>Usage</bold> <color3>» <red>/register [password]."
    CONFIRM_REGISTER
: "<color1><bold>Register</bold> <color3>» <gray>Confirm your password with <color2>/register confirm [password]<gray>."
    REGISTER_CONFIRM_USAGE
: "<red><bold>Usage</bold> <color3>» <red>/register confirm [password]."
    ALREADY_REGISTERED
: "<red><bold>Error</bold> <color3>» <red>You are already registered!"
  Password
:
    PASSWORD_ENABLED
: "<color1><bold>Password</bold> <color3>» <gray>You have <green>enabled <gray>password protection."
    PASSWORD_DISABLED
: "<color1><bold>Password</bold> <color3>» <gray>You have <red>disabled <gray>password protection."
    PASSWORD_NOT_ENABLED
: "<color1><bold>Password</bold> <color3>» <gray>Enable your password with <color2>/password enable<gray>."
    PASSWORD_NOT_SET
: "<red><bold>Error</bold> <color3>» <red>You do not have a password set. Set one with /password set [password]."
    PASSWORD_SET_USAGE
: "<red><bold>Usage</bold> <color3>» <red>/password set [password]"
    PASSWORD_SET_SUCCESSFULLY
: "<color1><bold>Password</bold> <color3>» <gray>You have successfully set your password."
    CONFIRM_PASSWORD
: "<color1><bold>Password</bold> <color3>» <gray>Confirm your password with <color2>/password confirm [password]<gray>."
    PASSWORD_CONFIRM_USAGE
: "<red><bold>Usage</bold> <color3>» <gray>/password confirm [password]"
    OPTIONAL_PASSWORD_DISABLED
: "<red><bold>Error</bold> <color3>» <red>Optional Passwords are disabled."
    PASSWORD_OUT_OF_BOUNDS
: "<red><bold>Error</bold> <color3>» <red>Password must be between <white>%minimum% <red>and <white>%maximum% <red>characters long."
    PASSWORD_INCORRECT
: "<red><bold>Error</bold> <color3>» <red>Password Is Incorrect. Try again."
    HELP_PAGE
: |
     <reset>
      <center><color3><st>        </st> <color1><bold>Passwords <color3><st>        </st>
      <reset>
      <color3>  » <color1>/password enable <color3>- <color2>Enables Your Password
      <color3>  » <color1>/password disable <color3>- <color2>Disables Your Password
      <color3>  » <color1>/password set [password] <color3>- <color2>Changes Your Password
      <reset>

  Misc
:
    NO_PERMISSION
: "<red><bold>Error</bold> <color3>» <red>You do not have permission to do that."
    NOT_A_PLAYER
: "<red><bold>Error</bold> <color3>» <red>Only players can use that command."
    PLAYER_DOES_NOT_EXIST
: "<red><bold>Error</bold> <color3>» <red>That player does not exist!"
    MUST_BE_LOGGED_IN
: "<red><bold>Error</bold> <color3>» <red>You must be logged in to do that."
    CONFIG_RELOADED
: "<color1><bold>PlayerPasswords</bold> <color3>» <green>Configuration has been reloaded!"
    PASSWORD_RESET
: "<color1><bold>PlayerPasswords</bold> <color3>» <green>Password has been reset successfully!"
    PASSWORD_RESET_USAGE
: "<red><bold>Usage</bold> <color3>» <red>/password reset [player]"


bStats

This plugin uses bStats for statistics tracking. This information is completely anonymous and can be found here: https://bstats.org/plugin/bukkit/PlayerPasswords
If you wish for your server to not be included, To go plugins --> bStats --> config.yml and change the "enabled" value from true to false.


[​IMG]
Resource Information
Author:
----------
Total Downloads: 776
First Release: Aug 19, 2019
Last Update: Feb 26, 2025
Category: ---------------
All-Time Rating:
2 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings