# Bungee setup

First, you need to put DimensionsBungee.jar inside the plugins folder in your proxy.

Now, you need to open **./plugins/DimensionsBungee/config.yml** and set the following to whatever suits your needs

```
fallbackServer: <your main server where you want players to travel if the portal cannot find a destination portal>
Portals:
 - '<portalName>-><server>'
#- 'examplePortal->serverOne'
#- 'otherPortal->netherServer'
#- '<portalName>-><serverName>' #This will teleport the player to the specified server when the specified portal is used, and if the portal used is in <serverName> then the player would be teleported in the fallbackServer mentioned in the config
#- '<serverFrom>-><portalName>-><serverName>' #Now this will work like the above but if the portal used was in the <serverFrom> it will ALWAYS teleport to <serverName> no matter what
```

{% hint style="info" %}
The portal name is the file name of the portal in every server and must be the same otherwise the plugin is not going to function properly
{% endhint %}

Now you need to move to your spigot/paper server to complete the setup

{% content-ref url="spigot-paper-setup" %}
[spigot-paper-setup](https://astaspastagam.gitbook.io/first-steps/configuring-dimensions/addons/premium-addons/bungee-addon/spigot-paper-setup)
{% endcontent-ref %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://astaspastagam.gitbook.io/first-steps/configuring-dimensions/addons/premium-addons/bungee-addon/bungee-setup.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
