Inventory ToDo 1.4.0 (Forge 1.21.4)
Curse Maven Snippet
What's new
Added
- Commands for server OPs and map makers (OP level 2, the server console and command blocks; the server needs the mod):
/invtodo opadd <target> item|text|chest ...adds rows to players' lists.chest <x> <y> <z> [in <dimension>]reads a container: same items are merged into one goal, a renamed paper becomes a text row. Optionsonce(skip rows that are already there) andsilent(no chat notice).opremove(withchestthe exact opposite ofopadd chest),opclear [done],opdone/opundone(tick quests, e.g. when a boss dies),opview.opcheck <target> item|text ... [count] [done]counts matching rows without changing anything: one list = number of rows, a selector with several players = number of players with a match. Made for comparators and quest chains.opswitch <players> personal|sharelist <name>|oplist <name>|oplistfor <prefix> [silent]changes the list players see.oplist create|createfor|add|kick|rename|disband|list|members: server lists have no owner and are managed by OPs; players can't leave or delete them.createfor @a Quest-gives every player their own server list (the prefix is required; one list per player and prefix). Theoplistcommands also work on players' shared lists.- Targets: a player or any selector (
@a,@p[...]) = their personal list;sharelist <name>,oplist <name>,oplistfor <prefix> <players>. Selectors work for everyone they can and report the players who were skipped. - The result is the number of rows changed (for
opcheckthe count); a result of 0 makes the command fail, so a comparator behind a command block lights up only when something changed or matched./execute store resultgets the number; 1.8–1.12.2 also fill theQueryResultstat.
- Three kinds of lists and panel tabs: personal list (Mine), shared lists made by players (Shared) and server lists made by OPs (Server). Tabs appear on servers with the mod; click the shown tab again to pick another list of that kind. The Shared tab offers "+ New shared list" even before there is one. A red ! marks a tab whose lists got new rows. OPs can manage server lists from the panel (add players without an invite, remove, rename, disband), act as owner on shared lists they are in, and show every server list of the server (lists they are not in are grey and can be edited without joining).
- HUD: a header names the list (
Mine,Shared: Base,Server: Quest-Steve). New pinned lists: show several lists stacked, each with its own row count and hide-done setting (panel settings; on 1.7.10 the ⇄ menu). - OP rows: rows added by OP commands show a lock. By default players can't delete, edit or tick them; item rows finish by holding the items, text rows by
opdone. Finished OP rows can be deleted. - Server settings in game:
/invtodo opconfigopens a server settings screen (switches, number fields, descriptions on hover, reset to default; all versions including 1.7.10), or/invtodo opconfig <setting> <value>. Settings:requireMod(kick players without the mod),playersCanEdit,playersCanDeleteOpRows,playersCanEditOpRows,opRowsManualDone,deleteDoneOpRows,autoRemoveDoneOpRows,allowSendRows,personalList(turn personal lists off for maps),sharedLists,maxListsPerPlayer,maxRowsPerList,maxChestRows,hudForceServerList(keep the player's server list on top of the HUD),tabNameMine/tabNameShared/tabNameServer(rename the tabs; text fields in the settings screen).opconfig <setting> defaultresets a setting. Changed values are saved in the world (<world>/data/inventorytodo/settings.json) and overrideconfig/inventorytodo/server.json, so maps keep their settings. - Player commands (no OP, work on any server):
/invtodo add item <id> [count],add text "<text>",add chest(the container you look at),remove item|text|chest,clear [done],show(print the list in chat). They edit the list that is shown./invtodo switchalso takespersonal,sharelist <name>,oplist <name>andoplistfor <prefix>. - Tab completion for the new commands (except Forge 1.14–1.17.1 and Fabric 1.14–1.16.1, as before).
/invtodo helpin groups: My list, Switching lists, Shared lists, Other, and for OPs only OP: rows, OP: list management, OP: settings. One line per command; hover shows the full usage, click puts the command into the chat./invtodo help <group>(e.g.help op,help sharelist) shows one group.- Wiki: new page "For server OPs & map makers" with a quest-map walkthrough, plus the full command and server settings reference.
Changed
server.json:enabledis now calledsharedLists(the old name is still read)./invtodo share ...is now/invtodo sharelist ...(sharestill works).- Menus only show what you can do: players don't see rename / disband / remove on server lists or on shared lists they don't own, and row actions the server settings forbid (edit, tick, delete, send) are left out instead of being refused. The hint under the members line names only what you can do there.
- Wording: "admin" is now "OP" everywhere (settings screen, notices, wiki).
This mod has no additional files