• Minecraft Middle Earth is a Minecraft community that recreates the world described by JRR Tolkien and his writings. Everyone can participate in organized events in which we collaborate to create major landmarks, terrain, caves, castles, towns, farms and more.

    To get started, visit The New Player Guide

    IP address : build.mcmiddleearth.com

Bungee / Waterfall

  • Views Views: 178
  • Last updated Last updated:
    1. Bungee (or the paper fork, Waterfall) allows us to set up a network of servers. Waterfall allows directing the players seamlessly between multiple servers, as if they are switching the world.

    Installation
    Builds for Waterfall are available at https://papermc.io/downloads#Waterfall
    Launch and let generate the configuration files. The config.yml file will contain the most important settings.

    Waterfall - Bungee config.yml
    In our case, the Waterfall proxy is set to listen on port 25565 (default Minecraft) host: 0.0.0.0:25565

    The priorities key determines to what server users will overflow in case that the servers are down. For example if you have server 1, 2, 3 and 4, they can be configured in the way that users arrive in server 2 if 1 is down, to 3 if 1 and 2 are down, etc. As we don't want people to join the server directly without having gone through the New Player Quiz, the only server priority here will be
    Code:
     priorities:
    - newplayer
    This means that if the newplayer server is down or crashed, the new clients will be kicked by the proxy.
    Enable ip_foward: true in the config.yml to allow ip forwarding (security and identity of users).

    At the servers: block we setup the servers.
    It is important to note that servers that run behind the proxy must run in offline mode and may not be accepting external connections.

    Adding game servers

    server.properties
    For every game server that is being added, the following configuration must be done.
    server.properties:
    spawn-protection=0
    max-tick-time=60000
    query.port=25001
    server-name=Minecraft Middle Earth
    generator-settings=
    force-gamemode=false
    allow-nether=false
    gamemode=2
    broadcast-console-to-ops=true
    enable-query=true
    player-idle-timeout=0
    difficulty=0
    spawn-monsters=false
    op-permission-level=4
    pvp=true
    snooper-enabled=true
    level-type=FLAT
    hardcore=false
    enable-command-block=false
    max-players=120
    network-compression-threshold=256
    resource-pack-sha1=71323230207761732068657265
    max-world-size=29999984
    server-port=25000
    debug=false
    server-ip=localhost
    spawn-npcs=false
    allow-flight=true
    level-name=newplayer
    view-distance=10
    server-id=newplayer
    resource-pack=http\://build.mcmiddleearth.com/content/Gondor2.zip
    spawn-animals=false
    white-list=false
    generate-structures=false
    online-mode=false
    max-build-height=256
    level-seed=
    use-native-transport=true
    prevent-proxy-connections=false
    motd=\u00A76MCME \u00A7aNew Players
    enable-rcon=false
    1. Query port: convention is that we use the game server port +1
    2. server-name: Set to 'MCME <servername>'
    3. server-port : See reserved posts further down the document to determine if a port is used and for what.
    4. server-ip: Must be set to localhost to only listen to local connections.
    5. level-name: the world's name that is used on this server.
      Every server has to have a unique named world across the network.
    6. online-mode: false
    spigot.yml
    The setting bungeecord: false has to be set to true

    Table of internally used servers/ports
    Server nameIP : portQuery port
    newplayerlocalhost:25000localhost:25001
    worldlocalhost:25100localhost:25101
    developmentlocalhost:25105localhost: 25106
    morialocalhost:25107localhost:25108
    freebuildlocalhost:25109localhost:25110
    plotworldlocalhost:25111localhost:25112
    redstonelocalhost:25113localhost:25114
    themedbuildslocalhost:25115localhost:25116
    battleserverlocalhost:27500localhost:27501
    Bungee - Waterfall Commands



    CommandDescriptionPermission
    /alert <message>Sends an alert to all users on the networkbungeecord.command.alert
    /alertraw <json>Sends an alert with Minecraft json formattingbungeecord.command.alert
    /bungeeShows bungee versionnone
    /end <message>Shuts down the proxy and disconnects everyonebungeecord.command.end
    /find <player>Checks if the player is online and where he isbungeecord.command.find
    /glistLists everyone connected through the proxybungeecord.command.list
    /greloadUnreliable command to reload the proxybungeecord.command.reload
    /ip <player>Shows the ip the user is connected withbungeecord.command.ip
    /permsShows all permissions you have and what groups you are in for the proxynone
    /send <player/current/all> <target>Sends <player/current/all> to the <target>, even if the person is on another server.none
    /server <server>Transfer you to <server>bungeecord.command.server
Top