Advertisement
Guest User

Pokestats

a guest
Mar 28th, 2017
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.32 KB | None | 0 0
  1. Database table format:
  2.  
  3. id; username; UUID caughtpokemon; beatWildPokemon; beatTrainer; battlewins; battlelosses
  4. int(11) AUTO_INCREMENT text text int(11) int(11) int(11) int(11) int(11)
  5.  
  6.  
  7. Configuration:
  8. #Event messages#
  9. messages {
  10. S:caughtPokemonMessage=&fYou have caught &a%amt% &fpokemon!
  11. S:beatWildPokemonMessage=&fYou have beaten &a%amt% &fpokemon!
  12. S:beatTrainerMessage=&fYou have beaten &a%amt% &fpokemon trainers!
  13. S:battleWinMessage=&fYou have won &a%amt% &fplayer battles!
  14. S:battleLossMessage=&fYou have lost &c%amt% &fplayer battles!
  15. }
  16.  
  17. #Mysql#
  18. sql {
  19. S:"Table"=pixelmonstatistics
  20. S:address=ip:3306
  21. S:database=database
  22. S:password=password
  23. S:username=username
  24. }
  25.  
  26. Commands:
  27. (core pixelmonmod)
  28. /pokestats <player>: This command will display the number of times a player has won and lost battles against other players.
  29. /resetpokestats <player>: This command will reset a specified player's wins and losses to 0.
  30.  
  31. Either override it, or make different commands:
  32.  
  33. /pokestatistics <player>: This command will display overall player statistics.
  34. /resetpokestats <player>: This command will reset a specified player's overall statistics.
  35.  
  36. Maybe provide a configuration for color & format of the output of the pokestatistics command,
  37. or make it look awesome enough that i don't want to change it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement