Skip to main content
Version: Next

Users Plugin Functions

User functions help you to work with the user's information and modify the current user. These functions work with the Users table, so make sure to enable this table first.

Find Users

This function helps you to find other users of the game, and then use their info in other functions.

ServiceHub.Services.Users.Find(new FindUserParams());

Get Current Users Info

This function return profile information of current user

ServiceHub.Services.Users.GetCurrentUser()

Edit Current User Info

You can edit current user profile with this function.

ServiceHub.Services.Users.EditUserById(new EditUserByIdParams())

Get User Info By Id

With this function, you can get the profile information of specific user with his id

ServiceHub.Services.Users.FindUserById(new FindUserByIdParams())