-
Notifications
You must be signed in to change notification settings - Fork 69
CubicChunks on Mohist Server 1.12.2
this is a guide on how to get CubicChunks running on Mohist 1.12.2 [last updated: 21-Feb-2023]
Mohist is a hybrid Forge server that implements Spigot, Bukkit API, and some miscellaneous Paper patches. The advantage of it is that you can use Spigot and Bukkit plugins along with Forge mods in exchange for some incompatibilities and instability.
Mohist 1.12.2 is used by BuildTheEarth community to run creative build servers utilizing Cubic Chunks. With the exception of Cubic Chunks and a couple of utility mods, the servers are vanilla. It's highly recommended to use a Forge server instead, especially for survival and heavily modded servers that are not in dire need of plugins.
- Server Installation
- Important Fixes
- Tested Versions
- Mods & Plugins Compatibility
- Vanilla and Bedrock guide
You can get Mohist from Mohist Website or alternatively from their build server here. If you are unsure which version you should use, check out the Tested Versions.
You can download the mods from CC Discord or their respective CurseForge pages, but the most up-to-date versions should be available mostly on Discord. If you are unsure of which version you should use, check out the Tested Versions section.
After you downloaded the Mohist server file, rename it to server.jar
for sake of convenience, and then create a folder for the server and move it there.
Then create a server start script for your platform and put it into the same folder: (don't forget to adjust your minimum and maximum allocated ram if you need).
To use the Cubic Chunks world format on your server, you will need to do some changes to server.properties
:
-
Add your world's folder name to
level-name=
in case you want to add already existing world. -
Change level type:
-
Set
max-build-height=1073741824
needed to make things work properly. -
(optional) in case you want to limit player build height limits:
(Changing this will only make the blocks inaccessible, but it won't prevent them from being generated.)⚠️ (Values not in integer multiples of 16 may cause unintended behavior.)- when generating a new world:
- change
defaultMaxHeight
anddefaultMinHeight
values inyourserverfolder/config/cubicchunks.cfg
- change
- for the already existing world:
- use NBTExplorer program to edit
maxHeight:
minHeight:
values in/yourworldfolder/data/cubicChunksData.dat
- use NBTExplorer program to edit
- when generating a new world:
examples:
in cubichunks.config
:
# World max height. Values that are not an integer multiple of 16 may cause unintended behavior
# Min: 16
# Max: 2147479552
I:defaultMaxHeight=3071
# World min height. Values that are not an integer multiple of 16 may cause unintended behavior
# Min: -2147479552
# Max: 0
I:defaultMinHeight=-256
for Windows:
create start.bat
file with:
java -Xms128M -Xmx4G -jar server.jar
pause
for Linux:
create start.sh
file with:
#!/bin/sh
cd "$(dirname "$(readlink -fn "$0")")"
java -Xms128M -Xmx4G -jar server.jar
for macOS:
create start.command
file with:
#!/bin/sh
cd "$( dirname "$0" )"
java -Xms128M -Xmx4G -jar server.jar
Additionally for Mac and Linux you might need to make the script executable. You can learn how to do that here.
Mohist 1.12.2 seems to need to use custom Java 8 on macOS and possibly Linux. After you launch the server start script, you might get a write error like this:
Unsupported Java version, please use java 8 and read the message!
Do you want to use and download Java 8 automatically ? This java will only be used by the server and not your system. Type yes or no.
yes
[MOHIST] Downloading Java 8 for Mac system. Please wait !
Downloading file: java.zip Size: 36.849247MB
File java.zip download completed
[!] Mohist is running with custom Java 8 - Mac | Java Command - [/Users/mac/Desktop/mohist_server folder/CustomJAVA/bin/java, -jar, -Xmx4G, mohist-1.12.2-309-server.jar, launchedWithCustomJava8]
Exception in thread "main" java.io.IOException: Cannot run program "/Users/mac/Desktop/mohist_server folder/CustomJAVA/bin/java" (in directory "/Users/mac/Desktop/mohist_server"): error=13, Permission denied
This can be easily fixed by chmod recursively the CustomJava folder to 755. To do this, please follow these steps:
- open Terminal application
- type in:
chmod -R 755
- add one space
- drag CustomJAVA folder into the Terminal window
- press enter
- run the server start script again
to fix the frozen mobs and glitching falling entities, go to /mohist-config/mohist.yml
and set:
(note: In versions between #292-#263, this option was completely removed. In builds older than #263, this option can be found in /mohist-config/entity.yml
instead.)
skip-activation-range: true
If you want vanilla clients to be able to connect to the Mohist server with CubicChunks, you need to set the following in in /config/cubicchunks.cfg
:
B:allowVanillaClients=true
This section recommends which versions of Mohist and Cubicchunks you should be using based on reports by BuildTheEarth.
(at the time this is just reports from a few people running BTE creative servers lol.)
Recommended tested and working versions of Mohist 1.12.2 are #297
and newer. (BTE servers are currently using #320
)
note: If your server is part of the BungeeCord network, make sure you have Mohist version #193 or newer, otherwise, the vanilla clients won't be able to connect.
tested and recommended: #1257. You can try the newer versions and report here.
tested and recommended: #169. You can try the newer versions and report here.
Plugin List:
Some of the very commonly used plugins dropped support for 1.12.2. There are also some Mohist-specific issues where in some cases, a version of the plugin that works on 1.12.2 Spigot/Paper might not work on Mohist. Mohist 1.12.2 is also on End of Life support. I hope a list of such plugins will help you save time when troubleshooting. (If something was fixed/updated, or you found a solution, please contribute!)
- PlaceholderAPI 2.10.9 - some PAPI expansions are broken on 2.10.10. New versions should be tested. link.
- ProtocolLib 4.5.1 - 4.6.0+ is giving errors, breaking VentureChat and possibly some other plugins. More testing is needed. link.
- VAULT 1.6.7 (Spigot page release) - higher versions dropped support for 1.12. - link.
- Vault 1.5.6 (Bukkit page release) - older version in case of incompatibilities. - link.
- SKRIPT 2 5.3/2.6.x - higher versions will drop support for 1.12. 2.6.x recommended link.
- BannerMaker 1.9.0 - higher versions dropped support for 1.12.2 link.
- SKBee 1.10.2 - higher versions dropped support for 1.12 link.
- DeluxeMenu 1.13.3 - 1.13.4+ requires java 11 or higher (we use java 8) - link.
Mod List:
For mod compatibility, please see the Compatibility report on issue tracker: https://github.com/OpenCubicChunks/CubicChunks/issues/448