Skip to content

Specifics

FoxWorn3365 edited this page Dec 21, 2023 · 26 revisions

UncomplicatedCustomRoles - Specifics

This page contains all the noteworthy specifications

Placeholders for the Display Nickname

Well yes, to make it cooler, we decided to integrate placeholders so that the user's nickname can be changed in a better way according to the role.
Remember, to prevent this from being applied put the field to null!

  • %name% -> The player real nickname
  • %dnumber% -> A random integer between 1000 and 9999 for D numbers
  • %o5number% -> A random integer between 1 and 10 for O5 numbers

Example:

display_nickname: 'Dr. %name%'

Result: Dr. FoxWorn3365

Vector3 notation for External Custom Roles

Any role that is created and saved in an external file other than the general configuration is automatically recognized by the plugin as an ExternalCustomRole and is loaded in a specific way.
This is because the vectors here are not object Vector3 but are simple strings with the following notation:

"x, y, z"

so

string Coords = "1, 1.5, 5";
// IS EQUAL TO
Vector3 Coords = new(1, 1.5, 5);