mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-11 18:23:54 +01:00
11 lines
323 B
ReStructuredText
11 lines
323 B
ReStructuredText
|
getCurrentServer() Netscript Function
|
||
|
=====================================
|
||
|
|
||
|
.. js:function:: getCurrentServer()
|
||
|
|
||
|
:RAM cost: 2 GB
|
||
|
:returns: The hostname of the server the player is currently connected to.
|
||
|
|
||
|
If you are not in BitNode-4, then you must have Level 3 of Source-File 4 in order to use this function.
|
||
|
|