Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Database table format:
- id; username; UUID caughtpokemon; beatWildPokemon; beatTrainer; battlewins; battlelosses
- int(11) AUTO_INCREMENT text text int(11) int(11) int(11) int(11) int(11)
- Configuration:
- #Event messages#
- messages {
- S:caughtPokemonMessage=&fYou have caught &a%amt% &fpokemon!
- S:beatWildPokemonMessage=&fYou have beaten &a%amt% &fpokemon!
- S:beatTrainerMessage=&fYou have beaten &a%amt% &fpokemon trainers!
- S:battleWinMessage=&fYou have won &a%amt% &fplayer battles!
- S:battleLossMessage=&fYou have lost &c%amt% &fplayer battles!
- }
- #Mysql#
- sql {
- S:"Table"=pixelmonstatistics
- S:address=ip:3306
- S:database=database
- S:password=password
- S:username=username
- }
- Commands:
- (core pixelmonmod)
- /pokestats <player>: This command will display the number of times a player has won and lost battles against other players.
- /resetpokestats <player>: This command will reset a specified player's wins and losses to 0.
- Either override it, or make different commands:
- /pokestatistics <player>: This command will display overall player statistics.
- /resetpokestats <player>: This command will reset a specified player's overall statistics.
- Maybe provide a configuration for color & format of the output of the pokestatistics command,
- or make it look awesome enough that i don't want to change it.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement