Skip to content

Commands ​

Inventory ToDo has one command, /invtodo, with the short alias /itodo. There are three groups:

  • Player commands: edit the list you see. Client-side, no OP needed, work on any server.
  • Sharing commands: shared lists, switching lists, blocking players.
  • OP commands: change other players' lists and the server settings. For operators and command blocks; the server needs the mod.

Tab completion works on every version except Forge 1.14–1.17.1 and Fabric 1.14–1.16.1, where the commands work without it.

Help in chat 1.4.0+ ​

/invtodo help (or /invtodo alone) lists the commands in groups: My list, Switching lists, Shared lists and Other, and for OPs also OP: rows, OP: list management and OP: settings. Each command is one line; hover it to see the full usage, click it to put the command into the chat field.

The full list is long for OPs, so /invtodo help <group> shows only one group:

GroupCommands
listadd, remove, clear, show
switchswitch
sharelistsharelist ...
otherblock, unblock, help
op (OPs)all three OP groups
oprows (OPs)opadd, opremove, opclear, opdone, opundone, opcheck, opview
oplist (OPs)oplist ..., opswitch
opconfig (OPs)opconfig

Groups you can't use are not shown (for example switch and sharelist on a server without the mod, or the OP groups for players who are not OP). The last line lists the group names; click it to type /invtodo help . On the server console and in command blocks, /invtodo help lists the OP groups with every usage line.

/invtodo help oprows with the mouse over the opadd line: the full usage of opadd and the targets

Player commands ​

These act on the list shown in your panel (your personal list or the shared list you switched to).

CommandWhat it does
/invtodo add item <id> [count]Adds an item row. count is the goal (default 1)
/invtodo add text "<text>"Adds a text row
/invtodo add chestAdds the contents of the container you are looking at (see below)
/invtodo remove item <id> [count]Removes matching item rows (count = at most this many rows, from the bottom)
/invtodo remove text "<text>" [count]Removes matching text rows
/invtodo remove chestRemoves exactly the rows add chest would add for that container
/invtodo clearRemoves all rows
/invtodo clear doneRemoves only the finished rows
/invtodo showPrints the list that is shown in chat (works without the mod on the server)

Item ids use the /give syntax of your Minecraft version, data included:

/invtodo add item minecraft:iron_ingot 64
/invtodo add item minecraft:diamond_sword{Damage:0}        (1.13 – 1.20.4)
/invtodo add item minecraft:paper[custom_name="Map"]       (1.20.5 and newer)
/invtodo add item minecraft:wool:14 16                     (1.7.10 – 1.12.2: id:meta)

remove item minecraft:diamond_sword without data removes every diamond sword row; with data only the rows with exactly that data.

add chest: same items are merged into one row with the total as the goal, and a renamed paper becomes a text row with the paper's name. With the mod on the server, the server reads the container you look at (up to 10 blocks away). Without it, open the container once first: the mod remembers what was inside.

If the server turned off editing (playersCanEdit) or personal lists (personalList), these commands are refused on your personal list. Rows added by an OP are protected; see Server settings.

Sharing commands ​

CommandWhat it does
/invtodo help [<group>]Lists the commands in groups (also /invtodo alone), see Help in chat
/invtodo sharelist create <name>New shared list from your whole personal list
/invtodo sharelist invite <player>Invites a player to the shared list that is shown
/invtodo sharelist acceptAccepts the latest invite
/invtodo sharelist declineDeclines the latest invite
/invtodo sharelist leaveLeaves the shared list that is shown
/invtodo sharelist kick <player>Removes a member (owner only)
/invtodo sharelist disbandDeletes the shared list that is shown, for everyone (owner only)
/invtodo sharelist owner <player>Makes another member the owner (owner only)
/invtodo sharelist listYour shared lists and their members (* = owner, green = online)
/invtodo switch personalShows your personal list in the panel and HUD
/invtodo switch sharelist <name>Shows one of your shared lists
/invtodo switch oplist <name>Shows one of your server lists
/invtodo switch oplistfor <prefix>Shows your own server list made with that prefix (oplist createfor)
/invtodo switch <name>Shows any of your lists by name
/invtodo block <player>Ignores lists and invites from a player
/invtodo unblock <player>Stops ignoring a player
  • The sharelist and switch commands need the mod on the server. Without it they are hidden from the help. (share from 1.3 still works as a hidden alias of sharelist.)
  • Put names that contain spaces in quotes: /invtodo switch "Team Base".
  • invite, leave, kick, disband and owner act on the shared list that is currently shown.
  • There are no commands for sending or copying rows; use the panel for those.

OP commands ​

For operators (permission level 2), the server console and command blocks. The server needs Inventory ToDo. For a step-by-step example, see For server OPs & map makers.

