Carpet Configuration - gnembon/fabric-carpet GitHub Wiki

Carpet Configuration

Everything Carpet is disabled by default

A Carpet server will function exactly the same as a vanilla by default. Your saved game data will also never be altered in a way that makes it incompatible with the vanilla game. This makes Carpet a great solution for players who might only want a single feature like enabling single player sleeping. And the best part is if you don't need that feature anymore, you go back to the vanilla client at any time.

Explore Carpet features in game

You will need OP to access all the /carpet functions. With OP permissions type /carpet to get started. You can click the colored text in the chat history to explore different categories, features, settings, etc. Changes to Carpet settings are not permanent by default and will be lost at the next server restart or shutdown.

TPS, Mobcaps and Default Loggers

One of the most popular features of Carpet is the ability to view TPS (Ticks Per Second), MSPT (Milliseconds Per Tick), and Mobcaps in the player screen (TAB). Below is an explanation of the different mobcaps shown:

mobcaps

Here are the different commands to enable these features:

/log tps
/log mobcaps

To make these display permanently you need to use the defaultLoggers command:

/carpet defaultLoggers tps
/carpet defaultLoggers mobcaps
/carpet defaultLoggers mobcaps,tps

You can also enable these permanently by directly editing the config file.

Permanently setting a value

If you would like to make a setting permanent you just have to click the second "change permanently" link that appears when you change a setting. Then press Enter to confirm. You can also edit the carpet.conf file that is located in your Minecraft world directory.

You can also set the default value with this command /carpet setDefault rule value

permanent changes

Limiting Access to Carpet by locking the configuration File

Putting the world "locked" on the top of your configuration file will prevent anyone from altering Carpet configuration values as well as access to it's features. You can then enable only the features you want players to be able to access.

Carpet Configuration File (carpet.conf)

All permanent changes you make in Carpet will be stored in the file carpet.conf located in your world directory.

Example carpet.conf

defaultLoggers mobcaps,tps
fastRedstoneDust true
onePlayerSleeping true
combineXPOrbs true
leadFix true
antiCheatDisabled true
persistentParrots true
xpNoCooldown true
ctrlQCraftingFix true
hopperCounters true
lagFreeSpawning true