main/Changelog

Version 3.4.0

Added support for usernames containing spaces.
Removed pesky "does not return resultset" messages.
Removed CubeList support.

Version 3.3.1

Fixed an issue where OKB3 would break if the database name contained a "_".

Version 3.3.0

Added dedicated MySQL port field in config.
Improved command performance.
Changed MySQL/SQLite library to PatPeter's Library.
"group-mapping.worlds" is now an optional key.

Version 3.2.7

Fixed a bug that caused /Frank not to work in normal mode.
I don't remember what 3.2.6 was, but I did change something. I think.

Version 3.2.5

Modified bPermissions group changing method to use the setGroup() method. OKB3 now requires atleast bPermissions v1.4.1.

Version 3.2.4

Github: Modified priority on JOIN event to allow other plugins to change the join message. @Kalman Olah

Version 3.2.3

Fixed a missing space in the console message "Gave <name> <amount> coins for <xx> posts.". Thanks @Asphodan . 

Version 3.2.2

I've simplified the permissions check. I used to be pretty bad from the looks of this old code.

Version 3.2.1

Nickname sync fix, provided by @jchamb2010. Thanks!

Version 3.2.0

Most, if not all commands can now be used from the console.

Version 3.1.6

Promotes, demotes, forced syncs and rank changes now correctly check if the target is online before proceeding.

Version 3.1.5

Fixed issue with nicknames accepting null & empty nicknames. Thanks jchamb2010!    

Version 3.1.4

Now using the improved configuration API. You may notice some whitespace at the top of your config. This is a low-priority issue.

Version 3.1.3

Minor update to permissions check.
Added suppresswarnings("deprecation") because the new bukkit configuration API is bad.

Version 3.1.2

Fixed bug with promotion/demotion permissions nodes.

Version 3.1.1

Fixed SetRankPB bug.

Version 3.1.0

Added support for permsbukkit using SetRankPB.

Version 3.0.3

Fixed a small issue where OKB3 would not horribly devastate your groups if one of the groups you had was your correct forum group.

Version 3.0.2

Fixed an issue where the newer Register API would cause errors due to a dusplicate package name being used in other OKSuite plugins.

Version 3.0.1

Added support for new versions of currency plugins using a newer Register API.

Version 3.0.0

Moved to BukkitDev & GitHub.
Added post count rewarding.
Reworked entire plugin. Twice the speed and stability.
Bunch of other things.

Version 2.5.18

Added support for bPermissions.

Version 2.5.17

OKB3 does not alter the join message anymore. This is to make sure users of both OKChat and OKB3 have no issues, since I'm adding custom join/leave/kick messages to OKChat.

Version 2.5.16

Attempted fix of a timeout issue.

Version 2.5.15

null, "null" and "" are now no longer accepted as nickname values.

Version 2.5.14

Temporary fix for EssentialsChat errors.

Version 2.5.13

Added back support for GroupManager. Hopefully it actually works.

Version 2.5.12

Added quit message removal to the PLAYER_KICK event. This should fix an issue where the quit message was still showing when a player wasn't whitelisted, or was banned.

Version 2.5.11

Auto-updater bugfix.

Version 2.5.10

Fixed errors being throw when a permissions plugin wasn't present.

Version 2.5.9

Added a new Permissions node: bbb.hide. This hide your join messages from other players.

Version 2.5.8

Fixed a bug that caused OKB3 to break if you were using the Permissions support thingy with PermissionsEx. Thanks to @Asphodan .

Version 2.5.7

Fixed all issues related to errors about SQL queries not returning ResultSets. Thanks to @austech360

Version 2.5.6

Added a config.yml value "mysql-ping-interval" which allows you to set the mysql keepalive ping interval in seconds. Enjoy.

Version 2.5.5

Fixed quit messages still displaying when blacklisted/banned users tried to connect.

Version 2.5.4

Fixed a bug where a player teleporting to a new world wouldn't get his ranks updated the first time.
Fixed an issue with login/quit messages displaying when blacklisted/banned users tried to connect. This has been solved by simply removing all login messages, and adding them back where the user isn't banned/whitelisted.

Version 2.5.3

Fixed a bug with syncing on login with the whitelist turned off.

Version 2.5.2

The teleport event checks now only happen when the destination world and starting world aren't the same.

Version 2.5.1

Bulletin Board Bridge now performs a dummy SQL query every 15 seconds, to keep the MySQL connection alive. In the server log, this is marked by "Pinged MySQL server.".

Version 2.5.0

Whitelist checks now happen in a seperate thread.
Ban checks now happen in a seperate thread.
Teleport checks now happen in a seperate thread.
All of the above should solve any performance issues people have been having.(Those to do with lag on login, at least)
Added a connection check to the start of every query. This "should" fix issues with MySQL timeouts.
Fixed a bug where the whitelist wouldn't work if the 'is-server-ban-too' value was set to "true" in the config.Yml.
Improved some of the console messages.

Version 2.4.0

Bulletin Board Bridge now stores player data in an SQLite Database. The same goes for bans. This should hopefully help with the performance issues some users have been experiencing.
The /fban, /funban and /bbb reload commands are now usable from the console... Because unbanning myself after testing the /fban command is a little hard when it's stored in a SQLite db...

Version 2.3.4

Various minor performance fixes. These probably won't afffect performance, funnily enough.
The /fpromote and /fdemote commands now require custom Permissions nodes to work. Let's say this is your promotion track:
Code:

'1': Banned
'2': Default
'3': Member
'4': Builder
'5': Guardian    
'6': Moderator
'7': Admin
'8': Owner
If someone wants to promote someone to "Builder", he will need the bbb.promote.4 Permissions node. If someone wants to demote someone to "Builder", he will need the bbb.demote.4 Permissions node. If someone wants to promote a Builder all the way to Admin, they'd need the bbb.promote.5, bbb.promote.6, bbb.promote.7, bbb.promote.8 Permissions nodes.
This does not affect /frank.

Version 2.3.3

Added support for PermissionsEx.

Version 2.3.2

Minor config.yml bug fixed. You'll probably want to remake your config.yml.

Version 2.3.1

Minor bugfix to fix issues when the auto-updater can't connect to the update server.

Version 2.3.0

Added the /frank <name> <rank> command. This command allows you to change a user's forum rank. Permissions node: bbb.rank
New config.yml values for the /frank command: 'forum-ranks'. These must be filled in in the format 'RankName': 'Rank ID' in order for you to be able to change a player's rank. If these rank IDs are also mapped in 'world-groups', the player whose rank you are changing will have his rank updated too.

Version 2.2.1

Fixed the promotion track.

Version 2.2.0

/fban now notifies you if the player you're trying to ban is already banned.
/funban now notifies you if the player you're trying to unban isn't banned.
Fixed a bug that was causing the "essentialschat hook" message to be displayed, even though EssentialsChat wasn't present.
Added an option to cause /fban bans and /funban unbans to only affect the forum, and not the server. (is-server-ban-too in config.yml)
Added linked promotion/demotion tracks. These will only work if multiworld groups are OFF.
Added /fpromote command. This command promotes a player on the server and the forums. Permissions node: bbb.promote
Added /fdemote command. This command demotes a player on the server and the forums. Permissions node: bbb.demote

Version 2.1.7

Bans are now saved to BanFile.yml instead of bbbbans.txt.
Banned users will see the 'ban-message' value from config.yml if they try to log in, if they were banned without a specific reason.
If a specific reason is provided when a user is banned(/fban <name> <reason>), that user will see his ban reason upon trying to log in instead.

Version 2.1.6

Temporary fix that tries to reconnect to the MySQL database on timeout.

Version 2.1.5

/fban now accepts a ban reason.

