When creating a written book with json formatting, selectors do not work.
Here's the command I'm using:
/give @p minecraft:written_book 1 0 {author:"",title:"Achievements & Statistics",pages:["{text:\"Spleef Wins: \",extra:[{score:{name:\"*\",objective:\"Wins\"},color:\"dark_blue\"}]}"]}
It also doesn't work with this command:
/give @p minecraft:written_book 1 0 {author:"",title:"Achievements & Statistics",pages:["{text:\"Spleef Wins: \",extra:[{score:{name:\"@p\",objective:\"Wins\"},color:\"dark_blue\"}]}"]}
Where the score is supposed to be, it just shows up blank. Alternatively, replacing the "score" option with just "selector", it shows up in the book as @p or *. However, it works if I manually input the username in place of @p or *.