Files | |
| file | nwnx_admin.nss |
Functions | |
| string | NWNX_Administration_GetPlayerPassword () |
| Gets the current player password. More... | |
| void | NWNX_Administration_SetPlayerPassword (string password) |
| Sets the password for players to login. More... | |
| void | NWNX_Administration_ClearPlayerPassword () |
| Clears the player password required to login. More... | |
| string | NWNX_Administration_GetDMPassword () |
| Gets the current DM password. More... | |
| void | NWNX_Administration_SetDMPassword (string password) |
| Sets the password for DMs to login. More... | |
| void | NWNX_Administration_ShutdownServer () |
| Signals the server to immediately shut down. More... | |
| void | NWNX_Administration_DeletePlayerCharacter (object oPC, int bPreserveBackup=TRUE, string sKickMessage="") |
| Deletes the player character from the servervault. More... | |
| void | NWNX_Administration_AddBannedIP (string ip) |
| Bans the provided IP. More... | |
| void | NWNX_Administration_RemoveBannedIP (string ip) |
| Removes the ban on the provided IP. More... | |
| void | NWNX_Administration_AddBannedCDKey (string key) |
| Bans the provided Public CD Key. More... | |
| void | NWNX_Administration_RemoveBannedCDKey (string key) |
| Removes the ban on the provided Public CD Key. More... | |
| void | NWNX_Administration_AddBannedPlayerName (string playerName) |
| Bans the provided playername. More... | |
| void | NWNX_Administration_RemoveBannedPlayerName (string playerName) |
| Removes the ban on the provided playername. More... | |
| string | NWNX_Administration_GetBannedList () |
| Get a list of all banned IPs/Keys/names as a string. More... | |
| void | NWNX_Administration_SetModuleName (string name) |
| Set the module's name as shown to the serverlist. More... | |
| void | NWNX_Administration_SetServerName (string name) |
| Set the server's name as shown to the serverlist. More... | |
| string | NWNX_Administration_GetServerName () |
| Returns the server's name as shown to the serverlist. More... | |
| int | NWNX_Administration_GetPlayOption (int option) |
| Get an Administration Option value. More... | |
| void | NWNX_Administration_SetPlayOption (int option, int value) |
| Set an Administration Options to a value. More... | |
| int | NWNX_Administration_DeleteTURD (string playerName, string characterName) |
| Delete the TURD of playerName + characterName. More... | |
| int | NWNX_Administration_GetDebugValue (int type) |
| Get an Administration Debug Type value. More... | |
| void | NWNX_Administration_SetDebugValue (int type, int state) |
| Set an Administration Debug Type to a value. More... | |
| void | NWNX_Administration_ReloadRules () |
| Reload all rules (2da stuff etc). More... | |
| int | NWNX_Administration_GetMinLevel () |
| Get the servers minimum level. More... | |
| void | NWNX_Administration_SetMinLevel (int nLevel) |
| Set the servers minimum level. More... | |
| int | NWNX_Administration_GetMaxLevel () |
| Get the servers maximum level. More... | |
| void | NWNX_Administration_SetMaxLevel (int nLevel) |
| Set the servers maximum level. More... | |
| string | NWNX_Administration_GetNWSyncAdvertHash () |
| Get the NWSync manifest hash the server advertises. More... | |
| string | NWNX_Administration_GetNWSyncAdvertUrl () |
| Get the NWSync URL the server advertises. More... | |
| void | NWNX_Administration_SetNWSyncAdvert (string sHash, string sUrl) |
| Set the NWSync manifest and URL the server advertises, without a restart. More... | |
| string NWNX_Administration_GetPlayerPassword | ( | ) |
Gets the current player password.
Definition at line 193 of file nwnx_admin.nss.
| void NWNX_Administration_SetPlayerPassword | ( | string | password | ) |
Sets the password for players to login.
| password | The password to use. |
Definition at line 199 of file nwnx_admin.nss.
| void NWNX_Administration_ClearPlayerPassword | ( | ) |
Clears the player password required to login.
Definition at line 205 of file nwnx_admin.nss.
| string NWNX_Administration_GetDMPassword | ( | ) |
Gets the current DM password.
Definition at line 210 of file nwnx_admin.nss.
| void NWNX_Administration_SetDMPassword | ( | string | password | ) |
Sets the password for DMs to login.
| password | The password to use. |
Definition at line 216 of file nwnx_admin.nss.
| void NWNX_Administration_ShutdownServer | ( | ) |
Signals the server to immediately shut down.
Definition at line 222 of file nwnx_admin.nss.
| void NWNX_Administration_DeletePlayerCharacter | ( | object | oPC, |
| int | bPreserveBackup = TRUE, |
||
| string | sKickMessage = "" |
||
| ) |
Deletes the player character from the servervault.
The PC will be immediately booted from the game with a "Delete Character" message
| oPC | The player to delete. |
| bPreserveBackup | If true, it will leave the file on server, only appending ".deleted0" to the bic filename. |
| sKickMessage | An optional kick message, if left blank it will default to "Delete Character" as reason. |
Definition at line 227 of file nwnx_admin.nss.
| void NWNX_Administration_AddBannedIP | ( | string | ip | ) |
Bans the provided IP.
| ip | The IP Address to ban. |
Definition at line 235 of file nwnx_admin.nss.
| void NWNX_Administration_RemoveBannedIP | ( | string | ip | ) |
Removes the ban on the provided IP.
| ip | The IP Address to unban. |
Definition at line 240 of file nwnx_admin.nss.
| void NWNX_Administration_AddBannedCDKey | ( | string | key | ) |
Bans the provided Public CD Key.
| key | The Public CD Key to ban. |
Definition at line 245 of file nwnx_admin.nss.
| void NWNX_Administration_RemoveBannedCDKey | ( | string | key | ) |
Removes the ban on the provided Public CD Key.
| key | The Public CD Key to unban. |
Definition at line 250 of file nwnx_admin.nss.
| void NWNX_Administration_AddBannedPlayerName | ( | string | playerName | ) |
Bans the provided playername.
| playerName | The player name (community name) to ban. |
Definition at line 255 of file nwnx_admin.nss.
| void NWNX_Administration_RemoveBannedPlayerName | ( | string | playerName | ) |
Removes the ban on the provided playername.
| playerName | The player name (community name) to unban. |
Definition at line 260 of file nwnx_admin.nss.
| string NWNX_Administration_GetBannedList | ( | ) |
Get a list of all banned IPs/Keys/names as a string.
Definition at line 265 of file nwnx_admin.nss.
| void NWNX_Administration_SetModuleName | ( | string | name | ) |
Set the module's name as shown to the serverlist.
| name | The name to give the module. |
Definition at line 271 of file nwnx_admin.nss.
| void NWNX_Administration_SetServerName | ( | string | name | ) |
Set the server's name as shown to the serverlist.
| name | The name to give the server. |
Definition at line 277 of file nwnx_admin.nss.
| string NWNX_Administration_GetServerName | ( | ) |
Returns the server's name as shown to the serverlist.
Definition at line 283 of file nwnx_admin.nss.
| int NWNX_Administration_GetPlayOption | ( | int | option | ) |
Get an Administration Option value.
| option | An Administration Option. |
Definition at line 289 of file nwnx_admin.nss.
| void NWNX_Administration_SetPlayOption | ( | int | option, |
| int | value | ||
| ) |
Set an Administration Options to a value.
| option | The option to adjust from Administration Options. |
| value | The new value for the option. |
Definition at line 296 of file nwnx_admin.nss.
| int NWNX_Administration_DeleteTURD | ( | string | playerName, |
| string | characterName | ||
| ) |
Delete the TURD of playerName + characterName.
At times a PC may get stuck in a permanent crash loop when attempting to log in. This function allows administrators to delete their Temporary User Resource Data where the PC's current location is stored allowing them to log into the starting area.
| playerName | The community (login name). |
| characterName | The character name. |
Definition at line 303 of file nwnx_admin.nss.
| int NWNX_Administration_GetDebugValue | ( | int | type | ) |
Get an Administration Debug Type value.
| type | An Administration Debug Type. |
Definition at line 311 of file nwnx_admin.nss.
| void NWNX_Administration_SetDebugValue | ( | int | type, |
| int | state | ||
| ) |
Set an Administration Debug Type to a value.
| type | The debug type to adjust from Administration Debug Types. |
| state | The new state for the debug type, TRUE or FALSE |
Definition at line 318 of file nwnx_admin.nss.
| void NWNX_Administration_ReloadRules | ( | ) |
Reload all rules (2da stuff etc).
Definition at line 325 of file nwnx_admin.nss.
| int NWNX_Administration_GetMinLevel | ( | ) |
Get the servers minimum level.
Definition at line 330 of file nwnx_admin.nss.
| void NWNX_Administration_SetMinLevel | ( | int | nLevel | ) |
Set the servers minimum level.
| nLevel | The minimum level for the server. |
Definition at line 336 of file nwnx_admin.nss.
| int NWNX_Administration_GetMaxLevel | ( | ) |
Get the servers maximum level.
Definition at line 342 of file nwnx_admin.nss.
| void NWNX_Administration_SetMaxLevel | ( | int | nLevel | ) |
Set the servers maximum level.
| nLevel | The maximum level for the server. |
Definition at line 348 of file nwnx_admin.nss.
| string NWNX_Administration_GetNWSyncAdvertHash | ( | ) |
Get the NWSync manifest hash the server advertises.
Definition at line 354 of file nwnx_admin.nss.
| string NWNX_Administration_GetNWSyncAdvertUrl | ( | ) |
Get the NWSync URL the server advertises.
Definition at line 360 of file nwnx_admin.nss.
| void NWNX_Administration_SetNWSyncAdvert | ( | string | sHash, |
| string | sUrl | ||
| ) |
Set the NWSync manifest and URL the server advertises, without a restart.
| sHash | The manifest's SHA1 hash, or "" to stop advertising NWSync. |
| sUrl | The NWSync repository URL, or "" to stop advertising NWSync. |
Definition at line 366 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_ALL_KILLABLE = 0 |
Definition at line 12 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_NON_PARTY_KILLABLE = 1 |
Definition at line 13 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_REQUIRE_RESURRECTION = 2 |
Definition at line 14 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_STOLEN_ITEMS = 3 |
Definition at line 15 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_ITEMS = 4 |
Definition at line 16 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_EXP = 5 |
Definition at line 17 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_GOLD = 6 |
Definition at line 18 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_GOLD_NUM = 7 |
Definition at line 19 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_EXP_NUM = 8 |
Definition at line 20 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_LOSE_ITEMS_NUM = 9 |
Definition at line 21 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_PVP_SETTING = 10 |
Definition at line 22 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_PAUSE_AND_PLAY = 11 |
Definition at line 23 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_ONE_PARTY_ONLY = 12 |
Definition at line 24 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_ENFORCE_LEGAL_CHARACTERS = 13 |
Definition at line 25 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_ITEM_LEVEL_RESTRICTIONS = 14 |
Definition at line 26 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_CDKEY_BANLIST_ALLOWLIST = 15 |
Definition at line 27 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_DISALLOW_SHOUTING = 16 |
Definition at line 28 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_SHOW_DM_JOIN_MESSAGE = 17 |
Definition at line 29 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_BACKUP_SAVED_CHARACTERS = 18 |
Definition at line 30 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_AUTO_FAIL_SAVE_ON_1 = 19 |
Definition at line 31 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_VALIDATE_SPELLS = 20 |
Definition at line 32 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_EXAMINE_EFFECTS = 21 |
Definition at line 33 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_EXAMINE_CHALLENGE_RATING = 22 |
Definition at line 34 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_USE_MAX_HITPOINTS = 23 |
Definition at line 35 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_RESTORE_SPELLS_USES = 24 |
Definition at line 36 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_RESET_ENCOUNTER_SPAWN_POOL = 25 |
Definition at line 37 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_HIDE_HITPOINTS_GAINED = 26 |
Definition at line 38 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_PLAYER_PARTY_CONTROL = 27 |
Definition at line 39 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_OPTION_SHOW_PLAYER_JOIN_MESSAGES = 28 |
Definition at line 40 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_DEBUG_COMBAT = 0 |
Definition at line 47 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_DEBUG_SAVING_THROW = 1 |
Definition at line 48 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_DEBUG_MOVEMENT_SPEED = 2 |
Definition at line 49 of file nwnx_admin.nss.
| const int NWNX_ADMINISTRATION_DEBUG_HIT_DIE = 3 |
Definition at line 50 of file nwnx_admin.nss.