I made command to slap the player but when it in the machine, the machine rises up together with it. I need to make that at first would throw out it from the machine.
For connecting: there is a clientside event called onPlayerJoin(). Returning 0 in this function will disable the built in message from appearing. Returning 1 will show the message.
This same thing goes for disconnecting, but with the clientside event called onPlayerPart().
Also, these constants in the wiki may be of some use for disconnecting: PARTREASON_DISCONNECTED PARTREASON_TIMEOUT PARTREASON_KICKED PARTREASON_BANNED
Forgive for my bad English. I use the translator because I Russian.
1) 0.1.0.12 2) Mistake constant. Occurs when we write the message to a chat. 3) - 4) - 5) The mistake is that when we write to a chat on Russian, it is not visible letter .