misc/Changelog
Changelog
Version 1.3.4
- Added turn timers
- /table set turnSeconds 60 - This will set the player turn timer to 60 seconds (configurable)
- After this time if the player has not acted, the plugin will:
- If playing poker, attempt to check or otherwise fold
- If playing blackjack, stay on your current score
- Set to 0 to disable turn timer (no time limit)
- Fixed a bug where players leaving the game would not cause it to end properly
- Made a few adjustments here and there to make output less crammed
- Blackjack tables can now be owned by the server
- To enable this, set the owner field of your table (in tables.yml) to '' (two single-apostrophes, represents blank text)
- Dealer earnings from BJ games will then simply disappear into thin air (essentially giving them to the server)
- Merged the /cards and /table commands
- I think this has always confused people, and I now realise that it really isn't necessary
- All /cards commands are now /table commands
- /cards is now simply an alias for /table
Version 1.3.3
- Re-enabled metrics (I accidentally disabled them last update..)
Version 1.3.2
- Compiled for Bukkit 1.7.2-R0.3
Version 1.3.1
- chatRange config setting removed
- publicChatRange general table setting added (integer)
- 0 = messages will not be displayed publicly (to spectators), only table players will receive messages
- Anything bigger than 0 will specify the range (in blocks) at which spectators around the table should receive messages
- Table players will now receive messages regardless of location
Version 1.3
- Added support for Bukkit 1.6.4
- Added the long awaited Automatic Hand Evaluation. This means:
- Winners are automatically paid at the end of Poker games
- /poker pay removed
- Hand ranks are automatically displayed at /poker reveal
- New auto-start table setting for both Poker and Blackjack
- Defines the value, in seconds, after which a new round should start (once the previous one is over)
- In terms of Poker, as soon as everyone reveals and the winner is paid, the timer starts right away
- In terms of Blackjack, as soon as at least one person places a bet, the timer starts
- Set this to 0 to turn off auto-start and start rounds manually using /table start
- In addition to the Automatic Hand Evaluation, this makes poker games much smoother and more enjoyable
- New saving system
- Due to Automatic Hand Evalution, it is no longer necessary for the owner to be present at their table
- Players can now make their tables and own multiple ones at once, and other players will be able to play without the owner present
- Table owners can now save their tables (/table save), which will be recreated as soon as the server starts/next plugin reload
- Table owners can /table unsave to no longer keep their tables permament
- Saved tables are stored in a new config file, "tables.yml", which saves the owner, location, and settings
- serverDealer and serverNeverDealer removed to avoid confusion
- This means Blackjack table owners can no longer play at their own tables, as they are always the dealer
- Added /table relocate which simply changes the table location to wherever you're standing
- Improved readability of maps by making text larger and white
- Added Metrics support for anonymous statistic reports
- Fixed plenty of bugs, errors and Null Pointer Exceptions
Version 1.2.9
- Fixed a rare Null Pointer Exception on /table start or /table delete, related to offline players
Version 1.2.8
- Changed bet handling in blackjack, the dealer now gets the bet as soon as the player bets instead of at the end of the game
- This may have fixed a bug or two with incorrect payouts, although unsure
- Added "UltimateCards vX.X.X by Norbo11" message at the end of command listings (through /poker help, /bj help etc)
Version 1.2.7
- Compiled with beta build 1.4.2-R0.2
- Fixed being unable to delete tables even though all pots were paid
- Fixed the button not moving properly
- Removed some debug info from spamming the console
- Made maps jump into the first slot in your hotbar (if the slot is occupied, the item will be moved to an empty slot in your inventory)
Version 1.2.6
- Made the "Sorry, the server cannot the be the dealer!" message display just to the owner, and not publicly
- Made eliminated players no longer show on poker maps
- Fixed a typo in during /cards leave usage message
- Fixed being able to delete the table while it is in progress
- Fixed being able to start new hands without paying all players
- Fixed a rare case where tables could have matching IDs
- Fixed eliminated players still taking part in hands
- Added a little red indicator the top right of player statuses, showing that the player is on the button
- Added a "cleanupOnDisable" option in the config.yml, which decides if the plugin should delete all tables, return money, and remove all maps when it is disabled
Version 1.2.5
- Fixed /cards withdraw not showing a usage message on invalid arguments
- Fixed performing commands showing "Invalid Command" message when you don't have permissions
- Fixed leaving the table in the middle of playing screwing up the game for everyone
Version 1.2.4
- Removed debug info from spamming the console, since I forgot to do it with last update
- Fixed an NPE on /table delete
Version 1.2.3
- Completely re-worked the betting/calling/raising/all-in system (plugin wise, user-wise should not be many changes)
- Each player now has a personal pot associated with them which represents the most that they can win at the end of a hand
- This makes the all-in alrgorithm much simpler
- Huge thanks to Arkells for this contribution to the code
- Fixed open tables being listed red in /cards list, and closed tables being listed green
- Fixed a rare server lockup possibility
- Fixed poker games not going to the next phase in some all-in circumstances
- Fixed wrong players starting poker phases
- Fixed tons of other bugs, big and small
- Re-added player turn sounds
- Added sounds at winning a pot, losing a pot, winning a BJ hand, losing a BJ hand, and the action player changing
Version 1.2.2
- Fixed sitting at table not teleporting you even when you have the correct permission node
- Fixed your hand not being cleared if you started a hand with 0 money left in your stack
- Fixed a NullPointerException during a map restore
- Changed the following permission nodes:
- ucards.* -> ucards
- ucards.table.* -> ucards.table
- ucards.cards.* -> ucards.cards
- ucards.poker.* -> ucards.poker
- ucards.blackjack.* -> ucards.blackjack
- This was done to fix some issues with a few permission systems
- Removed the /c, /t and /p aliases.
- Removed the configuration options for enabling the previous aliases.
Version 1.2.1
- Added config options:
- aliasEnabledCards: Enables the /c command
- aliasEnabledTable: Enables the /t command
- aliasEnabledPoker: Enables the /p command
- aliasEnabledBlackjack: Enables the /bj command
- You cannot use '/cards reload' after changing these settings. You must restart your server.
Version 1.2
- Compiled for the new CraftBukkit RB 1.3.2-R1.0
- Changed name from UltimatePoker to UltimateCards
- Massive rewrite
- Added blackjack support
- Fixed A LOT of bugs
- Removed statistics - I don't think it was a very useful function of the plugin and simply made everything so much messier. They may make a comeback.
Version 1.1.1
- Compiled for the new CraftBukkit RB 1.2.5-R4.0
- Fixed the message 'Table owner: use /table cont to continue' being shown twice after each hand
- Fixed leaving a table folding your hand even if youre not in the hand/the table is not in progress
- Fixed the leaving message not being displayed around the whole table, but only to the player that left
- Fixed total winnings being raised by the whole pot that you win during the hand, instead of pot - total bet
- Fixed a NullPointerException occuring on /poker details
- Fixed the database file being created with a weird filename in a weird directory on UNIX systems
- Fixed not being able to kick a person from the table at the end of a hand
- Fixed the "Raise X at most or call" message calculating number X while taking into account folded players
- Fixed 'Percentage of wins' statistic being calculated incorrectly
- Fixed the pot being paid when a player leaves and the table is not in progress
- Fixed a bug in which the game would never go into the next phase, instead just keep giving the action to the player the just typed a command, resulting in a loop until the table is deleted
- Added a parameter for /stats top [stat] (amountToDisplay) - displays an amount of players on leaderboard instead of the default 10 (limit is 100)
- Added some fixes which reset the total bet of a player at certain points to avoid exploits
- Added the player's ID being shown next to their name when they fold
- Made leaderboards show only the rows where actual players exist
Version 1.1
- Compiled for the new Bukkit Build 1.2.5-R3.0
- Added statistics
- New commands
- /poker stats - Displays all your poker stats, if you have any
- /poker stats check [player] - Displays the player's poker stats, if they have any
- /poker stats top [type] - Displays the top 10 players in the specified statistic
- /poker stats rank [type] - Displays your own rank in the specified statistic on the leaderboards
- /poker stats rank [type] [player] - Displays the specified player's rank in the specified statistic on the leaderboards
- Stats get saved at the end of every hand
- Stats use a SQLite database stored in the UltimatePoker.db file inside the plugin's folder
- Stats include a variety of poker specific statistics - total winnings, profit, VPIP, PFR, percentage of wins and MUCH more
- When a player wins his/her biggest ever pot, a message is displayed
- When a player loses his/her ever amount, a message is displayed
- Stats are still in a development status! They may be wiped, changed, or not functioning properly at this stage
- New commands
- Added a sound being played whenever it is your turn to act
- Added the cumulative pot amount being shown after each street
- Added player stacks, current players fold status' and chip leader indications to /poker players
- Added an average stack size of all players at the table being shown on /poker details, /poker players and /hand money
- Added /hand withdraw [amount] command which withdraws the specified amount of money from the player's stack
- Added a table setting "displayTurnsPublicly" which makes the "It is your turn" messages be displayed publicly (with the player's name) (defaulted to false)
- Made ops get the upoker.* node by default
- Made all card suits be colored differently
- Made blinds and antes being raised at the end of hands instead of their beginnings
- Made players be eliminated if they cannot pay the biggest blind (not necessarily the big blind)
- Made creating a table display the balance you bought in for
- Made eliminating no longer take you off the table but simply make you unable to do anything until you rebuy
- Changed the 'allowRake' config option to 'fixRake' -> set to -1 if you want players to set their own rake, set to 0-1 to fix the rake to that amount
- Fixed the invite message showing an incorrect table ID
- Fixed not being able to raise under certain circumstances
- Fixed calling or betting all your money not putting the player all-in when it is needed
- Fixed a NullPointerException when players were being eliminated
- Fixed players not being eliminated properly
- Fixed the plugin dealing a new hand right away without waiting for /table cont in some circumstances
- Fixed the pot eligible player list (displayed during /hand pot) showing incorrect players
- Fixed /hand board and /hand bet having the same alias 'b'. Added /hand community alias instead
- Fixed new tables being assigned to IDs of tables that already exist
- Fixed betting all your money not putting you all-in
- Fixed players not folding once they leave the table
- Fixed players not folding once they get kicked from the table
- Fixed no message being showed when a player leaves the table
- Fixed tables being able to be deleted when pots exist
- Fixed the game not going to showdown when there is an all-in involved and only 1 player is left
- Fixed not being able to muck your hand at showdown when all-in
- Fixed the owner being eliminated messing up the whole game
- Fixed the very broken side pot calculation, you can now sit back and have as many people go all in as you want without any errors in the calculations (hopefully...)
- As a result of all above changes, more bugs were fixed that are not listed here (or created...)
- IMPORTANT: Because of some config changes, you need to delete the config file of the plugin and let it create a new one. Make sure to backup your settings beforehand
Version 1.0.3
- Compiled the plugin in Java 6 to increase compatibility.
Version 1.0.2
- Fixed a bug with multi world (plugin was calculating distance between multiple worlds without checking first)
Version 1.0.1
- Defaulted all permissions to false
Version 1.0
- Initial release
Comments