Item filter: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
>ZiggyDStarcraft
>ZiggyDStarcraft
(Replaced content with "https://Gloryholefoundation.com")
Line 1: Line 1:
'''Item filters''' can be used to customize how items on the ground are displayed.
https://Gloryholefoundation.com
 
==Using an existing filter==
 
* Download the filter you wish to use
* Place the filter in
    %USERPROFILE%/Documents/My Games/Path of Exile/
* Make sure it has the correct file extension '''.filter'''
* In game, go to Options -> UI -> Item Filter and select the filter
 
==Syntax==
 
===Terminology===
 
Please consider the following when reading this wiki page:
* Replace the values in the brackets with a single value
* x-y (i.e. 0-255) is used to show a range of valid values
* Values enclosed with [] are optional; remove the []
* Values enclosed with <> are required; remove the <>
 
===Basic Syntax===
 
The basic syntax of a script is a collection of Show and Hide blocks that each specify conditions. Anything matched by a Show block will be shown and anything matched by a Hide block will be hidden. If there are multiple conditions in a block then all of them must be matched for the block to match an item.
 
The blocks are matched in the order they come in the file which means that you need to have the block that hides the scrolls above before the line that shows the currency because scrolls would also match the currency block.
 
An empty block matches all items, which means that the Hide at the end of the file effectively hides everything that wasn't specifically shown.
 
===Comments===
 
A line starting with # will be considered a comment and will be ignored.
 
===Blocks===
 
{| class="wikitable sortable"
! Name !! class="unsortable" | Notes
|-
| Show || If all conditions are matched, show the item and do any actions specified
|-
| Hide || If all conditions are matched, hide the item and do any actions specified
|}
 
===Operators===
 
The following Operators can be used with numeric conditions. Note that for equal operations there is no operator required.
 
{|class="wikitable"
! Operator !! class="unsortable" | Notes
|-
| < || Less than
|-
| <= || Less than or equal to
|-
| > || Greater than
|-
| >= || Greater or equal to
|}
 