CommandWhat it does
/invtodo opadd <target> item <id> [count] [once] [silent]Adds an item row (count = goal, default 1)
/invtodo opadd <target> text "<text>" [once] [silent]Adds a text row
/invtodo opadd <target> chest <x> <y> <z> [in <dimension>] [once] [silent]Adds the contents of a container (merged like add chest, renamed paper = text row)
/invtodo opremove <target> item|text ... [count] [silent]Removes matching rows
/invtodo opremove <target> chest <x> <y> <z> [in <dimension>] [silent]Exact opposite of opadd ... chest with the same container
/invtodo opclear <target> [done] [silent]Removes all rows, or only the finished ones
/invtodo opdone <target> item|text ... [silent]Marks matching rows as done (quests)
/invtodo opundone <target> item|text ... [silent]Marks them as not done again
/invtodo opview <target>Shows the list in chat
/invtodo opcheck <target> item <id> [count] [done]Counts matching item rows, changes nothing (see Checking progress)
/invtodo opcheck <target> text "<text>" [done]Counts matching text rows
/invtodo opswitch <players> personal|sharelist <name>|oplist <name>|oplistfor <prefix> [silent]Changes the list players see in their panel and HUD (they must be members)
/invtodo oplist create <name>New server list (no owner; members can't leave or invite)
/invtodo oplist createfor <players> <prefix>One server list per player, named <prefix><player>. The prefix is required
/invtodo oplist add <name> <players> [silent]Adds players to a server list or a shared list (no invite needed)
/invtodo oplist kick <name> <players>Removes players from a list
/invtodo oplist rename <name> <new name>Renames a list
/invtodo oplist disband <name>Deletes a list
/invtodo oplist listAll shared lists and server lists on the server
/invtodo oplist members <name>Members of a list
/invtodo opconfigOpens the server settings screen
/invtodo opconfig <setting> [value]Shows or changes one setting, see Server settings

Lists ​

There are three kinds of lists:

KindMade byOwnerPanel tab
Personal listeveryone has onethe playerMine
Shared list (sharelist)players, to share with friendsthe player who made itShared
Server list (oplist)OPs (oplist create, oplist createfor)none: managed by OPsServer

The oplist commands also work on players' shared lists (add, kick, rename, disband, members), so an OP can clean them up.

Targets ​

<target> is one of:

TargetRows go to
Steve, @a, @p, @a[team=red] …each player's personal list
sharelist <name>a shared list made by players
oplist <name>a server list
oplistfor <prefix> <players>each player's own server list made with oplist createfor <players> <prefix>

Examples: opadd @a text "Welcome", opadd oplist "Main quests" item minecraft:diamond 3, opdone oplistfor Quest- @p text "Talk to the guide".

Players must be online and have the mod for their personal list. With a selector the command still works for the others and reports the players it skipped (offline, no mod, no list with that prefix). Using the wrong kind (sharelist for a server list or the other way round) gives a clear error.

Options ​

OptionMeaning
onceAdds nothing if the same row is already in the list. Safe for repeating command blocks and re-entering an area
silentNo chat message for the players. Feedback for the sender is still shown
in <dimension>Container in another dimension, e.g. in minecraft:the_nether. Default: the sender's dimension
done (opclear, opcheck)Only finished rows

Coordinates can be relative to the sender (~ ~-1 ~), like in vanilla commands.

Rows added by OP commands ​

Rows added with opadd are OP rows and show a lock. By default players can't delete, edit or tick them: item rows finish when the player holds the items, text rows when you run opdone. Finished OP rows can be deleted. All of this can be changed in the server settings.

Checking progress ​

opcheck changes nothing; it only counts. With one list (a player name, @p, oplist <name> …) the result is the number of matching rows. With a selector that finds several players, the result is the number of players whose list has a match, so you can compare it with the player count. count matches the goal of an item row, done counts only finished rows.

/invtodo opcheck @p text "Find the hidden library" done        -> 1 when that player finished it
/invtodo opcheck oplistfor Quest- @a item minecraft:diamond 5 done   -> players who have the 5 diamonds

Command blocks ​

Every OP command works in command blocks. The result is the number of rows that changed; a command that changed nothing (result 0) fails, so a comparator behind the block lights up only when something was added, removed or ticked, and for opcheck only when there is a match. The exact number (for opcheck the count described above) can be stored with /execute store result ... (1.13+); on 1.8–1.12.2 it is the QueryResult stat.

/invtodo opadd @p text "Find the hidden library" once
/invtodo opdone @a[distance=..30] text "Defeat the Wither"
/invtodo opadd @p chest ~ ~-2 ~ once

Made by junjun1z. The mods are MIT licensed.