* Update log path example when running under windows Added example of log path syntax when running servatrice under windows. * Missed example bra cket * Added user privilege level Added a enum column in the users table named "privilevel" with the current values of "none", "vip", and "donator". Also allowed anyone with a higher privilege level than "none" to log in even if the server is set to limit the user total and the user limit is reached. This change add's the new user information into the users container that gets populated and passed between client and server. * Added user privilege level Added a enum column in the users table named "privilevel" with the current values of "none", "vip", and "donator". Also allowed anyone with a higher privilege level than "none" to log in even if the server is set to limit the user total and the user limit is reached. This change add's the new user information into the users container that gets populated and passed between client and server. * don't use corrected name when downloading card (#2164) * Fix dynamic user limit settings PR #2220 removed the ability to be able to change the max user limit count while the server is running requiring a restart to make the settings change. This PR reverts the behavior back to how it operated prior to the PR. * Call class functions for consistency Updated code to call functions for consistency. * don't use corrected name when downloading card (#2164) * Added user privilege level Added a enum column in the users table named "privilevel" with the current values of "none", "vip", and "donator". Also allowed anyone with a higher privilege level than "none" to log in even if the server is set to limit the user total and the user limit is reached. This change add's the new user information into the users container that gets populated and passed between client and server. * Corrected Typo Corrected typo in DB Migration Script * Git fuckup? * Added word column Added the word column to migration script for backwards compatibility
28 lines
801 B
Protocol Buffer
28 lines
801 B
Protocol Buffer
message ServerInfo_User {
|
|
enum UserLevelFlag {
|
|
IsNothing = 0;
|
|
IsUser = 1;
|
|
IsRegistered = 2;
|
|
IsModerator = 4;
|
|
IsAdmin = 8;
|
|
};
|
|
enum Gender {
|
|
GenderUnknown = -1;
|
|
Male = 0;
|
|
Female = 1;
|
|
};
|
|
optional string name = 1;
|
|
optional uint32 user_level = 2;
|
|
optional string address = 3;
|
|
optional string real_name = 4;
|
|
optional Gender gender = 5 [default = GenderUnknown];
|
|
optional string country = 6;
|
|
optional bytes avatar_bmp = 7;
|
|
optional sint32 id = 8 [default = -1];
|
|
optional sint32 server_id = 9 [default = -1];
|
|
optional uint64 session_id = 10;
|
|
optional uint64 accountage_secs = 11;
|
|
optional string email = 12;
|
|
optional string clientid = 13;
|
|
optional string privlevel = 14;
|
|
}
|