How to create a simple event?

Options
I need to send a notification to the server that the client has changed the values ​​of the variables?
This must be done before creating a character with an entity.