Version 2.1.4

Support has been added for bbPress(standalone edition). Set 'forum' in config.yml to 'bbpress' and fill in 'type2'.

Version 2.1.3

Made final changes to the auto-updater.

Version 2.1.2

Updated the auto-updater.

Version 2.1.1

Some bugfixes, downloading this version is HIGHLY suggested.

Version 2.1.0

Removed multiworld whitelisting support. This functionality has been improved and moved to RealmRestrict.
Added an auto-updater that will download newer versions of OKB3 to /plugins/OKB3/update/
Added a /bbb reload command, Permissions node: bbb.reload

Version 2.0.10

Added EssentialsChat support for nickname syncing; Thanks to @jchamb2010

Version 2.0.9

Minor bugfixes.

Version 2.0.8

Small performance & logging improvements.
OKB3 now shuts down if no connection could be made to the database, if the configuration file could not be created/loaded, or if the playerlist file could not be created/loaded.
Fix for possible Kunena bug in normal mode.
Fixed some old-school mode bugs.

Version 2.0.7

Fixed an issue with nickname syncing. Thanks to @jchamb2010

Version 2.0.6

Fixed a bug that caused errors when a user had global groups instead of world-specific groups.

Version 2.0.5

Added support for Vanilla forums to normal mode. This requires the passgen.php, and requires you to fill in 'vanilla' as 'forum' in config.yml, as well as to fill in type2 in config.yml.

Version 2.0.4

Bugfixes.
Players that somehow end up in worlds where they are not whitelisted will now be teleported to the spawn location of the main world set in config.yml. e.g.: A player has access to world2, he logs out, he gets demoted and no longer has access, he logs back in, he gets teleported to world1's spawn.

Version 2.0.3

