Wurst.Wiki

The Official Wurst Client Wiki

User Tools

Site Tools


cmd:itemlist
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


cmd:itemlist [2022/01/19 09:10] (current) – created alexander01998
Line 1: Line 1:
 +====== .itemlist ======
  
 +<WRAP 516px>
 +^  .itemlist  ^^
 +|{{ itemlist.webp?500 |The .help entry for .itemlist.}}||
 +^Type|[[:Command]]|
 +^Category|[[:No Category|none]]|
 +^In-game description|"Changes a ItemList setting of a feature. Allows you\\ to change these settings through keybinds.\\ \\ Syntax: .itemlist <feature> <setting> add <item>\\ .itemlist <feature> <setting> remove <item>\\ .itemlist <feature> <setting> list [<page>]\\ .itemlist <feature> <setting> reset\\ Example: .itemlist AutoDrop Items add dirt"|
 +^[[:keybinds#default_keybinds|Default keybind]]|none|
 +^Source code|[[w7src>net/wurstclient/commands/ItemListCmd.java]]|
 +</WRAP>
 +
 +.itemlist is a [[:command|chat command]] that that allows the user to manage [[:ItemListSetting|ItemListSettings]] through the chat.
 +
 +Since any .itemlist command can be turned into a [[:keybind]], this command also makes it possible to create keybinds that instantly change an ItemListSetting when a key is pressed.
 +
 +The following features currently have an [[:ItemListSetting]] and thus can be used with ''.itemlist'':
 +
 +{{topic>has_itemlistsetting&simplelist}}
 +
 +===== Syntax =====
 +
 +Main article: [[Command Syntax]]
 +
 +  * ''.itemlist <feature> <setting> add <item>'' adds <item> to <setting> of <feature>.\\ \\ 
 +  * ''.itemlist <feature> <setting> remove <item>'' removes <item> from <setting> of <feature>.\\ \\ 
 +  * ''.itemlist <feature> <setting> list [<page>]'' lists the items in <setting> of <feature>.\\ \\ 
 +  * ''.itemlist <feature> <setting> reset'' resets <setting> of <feature> to its default values.\\ \\ 
 +
 +Examples:
 +  * ''.itemlist AutoDrop Items add dirt'' adds [[mc>dirt]] to [[:AutoDrop]]'s [[:AutoDrop#Items|Items]] setting.\\ \\ 
 +  * ''.itemlist AutoDrop Items list'' lists the items in [[:AutoDrop]]'s [[:AutoDrop#Items|Items]] setting.\\ \\ 
 +  * ''.itemlist AutoDrop Items list 2'' shows page 2 of [[:AutoDrop]]'s [[:AutoDrop#Items|Items]] setting, if it contains enough items to be 2 pages long.\\ \\ 
 +  * ''.itemlist AutoDrop Items reset'' resets [[:AutoDrop]]'s [[:AutoDrop#Items|Items]] setting to the default values.\\ \\ 
 +  * ''.itemlist AutoDrop Items remove dirt'' removes [[mc>dirt]] from [[:AutoDrop]]'s [[:AutoDrop#Items|Items]] setting.\\ \\ 
 +
 +===== Changes =====
 +
 +^Version^Changes^
 +|[[update:Wurst 7.20]]|Added ''.itemlist''.|
 +
 +{{tag>client-side}}
cmd/itemlist.txt · Last modified: 2022/01/19 09:10 by alexander01998