---
title: Properties for Class Wars
description: Mapedit properties for Class Wars.
url: "https://www.penguingames.fun/support/mapedit-config/cw-properties/"
updated: "2024-02-17"
category: Mapedit / Mapedit Configuration
---

# Properties for Class Wars

## *red-team-spawn:* the spawn point for the red team

Use **/set red-team-spawn** to set this property to your current location
Use **/show red-team-spawn** to teleport to this property

## *buffs:* all buffs the player has for this map

Use **/add buffs <buff>** to add a buff
Use **/remove buffs <buff>** to remove a buff
Use **/properties buffs** to list all buffs

## *weight:* the weighted probability that this map is chosen

The default weight for maps is 10. Higher means the map appears more frequently; lower means it appears less frequently.

## *min-players:* the minimum number of players required to choose this map

Use **/set min-players <players>** to set this property to the specified value

## *world-info:* various properties related to how the world appears to players while in the map

Use **/set world-info** to set all subproperties for this property at once
Use **/properties world-info** to view all subproperties for this property
It contains the following subproperties:

### *sandstorm:* whether there's a sandstorm

Use **/set world-info.sandstorm <enabled>** to set this property to the specified value, either true or false

### *jungle-bg:* the background for the above-ground jungle biome

Use **/set world-info.jungle-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *corrupt-bg:* the background for the corruption biome

Use **/set world-info.corrupt-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *cave-bg:* the background for the cave biome

Use **/set world-info.cave-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *crimson-bg:* the background for the crimson biome

Use **/set world-info.crimson-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *below-cavern-level:* whether the map is below the cave level

Use **/set world-info.below-cavern-level <true/false>** to set this property to the specified value, either true or false

### *rain:* whether it's raining

Use **/set world-info.rain <enabled>** to set this property to the specified value, either true or false

### *time:* the time of day

Use **/set world-info.time <time>** to set this property to the specified value with the format hh:mm in 24-hour time

### *ice-bg:* the background for the underground ice biome

Use **/set world-info.ice-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *snow-bg:* the background for the above-ground snow biome

Use **/set world-info.snow-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *desert-bg:* the background for the desert biome

Use **/set world-info.desert-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *underground-jungle-bg:* the background for the underground jungle biome

Use **/set world-info.underground-jungle-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *mushroom-bg:* the background for the mushroom biome

Use **/set world-info.mushroom-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *hallow-bg:* the background for the hallow biome

Use **/set world-info.hallow-bg** to cycle through the values of this property, or if you specify a value, set it to that

### *surface-level:* the level at which the world is underground

Use **/set world-info.surface-level <above/below>** to set this property with either "above", "below", or no argument to set it to a specific height

### *sun-moon-type:* special versions of the sun and moon

Use **/set world-info.sun-moon-type <type>** to set this property to the specified value. You can set it to these values: Normal, BloodMoon, Eclipse, PumpkinMoon, FrostMoon

### *underworld-bg:* the background for the underworld biome

Use **/set world-info.underworld-bg** to cycle through the values of this property, or if you specify a value, set it to that

## *max-players:* the maximum number of players required to choose this map

Use **/set max-players <players>** to set this property to the specified value

## *challenge-regions:* regions that can be referenced in weekly challenges

Use **/add challenge-regions** to add a new region
Use **/remove challenge-regions[index]** to remove a region
Use **/properties challenge-regions** to list all regions in the map
Use **/set challenge-regions[index]** to set all subproperties for an item in this list at once
Use **/properties challenge-regions[index]** to view all subproperties for an item in this list
It contains the following subproperties:

### *area:* the bounds of this region

Use **/set challenge-regions[index].area** to set this property to the specified mined coordinates
Use **/show challenge-regions[index].area** to teleport to and visualize the bounds of this property

### *name:* the name of this region

Use **/set challenge-regions[index].name <name>** to set this property to the specified value

## *blue-team-spawn:* the spawn point for the blue team

Use **/set blue-team-spawn** to set this property to your current location
Use **/show blue-team-spawn** to teleport to this property

## *name:* the name of the map

Use **/set name <name>** to set this property to the specified value

### *Related*
