How can I see what players type in commands?

That is easier with plugin called Essentials. When you have that intalled, edit configuration file at plugins/Essentials/config.yml and set socialspy-commands to - '*'. Then you can run command /socialspy and you see other's commands.