# Get Player Role

You can easily get a player's specific role by doing the following:

<figure><img src="https://599571038-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJOLYZsEpI3ofbnXUKMb9%2Fuploads%2FWMd0kblZ4A23v1srNPEx%2Fimage.png?alt=media&#x26;token=47fca18e-c751-43f7-92f3-d6a9560e690b" alt=""><figcaption></figcaption></figure>

Why are we reading the server config so much? We must retrieve details about the assorted teams (which is where we derive our role). If we want to save on time of using the Async Node, we can instead do the following:

<figure><img src="https://599571038-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FJOLYZsEpI3ofbnXUKMb9%2Fuploads%2FDLVVQDF31w6mhdlsZrFA%2Fimage.png?alt=media&#x26;token=f2e1cf09-2e42-41b7-b4b0-8e9f40d3b954" alt=""><figcaption></figcaption></figure>

Saving the server config for later use in a variable will save us time in the long run! This is what we recommend, especially if you are wanting to retrieve more informationg regarding your players in order to assign them properly, retrieve their IDs, and more.
