> For the complete documentation index, see [llms.txt](https://refresh-cx.gitbook.io/refresh.cx-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://refresh-cx.gitbook.io/refresh.cx-docs/server-information/get-name.md).

# Get Name

Returns the server hostname, looked up from the server info string.

## **Syntax**

```lua
refresh.Server.GetName() -> String
```

## **Return**

{% hint style="success" %}
String (server name)
{% endhint %}

## Usage Example

```lua
print("Playing on:", refresh.Server.GetName())
```