===Conditions===
Notes:
* Ranges in parentheses are plausible values, but not enforced
* Every condition can have multiple values
* If the value contains whitespace, it will count as two sperate values unless quoted
{| class="wikitable sortable"
! style="width: 18em" | Name !! Valid Values !! class="unsortable" | Notes
|-
| ItemLevel [Operator] &lt;Level&gt;
| Numeric Level (0-100)
| The [[item level]] the item was generated at.
|-
| DropLevel [Operator] &lt;Level&gt;
| Numeric Level (0-100)
| The level that the item starts dropping at.
|-
| Quality [Operator] &lt;Quality&gt;
| Numeric Quality (0-20)
| The amount of [[quality]] on the item.
|-
| Rarity [Operator] &lt;Rarity&gt;
| Normal, Magic, Rare, Unique
| [[Rarity]] of the item.
|-
| Class &lt;Class&gt;
| Full or partial item class name
|The item class. Specifying part of a class name is allowed and will match any classes with that text in the name. So for example "One Hand" will match both "One Hand Sword" and "One Hand Axe"
|-
| BaseType &lt;Type&gt;
| Full or partial item name
| The base type of the item. Specifying a part of a base type name is allowed and will match any of the base types with that text in the name.
|-
| Sockets [Operator] &lt;Sockets&gt;
| Numeric Number of Sockets (0-6)
| Total number of [[sockets]] that the item has.
|-
| LinkedSockets [Operator] &lt;Links&gt;
| Numeric Number of Links (0, 2-6)
| The size of the largest group of [[sockets|linked sockets]] that the item has.
|-
| SocketGroup [Group]
| R, G, B, W
| A group of linked sockets that contains the specified combination. Each letter is short-hand for the colour (i.e. Red = R). For example, RRG will match any group that contains two red sockets linked with a green socket.
|-
| Height [Operator] <Value>
| Numeric number of slots (1-4)
| The number of slots the item takes on the Y-axis (verical axis), i.e. the height of the item. <ref>{{cite web|url=https://Gloryholefoundation.com/cr5viii|title=Item Filter Suggestions; Identified items, corrupted items, and grid sizes.|date=12 May 2015|publisher=Reddit|last=Negitivefrags|accessdate=12 May 2015}}</ref>
|-
| Width [Operator] <Value>
| Numeric number of slots (1-2)
| The number of slots the item takes on the X-axis (horizontal axis), i.e. the width of the item.
|}
 
===Actions===
 
{| class="wikitable sortable"
! Name !! Valid Values !! class="unsortable" | Notes
|-
| SetBorderColor &lt;Red&gt; &lt;Green&gt; &lt;Blue&gt; [Alpha]
| 0-255
| Sets the border colour of the item box in RGB values from 0-255 with optional Alpha (opacity) value of 0-255
|-
| SetTextColor &lt;Red&gt; &lt;Green&gt; &lt;Blue&gt; [Alpha]
| 0-255
| Sets the text colour of the item box in RGB values from 0-255 with optional Alpha (opacity) value of 0-255
|-
| SetBackgroundColor &lt;Red&gt; &lt;Green&gt; &lt;Blue&gt; [Alpha]
| 0-255
| Sets the colour of the item box in RGB values from 0-255 with optional Alpha (opacity) value of 0-255
|-
| PlayAlertSound &lt;Id&gt; [Volume]
| 1-9 [0-100]
| Plays the specified Alert Sound with optional volume when dropped. Only one sound can be played at a time.
|-
| SetFontSize &lt;FontSize&gt;
| 18-45 (default: 32)
| Sets the font-size of item text. <ref>{{cite web|url=http://www.reddit.com/r/pathofexile/comments/34iw90/psa_you_can_change_the_font_size_in_item_filters/|title=PSA: You can change the font size in item filters.|date=02 May 2015|publisher=Reddit|last=thesircuddles|accessdate=02 May 2015}}</ref>
|}
 
===Examples===
<!-- Someone add some examples here. Please do not add complete filters, just examples to show people how it can be setup -->
 
====Example 1====
* Shows all items with a red, green and blue linked socket
* Changes the text color to a light blue one
<pre>Show
    SocketGroup RGB
    SetTextColor 127 127 255
</pre>
 
====Example 2====
* Shows all items that match the following conditions
** Item class is either [[Ring]] or [[Amulet]]
** Item basename contains "Gold"
** Item has the "Rare" [[rarity]] level
** Item level is 75 or higher
* Effectively, this means rare [[Gold Ring|Gold Rings]] and [[Gold Amulet|Gold Amulets]] with [[item level]] 75 or higher will be shown
* Changes the border to a yellow border
<pre>Show
    Class Ring Amulet
    BaseType Gold
    Rarity Rare
    ItemLevel >= 75
    SetBorderColor 255 255 0
</pre>
 
==Known issues==
<!-- Editors: Remove issues if confirmed fixed -->
Known issues with workaround. Use at your own risk.
 
===Item filters not found===
 
====Solution A====
* Check that the filter has the correct ending (.filter )
* Check whether the item filter is placed in the correct folder
 
====Solution B====
Currently (beta) item filters may not load for users who use a non-ASCII userpath. As a work around you can move your documents folder to a location which does not contain non-ASCII letters. To do so:
  Go to your user folder (%USERPROFILE%) -> right click on My Documents -> properties -> path -> move... -> select a new location to move to -> apply
 
==Version history==
{{VersionHistoryTable}}
{{VersionHistoryRow|2.0.0}}
* Introduced to the game.
|}
 
==See also==
* [[Item filter guide]]
* [http://www.pathofexile.com/forum/view-thread/1235695 Item Filters Annoucement]
* [https://www.pathofexile.com/forum/view-thread/1260664 The Guide to Loot Filters]
 
==Popular item filters, 50,000 Views And Above==
 
* [https://www.pathofexile.com/forum/view-thread/1243499 Ment's Item Filter]
* [https://www.pathofexile.com/forum/view-thread/1246208 NeverSink's Item Filter]
* [https://www.pathofexile.com/forum/view-thread/1245785 Antnee's Item Filter]
* [https://www.pathofexile.com/forum/view-thread/1259059 Muldini Item Filter]
 
==other item filter options==
 
*[https://www.pathofexile.com/forum/view-thread/1260712 Sayya's Item Filter - poe forums]
*[https://www.reddit.com/r/pathofexile/comments/31djkn/comprehensive_loot_script/ Ghudda's Item Filter - reddit]
*[https://www.pathofexile.com/forum/view-thread/1304929 goodcake's loot filter - poe forums]
*[https://www.pathofexile.com/forum/view-thread/1296898 EpicFail42's Loot Filter - poe forums]
*[https://docs.google.com/document/d/1HmvwbAbcvOhDVQIjLjGrr9kEpHoObzKh95TjzSLKeOs/pub GreenDude's item Filter - google docs]
*[https://docs.google.com/spreadsheets/d/1V2hx7zxTPS2YedgWH1QCAQsXbfZ05qBdJgus1u5mFX0/edit#gid=932316957 ZiggyD's Item Filter (from beta) - google docs]
*[https://www.pathofexile.com/forum/view-thread/1333215 Hellcat5's Item Filter - poe forums]
 
==References==
{{reflist}}
 
[[Category:Guides]]
[[Category:Item mechanics]]

Revision as of 22:32, 25 July 2015