ntnet
Vars | |
available_reports | A list containing one of each available report datums, used for the report editor program. |
---|---|
email_accounts | Holds all the email accounts that exists. Hopefully won't exceed 999 |
intrusion_detection_alarm | Set when there is an IDS warning due to malicious (antag) software. |
intrusion_detection_enabled | Whether the IDS warning system is enabled |
registered_nids | A list of nid - os datum pairs. An OS in this list is not necessarily connected to NTNet or visible on it. |
setting_communication | Programs requiring NTNET_COMMUNICATION won't work if this is set to FALSE and public-facing device they are connecting with is wireless. |
setting_disabled | Setting to TRUE will disable all wireless connections, independently off relays status. |
setting_maxlogcount | Amount of log entries the system tries to keep in memory. Keep below 999 to prevent byond from acting weirdly. High values make displaying logs much laggier. |
setting_peertopeer | Programs requiring NTNET_PEERTOPEER won't work if this is set to FALSE and public-facing device they are connecting with is wireless. |
setting_softwaredownload | Programs requiring NTNET_SOFTWAREDOWNLOAD won't work if this is set to FALSE and public-facing device they are connecting with is wireless. |
setting_systemcontrol | Programs requiring NTNET_SYSTEMCONTROL won't work if this is set to FALSE and public-facing device they are connecting with is wireless. |
Procs | |
add_log | Simplified logging: Adds a log. log_string is mandatory parameter, source is optional. Returns TRUE on success. |
build_emails_list | Generates service email list. |
build_reports_list | Builds report list. |
build_software_lists | Builds lists that contain downloadable software. |
check_capability | Checks whether NTNet allows a specific action over wireless connections |
check_function | Checks whether NTNet operates. |
create_email | Used for initial email generation. Not intended to be used by any ingame computer systems |
find_email_by_name | Returns email account matching login. Otherwise null |
find_ntnet_file_by_name | Attempts to find a downloadable file according to filename var |
purge_logs | Removes all logs |
rename_email | Used when a mob or robot is renamed. Not intended to be used by any ingame computer systems |
resetIDS | Resets the IDS alarm |
toggleIDS | Toggle IDS on or off |
update_max_log_count | Updates maximal amount of stored logs. Use this instead of setting the number, it performs required checks. Returns TRUE if number is updated. FALSE otherwise. |
Var Details
available_reports
A list containing one of each available report datums, used for the report editor program.
email_accounts
Holds all the email accounts that exists. Hopefully won't exceed 999
intrusion_detection_alarm
Set when there is an IDS warning due to malicious (antag) software.
intrusion_detection_enabled
Whether the IDS warning system is enabled
registered_nids
A list of nid - os datum pairs. An OS in this list is not necessarily connected to NTNet or visible on it.
setting_communication
Programs requiring NTNET_COMMUNICATION won't work if this is set to FALSE and public-facing device they are connecting with is wireless.
setting_disabled
Setting to TRUE will disable all wireless connections, independently off relays status.
setting_maxlogcount
Amount of log entries the system tries to keep in memory. Keep below 999 to prevent byond from acting weirdly. High values make displaying logs much laggier.
setting_peertopeer
Programs requiring NTNET_PEERTOPEER won't work if this is set to FALSE and public-facing device they are connecting with is wireless.
setting_softwaredownload
Programs requiring NTNET_SOFTWAREDOWNLOAD won't work if this is set to FALSE and public-facing device they are connecting with is wireless.
setting_systemcontrol
Programs requiring NTNET_SYSTEMCONTROL won't work if this is set to FALSE and public-facing device they are connecting with is wireless.
Proc Details
add_log
Simplified logging: Adds a log. log_string is mandatory parameter, source is optional. Returns TRUE on success.
build_emails_list
Generates service email list.
build_reports_list
Builds report list.
build_software_lists
Builds lists that contain downloadable software.
check_capability
Checks whether NTNet allows a specific action over wireless connections
check_function
Checks whether NTNet operates.
create_email
Used for initial email generation. Not intended to be used by any ingame computer systems
find_email_by_name
Returns email account matching login. Otherwise null
find_ntnet_file_by_name
Attempts to find a downloadable file according to filename var
purge_logs
Removes all logs
rename_email
Used when a mob or robot is renamed. Not intended to be used by any ingame computer systems
resetIDS
Resets the IDS alarm
toggleIDS
Toggle IDS on or off
update_max_log_count
Updates maximal amount of stored logs. Use this instead of setting the number, it performs required checks. Returns TRUE if number is updated. FALSE otherwise.