Users
A user is someone who can interact with the system. They have credentials to login into the system.
User data in RACE environment
User data is stored in the file structure (see File Structurefor more information). It is stored in a specific ini file called user_info. Its name is actually for the user username. The content is a Neurox script with all the user data. Note that some variables are used by the system.
users = {
name = "Users",
file_type = extensions.file_type.f,
parent = "root",
content = "",
default_user = {
name = "Default User",
file_type = extensions.file_type.f,
parent = "users",
content = "",
user_info = {
name = "Username",
file_type = extensions.file_type.ini,
parent = "users",
content = "...",
permissions = {permissions.perm.R, permissions.perm.W, permissions.perm.X, permissions.perm.D, permissions.perm.M}
},
}
}Content of user_info for player AxoneFR
DEFINE NEUROX
// system variables
SET username = "AxoneFR"
SET user_id = 529268063
SET last_online = "12/27/2024"
SET password = "mypassword"
SET permissions = RWXDM
SET token = xxxxxxIn order to edit your data, you can't make a script using these variables because they are system variables. To make changes, edit the content of the file by changing the variables values. The script in its form is always executed, meaning that the changes will be done instantly.
Changing system variables is NOT recommended because it can corrupt your system.
We strongly discourage you to edit the user_id field as it represents your player ID.
username
User's username. Can be different than the player's username.
no importance
user_id
Player's Roblox ID.
critical
last_online
Shows the last time the player started the system (MM/DD/YY).
important
password
Used by the player to login into the system.
critical (if you forgot it)
permissions
Shows the user's permissions
very important
token
Soon
critical
Depending on the importance level, you may think of editing or not these values. We strongly advice you to not touch at critical-labeled system variables. It's up into you but this is totally not recommended.
Last updated