Null pointer fix.
Add error message for missing protocollib.
Add join and leave commands.