HomeJavaModsPasswordProtect
PasswordProtect
Java 8 or newer is required for this plugin!
Current version
v3.1.0

Description

This CraftBukkit plugin aims to offer a simple server password which is the same for all users.
THIS IS NOT A PLUGIN FOR A USER SPECIFIC PASSWORD
Without logging in the user is jailed in a pre-defined cuboid and ported back once he leaves the jail area.
You can define jail areas for each world and configure which actions like block breaking, chatting or flying should be disabled.
There is an additional ability to allow certain commands or to auto-kick or auto-ban a user after X failed attempts.
This plugin is a rebirth of PasswordProtect
Additionally I migrated some features of mPasswordProtector into PasswordProtect (auto kick and ban).

Features
Third party features, all of them can be disabled
Please take a look at the detailed information about bStats below!
Config

Code (Text):
# For help please refer to https://dev.bukkit.org/projects/passwordprotect
# Which hash should be used? Example: SHA-256 or SHA-512
hash: SHA-512
# Are ops forced, to enter the password, too?
opsRequirePassword: true
# Should the jail area be disabled?
disableJailArea: false
# Should the password be stored in clean (plain) text?
cleanPassword: false
password: ''
passwordClean: ''
autoUpdater: true
# What events should be prevented?
prevent:
  movement: true
  interaction: true
  interactionMobs: true
  itemPickup: true
  itemDrop: true
  portal: true
  blockPlace: true
  blockBreak: true
  # Players won't be triggered by mobs anymore
  triggering: true
  attacks: true
  damage: true
  chat: true
# After how many attempts should a player be kicked or banned
wrongAttempts:
  kick: 3
  ban: 5
  banIP: true
# Broadcast messages when a player is kicked or banned?
broadcast:
  kick: true
  ban: true
# Make the players slow and add darkness effects?
darkness: true
slowness: true
# These commands are available, even without logging in
allowedCommands:
- help
- rules
- motd
# Teleport back to the location they left?
teleportBack: true
# Show the message that a password is required
loginMessage: true
Commands & Permissions

If the config value permission is set to false, all people can use the commands!
If no permission system is found, all commands are for OPs only! Of course the console can use the commands, too!

Node: passwordprotect.nopassword
Description: Bypass the login password

/password
Node: passwordprotect.getpassword

Description: Allows you to get the password

/setpassword <password>
Node: passwordprotect.setpassword

Description: Allows you to set the password

/setjaillocation <radius>
Aliases: /setjail, /setjailarea, /setpasswordjail
Node: passwordprotect.setjailarea

Description: Allows you to set the jail area

/login <password>
Node: No permission node

Description: Used to login.

Of course you can use passwordprotect.*
But passwordprotect.nopassword is excluded!

Downloads/Source Code/Dev Builds

[​IMG] (Latest dev builds/bleeding edge builds) - - Dev builds from Jenkins
[​IMG] (Source code hosted on GitHub) - - Source Code

Future Plans (a.k.a. ToDo):
Known Bugs
Changelog

Version 3.1.0
Version 3.0.1
Long changelog

Credits

@ DisabledHamster for his original plugin! :)
@ muHum for mPasswordProtector

Banner

Feel free to use this banner!! :)
[​IMG]
[​IMG]

Statistics (from bStats)

[​IMG]

Donations

I worked really hard on this plugin and I'm very happy about any donation.
Support me & buy me some beer, this makes me happy and keeps me interested in this plugin.
Donation chain: -> I receive some money -> Buy coffee -> Work longer -> Faster Updates -> Your benefit!

[​IMG]

I'm accepting bitcoins, too! :)
[​IMG]
1NnrRgdy7CfiYN63vKHiypSi3MSctCP55C

License

This plugin is released under the MIT license!​

Information about the data usage collection bStats

Disabling bStats
The file ../plugins/bStats/config.yml contains an option to opt-out.

The following data is read and sent to https://bstats.org and can be seen under https://bstats.org/plugin/bukkit/PasswordProtect

[​IMG]

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

PasswordProtect is a free Minecraft Java mod. Compatible with Minecraft 1.13, 1.14, 1.15, 1.16 and newer. Downloaded 747 times (via Spigot). Download it and open it directly in the game.

Explore more