Minor bugfixes
New config.yml value: If multiworld whitelisting is turned on, fill in 'main-world-name'. Anyone will be able to join this world(if they're allowed to join your server through the global whitelist.

Version 2.0.2

Fixed a bug where the whitelist message would show up instead of the ban message when a user was banned.

Version 2.0.1

Minor bugfixes.

Version 2.0.0

Command rework: /bbb sync -> /sync | /bbb resync -> /resync | /bbb force -> /fsync | /bbb forceall -> /fsyncall
Optimized config.yml
Multiworld groups: OKB3 can have one forum rank translate into different permissions groups based on the world you're in
Automated rank updates on teleport: OKB3 will try to update your rank when you teleport, so that you don't have to use /sync whenever you change worlds
Global whitelisting: OKB3 can control access to the server based on forum ranks.
Multiworld whitelisting: OKB3 can whitelist a forum rank on some worlds, but blacklist it on others.
Added a banning/unbanning system that bans/unbans users from both the forum and the minecraft server: /fban (permissions node bbb.ban) | /funban (permissions node bbb.unban). Banned players are stored in a file called bbbbans.txt in the main server directory.
No need for a passgen.php, except when using phpBB or a custom encryption
Support for a custom encryption type! More on this below
Improved the general look of some of the text
Various performance improvements

Version 1.3.1

Minor bugfixes related to Kunena/XenForo error reporting.

Version 1.3.0

Fixed the plugin author displaying incorrectly on startup.
Fixed the plugin author displaying incorrectly in the "/bbb v, /bbb ver" command.
Fixed the /bbb resync command not appearing in the help menu in normal mode.
Added the /bbb forceall command. This works like the /bbb force <name> command, but /bbb forceall syncs all online users.
Permission node: bbb.forceall
The "/bbb, /bbb ?, /bbb help" help menu now shows the /bbb force and /bbb forceall commands, should you have the appropriate permissions.
Cleaned up the overall code a whole lot. Seriously.
Removed the password checks from the whitelisting feature in normal mode. This should make sure a blacklisted player stays blacklisted, even if he should change his forum password.

Version 1.2.2

Temporary fix for some issues with error messages.

Version 1.2.1

Fixed the permission check for GroupManager.

Version 1.2.0

Added the /bbb force command. This allows you to force an update of someone's ranks. Permission node: bbb.force.

Version 1.1.0

Added nickname sync support.

Version 1.0.1

Added proper Permissions 3.x.x support. Thanks to @silthus .

Version 1.0.0

Added Permissions 3.x.x support. This is not proper Permissions 3 support, as they have no proper documentation... When using Permissions, Bulletin Board Bridge WILL delete your user from the users.yml file, and will add you again afterwards. For this reason it is best not to have any permissions/prefixes for specific users for now.

Version 0.3.14

Various bugfixes for the normal mode, specifically issues with kunena/XenForo forums.

Version 0.3.13

Various bugfixes.
Added whitelist/blacklist support to normal mode. This is useful for blacklisting players that get banned from your server after they've already played there for a while.
Added an option to use the whitelist as a blacklist. Setting "use-as-blacklist" to true will cause forum ranks that aren't mentioned in the config.yml to be allowed to join the server, while setting it to false will cause forum ranks that aren't mentioned in the config.yml to be kicked from the server.

Version 0.3.12

Added support for Kunena boards to normal mode.

Version 0.3.11

Changed the RegEx function that I use to fetch salt values from a serialized array for XenForo forums. Thanks to @NeatMonster for helping me test my plugin fixes on his amazing server at http://craftisland.no-ip.org.

Version 0.3.10

Fixed a serious issue with a loop I use in my XenForo forums encrypted password checks that caused the server log/chat to be spammed with error messages. Shoutout to @NeatMonster for helping me fix this.

Version 0.3.9

Hardcoded content type: text/plain into passgen.php.
Fixed an issue with the passgen.php file returning a blank page on several linux distros.

Version 0.3.8

Added support for IPB to normal mode.
Added support for WoltLab Burning Board to normal mode.

Version 0.3.7

Various bugfixes.

Version 0.3.6

Various bugfixes.

Version 0.3.5

Various bugfixes.

Version 0.3.4

Added proper support for XenForo to normal mode.
Made config.yml a bit more user friendly.
Moved Login checks to their own class files.
Cleaned up code, plugin should be faster and more ligthweight.
Ate a sandwich.

Version 0.3.3

Added support for XenForo to normal mode.

Version 0.3.2

Added support for myBB to normal mode.

Version 0.3.1

Improved logging a bit.

Version 0.3

Added two modes: old-school mode and normal mode:
    Normal mode is the mode that requires players to "log in" to the forum through minecraft the first time they update their GroupManager group based on their forum rank.
    Old-school mode does not require players to "log in", and automatically updates their GroupManager group based on their forum rank by linking a field in the MySQL database containing a minecraft username to a forum account.
Added whitelist/blacklist feature to old-school-mode that allows you to specify forum ranks that are whitelisted/blacklisted on the server.
Added custom kick message to the whitelist/blacklist feature.
Added support for vBulletin boards in normal mode.
Cleaned up code.

Version 0.2.1

Added support for SMF forums. Should work, haven't tested it yet.
Added ability to set "encryption type of password" to 3 in config.yml, for SMF encryption. (currently 1 is MD5, 2 is for phpBB3, and 3 is for SMF).
Added '$sqlprefix = 'prefix_'; value in config.inc.php in /webfiles/. If my users table was called phpbb_users, I'd set this to 'phpbb_'. This value can be set to '$sqlprefix = '';' if my table was just called 'users'.

Version 0.2

Cleaned up the code.
Removed commented out code.
OKB3 now saves a player's forum username/encrypted forum password in plugins/OKB3/PlayerList.yml when that player uses the /bbb sync command successfully.
OKB3 now attempts to update a player's GroupManager rank automatically on login, provided they have a valid forum username/encrypted forum password in plugins/OKB3/PlayerList.yml.

Version 0.1

Initial release.