Revise some errors and add a wrapper for OnlinePlayers