Blackjack is now not admin only

This commit is contained in:
moneromooo 2015-01-21 19:18:56 +00:00
parent 84f550a355
commit b040600947

View file

@ -1051,7 +1051,6 @@ RegisterCommand({
'name': 'blackjack', 'name': 'blackjack',
'parms': '<amount-in-monero>' if len(config.blackjack_sidebets) == 0 else '<amount-in-monero> [sidebet1 [sidebet2...]]', 'parms': '<amount-in-monero>' if len(config.blackjack_sidebets) == 0 else '<amount-in-monero> [sidebet1 [sidebet2...]]',
'function': Blackjack, 'function': Blackjack,
'admin': True,
'registered': True, 'registered': True,
'help': "start a blackjack game - blackjack pays 3:2" 'help': "start a blackjack game - blackjack pays 3:2"
}) })
@ -1059,7 +1058,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'hit', 'name': 'hit',
'function': Hit, 'function': Hit,
'admin': True,
'registered': True, 'registered': True,
'help': "Hit (draw a new card on the current hand)" 'help': "Hit (draw a new card on the current hand)"
}) })
@ -1067,7 +1065,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'double', 'name': 'double',
'function': Double, 'function': Double,
'admin': True,
'registered': True, 'registered': True,
'help': "Double down (double bet and draw a final card on the current hand)" 'help': "Double down (double bet and draw a final card on the current hand)"
}) })
@ -1075,7 +1072,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'stand', 'name': 'stand',
'function': Stand, 'function': Stand,
'admin': True,
'registered': True, 'registered': True,
'help': "Stand (finish the current hand)" 'help': "Stand (finish the current hand)"
}) })
@ -1083,7 +1079,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'split', 'name': 'split',
'function': Split, 'function': Split,
'admin': True,
'registered': True, 'registered': True,
'help': "Split current hand if first two cards are a pair - split to %d max" % config.blackjack_split_to 'help': "Split current hand if first two cards are a pair - split to %d max" % config.blackjack_split_to
}) })
@ -1092,7 +1087,6 @@ if config.blackjack_insurance:
'module': __name__, 'module': __name__,
'name': 'insurance', 'name': 'insurance',
'function': Insurance, 'function': Insurance,
'admin': True,
'registered': True, 'registered': True,
'help': "Insure against a dealer blackjack with half your bet (offered if the dealer's first card in an ace) - paid 2:1" 'help': "Insure against a dealer blackjack with half your bet (offered if the dealer's first card in an ace) - paid 2:1"
}) })
@ -1100,7 +1094,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'hand', 'name': 'hand',
'function': Hand, 'function': Hand,
'admin': True,
'registered': True, 'registered': True,
'help': "Show your and the dealer's current hands" 'help': "Show your and the dealer's current hands"
}) })
@ -1109,7 +1102,6 @@ RegisterCommand({
'name': 'stats', 'name': 'stats',
'parms': '[<name>]', 'parms': '[<name>]',
'function': GetBlackjackStats, 'function': GetBlackjackStats,
'admin': True,
'registered': True, 'registered': True,
'help': "displays your blackjack stats" 'help': "displays your blackjack stats"
}) })
@ -1118,7 +1110,6 @@ RegisterCommand({
'name': 'resetstats', 'name': 'resetstats',
'parms': '[<name>]', 'parms': '[<name>]',
'function': ResetBlackjackStats, 'function': ResetBlackjackStats,
'admin': True,
'registered': True, 'registered': True,
'help': "resets your Blackjack stats" 'help': "resets your Blackjack stats"
}) })
@ -1127,7 +1118,7 @@ if len(config.blackjack_sidebets) > 0:
'module': __name__, 'module': __name__,
'name': 'sidebets', 'name': 'sidebets',
'function': SideBets, 'function': SideBets,
'admin': True, 'registered': True,
'help': "List the available side bets" 'help': "List the available side bets"
}) })
RegisterCommand({ RegisterCommand({
@ -1135,7 +1126,6 @@ RegisterCommand({
'name': 'playerseed', 'name': 'playerseed',
'parms': '<string>', 'parms': '<string>',
'function': PlayerSeed, 'function': PlayerSeed,
'admin': True,
'registered': True, 'registered': True,
'help': "set a custom seed to use in the hash calculation" 'help': "set a custom seed to use in the hash calculation"
}) })
@ -1143,7 +1133,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'seeds', 'name': 'seeds',
'function': Seeds, 'function': Seeds,
'admin': True,
'registered': True, 'registered': True,
'help': "Show hash of your current server seed and your player seed" 'help': "Show hash of your current server seed and your player seed"
}) })
@ -1152,7 +1141,6 @@ RegisterCommand({
'name': 'utf8', 'name': 'utf8',
'parms': '[on|off]', 'parms': '[on|off]',
'function': UseUTF8, 'function': UseUTF8,
'admin': True,
'registered': True, 'registered': True,
'help': "Enable or disable use of UTF-8 to display cards" 'help': "Enable or disable use of UTF-8 to display cards"
}) })
@ -1160,7 +1148,6 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'faircheck', 'name': 'faircheck',
'function': FairCheck, 'function': FairCheck,
'admin': True,
'registered': True, 'registered': True,
'help': "Check provably fair rolls" 'help': "Check provably fair rolls"
}) })
@ -1168,13 +1155,13 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'fair', 'name': 'fair',
'function': Fair, 'function': Fair,
'admin': True, 'registered': True,
'help': "describe the provably fair blackjack game" 'help': "describe the provably fair blackjack game"
}) })
RegisterCommand({ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'faircode', 'name': 'faircode',
'function': FairCode, 'function': FairCode,
'admin': True, 'registered': True,
'help': "Show sample Python code to check game fairness" 'help': "Show sample Python code to check game fairness"
}) })