Table of Contents

.setmode

This article is about the command that changes mode settings within Wurst. For the command that changes the users gamemode, see .gm.

.setmode
The .help entry for .setmode.
TypeCommand
Categorynone
In-game description“Changes a mode setting of a feature. Allows you to
switch modes through keybinds.

Syntax: .setmode <feature> <setting> <mode>
.setmode <feature> <setting> (prev|next)“
Default keybindnone
Source codenet/wurstclient/commands/SetModeCmd.java

.setmode is a chat command that allows the user to manage EnumSettings (Wurst 7) or ModeSettings (Wurst 6) through the chat.

Since any .setmode command can be turned into a keybind, this command also makes it possible to create keybinds that instantly change a ModeSetting/EnumSettting when a key is pressed.

Syntax

Main article: Command Syntax

Examples:

Changes

VersionChanges
Wurst 2.15Added .setmode.
Wurst 2.20.setmode will now assume that all spaces in setting names have been replaced with underscores. This makes it possible to use .setmode on a setting with spaces in its name without result in a syntax error.
Wurst 7.0pre1Temporarily removed .setmode.
Wurst 7.0pre23Re-added .setmode.