- Home
- Downloads
-
Addons & Mods
Featured
World of Warcraft
6,110 Addons
-
Popular Downloads
- Top World of Warcraft Addons
- Top Minecraft Server Mods
- Top Rift Addons
- Top Skyrim Mods
- Top World of Tanks Skins
- Top StarCraft II Maps
- Top Terraria Maps
- Top Runes of Magic Addons
- Top Warhammer Online Addons
- Top The Secret World Mods
- Top Age of Conan Addons
-
- Curse Client
- Premium
- News
- Giveaways
- Forums
- Store
DBPassword
- 0 Likes
- Minecraft
- 135 Monthly Downloads
- Supports: CB 1.4.6-R0.3
- 8,805 Total Downloads
- Updated 09/25/2012
- Created 09/14/2011
- 0 Favorites
- Project Site
- Comments
- Release Type: Release
- License: GNU General Public License version 3 (GPLv3)
- Newest File: DBPassword v0.8
About DBPassword
DBPassword v0.7 by Chausser
Description:
This plugin is meant to allow players on your server to setup a password and have it save to a MySQL database. This is my first ever java project as well as my first Bukkit Plugin. This plugin was largly inspired by Noneofyourbusiness and his Password plugin.
How I use this plugin: On my server (mcserver.nkings.com) all users that join the server are added to the users database with a random password. They have to set their password in game using this plugin before they can access the members section to the website.
The password function works like this: hash(salt+password);
For example if you are using the MD5 hash and a salt of "MyS@LT" and its given a password of "password" the funtion would be: MD5(MyS@LTpassword) = 364a711788b4dff21173f96181e13019
If you do not want to use a salt for your passwords you just want to hash them you can just set the salt in the config file to: ""
Features
- Fully Configurable Database connection info including:
- Host Address
- Host Port
- Database Name
- Database Table Name
- Database Username
- Database Password
- Ability to customize the column names for the table:
- id
- username
- password
- salt
- As well as support for both many encryption types:
- MD5
- SHA-1
- SHA-256
- SHA-384
- SHA-512
- All with an optional security salt(dynamically generated or pre defined)
Installation
- Download and copy the plugin jar to your plugins folder
- Start your server, this will build the default config file
- Stop your server, Update all config settings to your liking.
- Start your server again, and you should be good to go.
Upgrading From A Previous Version
- You will need to back up your config file and let the plugin generate a new one. The latest version has almost a complete reworking of the config file
- Once the plugin has generated the new config file and you have updated the settings you should be good to go again.
Permission
Optionally only allow users with a certain permission node to set/update their passwords
- dbp.*
- dbp.set
- dbp.update
- dbp.reload
Commands
- /dbp set <password> - set your password
- /dbp update <password> - updates your password
- /dbp reload - reloads the configuration without the need to restart the server.
Known Issues
- Setting the column names in the config after the database table has been generated will not update the database table automatically. If you want to use this option you will need to update the table manually.
Change Log
- v0.8 - Added the ability to customize the column names of the table.
- v0.7 - Added a lot of new features including, dynamic salt generating, the ability to save that salt to a defined field in the database. Tested for 1.2.3-R0.1 and 1.1-R6/7
- v0.6 - Updated for CB1.1-R4 - Added more hash types, cleaned up the sql statements, switch permissions to superperms only
- v0.5 - Updated for RB 1317 - Some major command restructuring. Hopefully fixed issue where passwords were not getting hashed correctly.
- v0.4 - Updated for RB 1240 - Added support for SuperPerms
- v0.3 - Changed the default config values so that they dont use the single and double quotes.
- v0.2 - Fixed the port issue. Added better permission support. Restructured the command a little bit. Added a reload command so you don't have to reboot the server to change settings
- v0.1 - Initial Release
- Tested against Latest CB Build 1.4.6-R0.3
- Added the ability to configure the column names for the database table per user request
New Configuration Options:
custom_columns_for_table:
id: 'id'
username: 'username'
password: 'password'
salt: 'salt'
These will allow you to customize the names of the columns that the table uses.
| File Name | Release Type | Game Version | Downloads | Date |
|---|---|---|---|---|
| DBPassword v0.8 | Release | CB 1.4.6-R0.3 | 2,158 | 09/25/2012 |
| DBPassword v0.7 | Release | CB 1.2.5-R4.0 | 4,400 | 03/07/2012 |
| DBPassword v0.6 | Release | CB 1.1-R4 | 350 | 02/24/2012 |
| DBPassword v0.5 | Release | CB 1317 | 1,409 | 10/18/2011 |
| DBPassword v0.4 | Release | CB 1240 | 164 | 10/04/2011 |
| DBPassword v0.3 | Release | CB 1185 | 985 | 09/26/2011 |
| DBPassword v0.2 | Release | CB 1185 | 134 | 09/23/2011 |
| DBPassword v0.1 | Release | CB 1060 | 164 | 09/14/2011 |
Top Downloads
-
- WorldEdit
- Admin Tools, Anti-Griefing Tools, Informational, Teleportation, and World Editing and Management
- 191,919 Monthly Downloads
-
- Essentials
- Admin Tools, Chat Related, Teleportation, Economy, and General
- 150,981 Monthly Downloads
-
- WorldGuard
- Admin Tools, World Editing and Management, Fixes, General, and Anti-Griefing Tools
- 86,117 Monthly Downloads
-
- ClearLagg
- World Editing and Management and Admin Tools
- 69,272 Monthly Downloads
-
- Vault
- Admin Tools, Developer Tools, Mechanics, and Economy
- 60,844 Monthly Downloads

Comments
after looking at the code, I am dissapointed :(
do you think you will ever add variable column names? the system I use does not allow me to alter them :/
How do you change column names?
hwD