---
title: Configuring Your Map
description: General commands and an explanation on properties in Mapedit.
url: "https://www.penguingames.fun/support/mapedit-config/config/"
updated: "2023-03-03"
category: Mapedit / Mapedit Configuration
---

# Configuring Your Map

## Commands

*/new <gamemode> <name>* - creates a new map for the specified gamemode

*/edit <name or id>* - takes you to an existing map

*/search [-name <name>] [-gamemode <game>] [-page <page>] [-author <username>] [-published/-unpublished] [-needsreview] [-prev]* - list all maps you have access to based on the specified search criteria

*/resize <left/right/up/down> [amount]* - resizes the map you’re on by the specified number of blocks, positive or negative.

- Specify a positive amount to expand the map or a negative amount to shrink the map.
- If you don’t specify the amount, you’ll be prompted to set it by modifying a tile.
- Be careful—you can irreversibly destroy a map with this command.

*/savemap* - saves the map you’re currently on. Maps autosave, so this typically shouldn’t be necessary to use.

*/clearmap <items/npcs/projectiles>* - clears all items, npcs, or projectiles from the map you’re in.

*/crop [-air]* - crops out unnecessary borders from your map to make it more compact. Use the -air flag to crop air as well.

*/update-access <username> <access>* - lets you invite or kick others to collaborate with you on your map.

- The following access levels are available:
  - *None* - the player cannot join the map.
  - *ViewOnly* - the player can join the map, but they can't build or edit properties.
  - *CanBuild* - the player can join and build on the map, but they can't invite others.
  - *CanInviteOthers* - the player can invite other players, but they can't give other players this rank and can't change the access level of others with this access level or higher.
  - *Owner* - the player can update the access levels of all players to anything and can use */snapshot*.

*/leavemap* - relinquishes ownership of the map you’re in

*/allowedhere* - lists all players allowed in the map you’re in

*/author <true/false>* - toggles whether you’re credited as an author in the map you’re in

*/submit [-f] [changes]* - submits the map for review by staff when you are done with it

*/snapshot* - If you mess something up, you can use this command to revert your map back to a previous point in time.

- Snapshots are saved every 30 minutes, and the five most recent snapshots are kept.
- You can use */snapshot list* to view all available snapshots for a map, and then you can use */snapshot revert <id>* to revert the map to the specified snapshot.
- The snapshot id is the number on the left in brackets when you use */snapshot list*.
- To protect against using this command for griefing, this command is only usable by staff and those with the Owner permission on the map.

*/mc <message>* - send a message to all players who are in the same map that you’re in.

- Short for “map chat.”

*/propertyhelp [property]* - lists all properties in the map with info on them.

- You can specify an argument to get info on a specific property or subproperty, or you could provide no argument and see all the properties in a map.

## Properties

Maps have various metadata properties used to set things such as the spawn point for a map, starting inventories, checkpoints, and so on.

The specific properties are different depending on what the gamemode is for the map you are editing, but they can be accessed like this:

| name | Basic property. |
| --- | --- |
| list[12] | List, accessing item 12. |
| property.subproperty | Nested property. |
| list[5].subproperty | Bringing everything together. |

To view and modify these properties, you have the following commands:

*/set <property> [value]* - sets a property in the map you’re in

*/add <property> [value]* - adds an item to a list property

*/remove <item> [collection item]* - removes an item from a list property in the map you’re in

*/properties [specifier]* - gets all properties you can edit for the map you’re in.

- You can provide an argument for the subproperty you’re looking at.

*/show <property>* - shows you certain non-text properties like, for instance, teleporting you to the spawn point or giving you an inventory

### *Related*
