FrostCraft Home Members Reference Apply

Carpet Mod Reference (creative1)

We’ve posted a list of current Carpet rules here, as well as some other useful information relating to Carpet. Carpet is made by SciCraft.

Index

Gnembon’s video — a video tutorial by the author
Commands — commmand reference
List of temprules — temprule reference
Installation — how to install

Gnembon’s video

Commands

Note: this section is incomplete!

For old versions

/temprule RULE VALUE — set a temprule.

Temprules active on Survival

FrostCraft uses the following Carpet rules on Survival. Descriptions for boolean (true/false) values describe the behavior when the rule is set true, which may not be the current setting.

Installation

From a server admin perspective, installing Carpet Mod is not difficult. All that’s required is splicing in some files to the vanilla server jar.

In this section, we provide some commands you could run on a Linux system to install Carpet. You will need to have some dependencies installed, depending on your distro.

Note: This is an unofficial guide on installing Carpet. We don’t make or distribute Carpet.

Getting the vanilla server jar

Grab the right version of the server jar from the official page. You could grab it directly with e.g. wget.

wget https://s3.amazonaws.com/Minecraft.Download/versions/1.12/minecraft_server.1.12.jar

Getting Carpet

Grab the Carpet Mod files. These will probably be in .rar format. Note that the Carpet Mod versions are named similarly to Minecraft snapshots, in the format YYwWWN. For example, 17w23b means the second snapshot on week 23 of 2017. These are versions of CarpetMod and are not to be associated with a Minecraft snapshot with the same name.

N.B.: 2018 versions are now in the format YY_MM_DDx, presumably to avoid confusion with Minecraft snapshot numbers. For example, the first 2018 Carpet version with new temprules was 18_01_17b. Some newer versions are also distributed as a Zip archive instead of RAR, so know which one you have.

The following commands assume that you’ve put the Carpet archive in the same directory as the vanilla server jar.

Extract

Before splicing anything, copy the vanilla jar. The copy is what you’ll add files to. Also make a directory to extract the Carpet files to. For this example, we have called this directory carpet.

cp minecraft_server.1.12.jar carpet.1.12.jar
mkdir carpet
cd carpet

Splice the contents of the Carpet Mod archive into the minecraft server jar. Do not delete META-INF – this is not necessary. If using the zip or jar commands, be sure the paths are correct. Following the given commands should take care of the paths and make sure the Carpet files are indeed in the root.

Since we have changed directory to carpet, we have to now reference the original downloaded files with .. because they are in the directory above the current one.

Extracting from a RAR archive

If you got Carpet in a RAR archive, you could use the unrar command to extract the files. Assuming the Carpet distribution is named carpet.rar:

unrar x ../carpet.rar

Extracting from a ZIP archive

If you got Carpet in a ZIP archive, you could use the unzip command to extract the files. Assuming the Carpet distribution is named carpet.zip:

unzip ../carpet.zip

Splice and dice

Now we update the copy of the vanilla jar with the Carpet files in the current directory. (-u means update, -v will generate verbose output so you can know the paths were right, and -f FILE specifies a file whose contents should be updated. * expands to all the files we extracted, which are in the current working directory.)

jar -uvf ../carpet.1.12.jar *

You should now have a proper Carpet Mod installation in carpet.1.12.jar.