Dice game commands are now public

This commit is contained in:
moneromooo 2015-01-16 09:40:11 +00:00
parent 5b89cbdad3
commit a3de014d0a

View file

@ -240,7 +240,6 @@ RegisterCommand({
'name': 'dice', 'name': 'dice',
'parms': '<amount> <multiplier>', 'parms': '<amount> <multiplier>',
'function': Dice, 'function': Dice,
'admin': True,
'registered': True, 'registered': True,
'help': "start a dice game - house edge %.1f%%" % (float(config.dice_edge)*100) 'help': "start a dice game - house edge %.1f%%" % (float(config.dice_edge)*100)
}) })
@ -249,7 +248,6 @@ RegisterCommand({
'name': 'stats', 'name': 'stats',
'parms': '[<name>]', 'parms': '[<name>]',
'function': GetDiceStats, 'function': GetDiceStats,
'admin': True,
'registered': True, 'registered': True,
'help': "displays your dice stats" 'help': "displays your dice stats"
}) })
@ -258,7 +256,6 @@ RegisterCommand({
'name': 'resetstats', 'name': 'resetstats',
'parms': '[<name>]', 'parms': '[<name>]',
'function': ResetDiceStats, 'function': ResetDiceStats,
'admin': True,
'registered': True, 'registered': True,
'help': "resets your dice stats" 'help': "resets your dice stats"
}) })
@ -275,7 +272,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"
}) })
@ -283,7 +279,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"
}) })
@ -291,7 +286,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"
}) })
@ -299,13 +293,11 @@ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'fair', 'name': 'fair',
'function': Fair, 'function': Fair,
'admin': True,
'help': "describe the provably fair dice game" 'help': "describe the provably fair dice game"
}) })
RegisterCommand({ RegisterCommand({
'module': __name__, 'module': __name__,
'name': 'faircode', 'name': 'faircode',
'function': FairCode, 'function': FairCode,
'admin': True,
'help': "Show sample Python code to check bet fairness" 'help': "Show sample Python code to check bet fairness"
}) })