This is a PocketMine-MP plugin who allow you to spy players commands the commands are also logged into the console
/socialspy or /ss (turn on socialspy)
socialspy.command (allow you to use socialspy commands) socialspy.hide (hide the commands you use from players who have SocialSpy on)