Skip to content

Instantly share code, notes, and snippets.

@DaMatrix
Last active February 22, 2021 17:52
Show Gist options
  • Select an option

  • Save DaMatrix/ed9f4ae4b93f419da10ed81b6cbf9c52 to your computer and use it in GitHub Desktop.

Select an option

Save DaMatrix/ed9f4ae4b93f419da10ed81b6cbf9c52 to your computer and use it in GitHub Desktop.
Cubic Chunks: Vanilla+Bedrock Setup Guide

This guide assumes you already have a functional Minecraft Forge server with Cubic Chunks set up and running.

When editing configuration files, make sure to save the file before proceeding to the next step!

Before you begin: it is absolutely critical that you remove all client-side required mods from your server (aside from Cubic Chunks) so that a player with nothing other than Minecraft Forge and Cubic Chunks installed can join the server. If additional mods are required, vanilla players will not be able to connect!

Server Setup

  1. Download the latest version of Cubic Chunks from Jenkins. You want CubicChunks-<version>-SNAPSHOT-all.jar. image
  2. Replace the current Cubic Chunks jar in your server's mods folder with the newly downloaded one, then restart the server.
  3. Change allowVanillaClients to true in config/cubicchunks.cfg.
    # Allows clients without cubic chunks to join. THIS IS INTENDED FOR VANILLA CLIENTS. This is VERY likely to break when used with other mods
    B:allowVanillaClients=true
  1. If your server is not part of a network and you do not wish to support vanilla clients on versions other than Java Edition 1.12.2, you are now complete. Restart your server and enjoy! Otherwise, continue.
  2. Change online-mode to false in server.properties.
online-mode=false
  1. If your server is running Mohist then proceed to Mohist Setup. Otherwise, proceed to Forge Setup.

Mohist Setup

The following section is intended only for server owners using Mohist! If you're not using Mohist, you can skip to Forge Setup.

Note: for an unknown reason, the Mohist developers reverted the commit that makes this whole system work. As a result, the provided download link is unofficial.

  1. Download the latest working version of Mohist from this link.
  2. Replace the current Mohist jar in your server folder with the newly downloaded one, renaming the new one if necessary.
  3. Change bungeecord to true in spigot.yml.
  bungeecord: true
  1. Restart your server.
  2. Done! You can proceed to Proxy Setup.

Forge Setup

The following section is intended only for server owners not using Mohist! If you're using Mohist, you should return to Mohist Setup.

Note: the following mod is required to enable BungeeCord IP forwarding on Forge without SpongeForge (as SpongeForge is incompatible with Cubic Chunks).

  1. Download the latest version of SpeedBoost from Jenkins.
  2. Place the newly downloaded mod in your server's mods folder and restart the server.
  3. Find the bungeecord section in config/speedboost_config.json and change state to true.
  "bungeecord": {
    "state": true
  },
  1. Restart your server.
  2. Done! You can proceed to Proxy Setup.

Proxy Setup

If your server's Waterfall proxy is hosted by someone else (for example, you are running a build server as part of the BuildTheEarth Big Network), then you are done.

This guide assumes you already have a Waterfall proxy set up and running. If you already have a BungeeCord proxy, you can simply download the latest version of Waterfall and replace the BungeeCord jar. If not, follow the official setup guide and configure it to connect to your backend Forge server.

Waterfall Setup

Note: until ViaVersion/ViaVersion#2138 is merged, there is no official download source for ViaVersion.

  1. Change forge_support to true in config.yml.
forge_support: true
  1. Change ip_forward to true in config.yml.
ip_forward: true
  1. Download the following:
    Geyser from Jenkins
    ViaVersion from here
    Recommended: Floodgate from Jenkins
    Optional: ViaBackwards from Jenkins
    Optional: ViaRewind from Jenkins
  2. Place all of the downloaded files into Waterfall's plugins folder, then restart Waterfall.
  3. Change suppress-conversion-warnings to true in plugins/ViaVersion/config.yml.
# We warn when there's a error converting item and block data over versions, should we suppress these? (Only suggested if spamming)
suppress-conversion-warnings: true
  1. Change general-thread-pool to the number of cores on your Waterfall server in plugins/Geyser-BungeeCord/config.yml. Example for 8 cores:
# Thread pool size
general-thread-pool: 8
  1. Change cache-chunks to true in plugins/Geyser-BungeeCord/config.yml. Disregard the warnings, because this feature is critical to making Bedrock clients work correctly with Cubic Chunks.
# Configures if chunk caching should be enabled or not. This keeps an individual
# record of each block the client loads in. While this feature does allow for a few
# things such as block break animations to show up in creative mode and among others,
# it is HIGHLY recommended you disable this on a production environment as it can eat
# up a lot of RAM. However, when using the Spigot version of Geyser, support for features
# or implementations this allows is automatically enabled without the additional caching as
# Geyser has direct access to the server itself.
cache-chunks: true
  1. If you downloaded Floodgate: Find the player-link section in plugins/floodgate-bungee/config.yml and change enable to true.
  # Whether to enable the linking system. Turning this off will prevent
  # players from using the linking feature even if they are already linked.
  enable: true
  1. If you downloaded Floodgate: Find the remote section in plugins/Geyser-BungeeCord/config.yml and change auth-type to floodgate.
  # Authentication type. Can be offline, online, or floodgate (see https://github.com/GeyserMC/Geyser/wiki/Floodgate).
  auth-type: floodgate
  1. Restart Waterfall.

Congratulations! You can now connect to your Cubic Chunks server through Waterfall with any one of the following clients:

  • Cubic Chunks 1.12.2
  • Vanilla Java Edition 1.12.2-1.16.3
  • Bedrock Edition
  • If you downloaded ViaBackwards: Vanilla Java Edition 1.9-1.16.3
  • If you downloaded ViaRewind: Vanilla Java Edition 1.7-1.16.3

Additional notes:

ViaRewind and BungeeTabListPlus

If you are using ViaRewind in combination with BungeeTabListPlus on Waterfall, create a new file 1-7-10.yml in plugins/BungeeTabListPlus/tabLists with the following contents:

showTo: ${viewer client_version_below_1_8}
priority: 100000

showHeaderFooter: false
type: HEADER_FOOTER

This is required to avoid breaking player skins and name tags for players running 1.7.10 and below.

@Konicai
Copy link

Konicai commented Feb 11, 2021

Just wanted to let you know, the link to Floodgate has changed, and the link for ViaVersion is outdated

@LinuxJava7
Copy link

rip bte big network

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment