· 5 years ago · Jul 29, 2020, 10:12 PM
1# If the messages should try finding a text icon for this item from WolfieMarios Resourcepack (http://imgur.com/a/oHvbX)
2texticon-rp: false
3# If you have WorldResourcepacks (https://s.moep.tv/wrp) or ForceResourcepacks (https://s.moep.tv/frp) installed
4# then you can specify which pack contains the icons. So if WRP/FRP has not send a pack to the player or a pack
5# that does not include the icons according to the below list then it wont show the icon characters to him.
6# Set to an empty list [] in order to completely disable this compatibility.
7packs-with-icons: []
8# - serverpack
9# If you have issues with item names not translating and showing their id you can enable this option
10# and use the manual mapping in transmapping.yml for all items
11use-translation-mapping: false
12# This option sets whether it should try to use the Bungee chat api when on a spigot server
13# It does nothing on a normal craftbukkit
14use-fancy-msg: true
15# The default radius for the /showitem (/show, /si) command if no -r(adius) parameter is specified
16# Can also be "all" or "world" if the command without argument should target everyone (in the world)
17default-radius: 16
18# The amount of time in seconds that an inventory should be viewable after showing it
19show-inv-timeout: 300
20# This will show a live view of the inventory rather than the state when the command/variable was used
21show-live-inv: false
22# Try to automatically get the color of named items to color the brackets with
23use-name-color-for-brackets: true
24
25# Disable the sending of metrics data
26disable-metrics: false
27# Whether or not to check for updates. Ingame notifications are controlled by the showitem.updatenotification permission.
28update-check: true
29# Use the plugin' name prefix for any component click commands to ensure ShowItem's command is run
30# E.g. /showitem:showinv when opening a players inventory from a chat message
31namespaced-commands: true
32
33# Config options for the help functionality in the inventory
34# In order to use this players need the showitem.helpclick permission
35help-click:
36 # Which type of click should send the help
37 # LEFT, SHIFT_LEFT, RIGHT, SHIFT_RIGHT, MIDDLE, NUMBER_KEY (see numbers), DOUBLE_CLICK, DROP, CONTROL_DROP
38 click-types:
39 - MIDDLE
40 # Which slots should send the help message
41 # ARMOR, CONTAINER, QUICKBAR (hotbar)
42 # Star is wildcard for every slot
43 slot-types:
44 - "*"
45 # If click is of type NUMBER_KEY then these numbers will trigger the help
46 # Star is wildcard for every number
47 numbers:
48 - "*"
49
50chat:
51 variables:
52 # Which variables should be replaced in the chat with the player's current item
53 # %slot% is the place where the slot name/number should be
54 - "%item%"
55 - "%item%slot%%"
56 # Which variables should be usable to show a clickable text directly in the chat
57 # to show your current inventory
58 inv-variables:
59 - "%inv%"
60 - "%inventory%"
61 commands:
62 # A list of commands where we should replace the variable with the item info
63 - "msg"
64 - "say"
65 - "me"
66 - "ch"
67 # Maximum count of variables per message
68 # Bypass with the showitem.chat.spam permission
69 # 0 = unlimited
70 max-per-message: 1
71 # How to display variables that exceed the max count
72 # An empty string removes them completely
73 overflow-display: ""
74 # Allow variable with no item in hand?
75 # Uses lang.error.noitem as error message when false
76 show-empty-hand: true
77 # How should packets be handled? (requires a restart)
78 # Possible values:
79 # auto - automatically detect the best solution
80 # ProtocolLib - use ProtocolLib (if installed)
81 # nms - directly access native Minecraft server code
82 # reflection - access Minecraft server via reflections
83 packet-handler: auto
84 # Priority of the ProtocolLib listener (requires restart)
85 # Possible values: lowest, low, normal, high, highest
86 listener-priority: highest
87
88# Filter strings out of item names and lore
89filter:
90 # Strings are compared case-insensitive
91 # r= prefix indicates that the string should be handled as a regex
92 list:
93 - "faggot"
94 - "r=f.ck"
95 # Replace with the following string.
96 # If the string is only one character long it will fill up the word's length with it
97 replace: "*****"
98
99# Block certain items from getting shown.
100# Can be bypassed with showitem.blockbypass and showitem.blockbypass.<blockname>
101block:
102 # Whether or not this match is inverted (match only items that don't match the values)
103 inverted: false
104
105 # List of materials to block
106 # Materials: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Material.html
107 material: []
108 # - STONE
109 # - DIAMOND_SWORD
110
111 # Block items with certain strings in their names from getting shown (case-insensitive)
112 # r= prefix indicates that the string should be handled as a regex
113 name: []
114 # - "name 1"
115 # - "r=name \\d"
116
117 # Block items with certain strings in the lore from getting shown (case-insensitive)
118 # r= prefix indicates that the string should be handled as a regex
119 lore: []
120 # - "name 1"
121 # - "r=name \\d"
122
123 # Item durability value, can use comparators, <x, >x, =x, !=x or just equal a single number
124 # An empty string matches all durabilities
125 # Also supports chaining of comparators with a comma. E.g. >5,<20 for between 5 and 20
126 durability: ""
127
128 # Block items with the unbreakable tag
129 unbreakable: false
130
131 # Block items with certain enchantments, can block both all or only certain levels
132 # Names: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html
133 # Can take the same comparators as the durability for the level
134 enchantments: []
135 # - "DAMAGE_ALL"
136 # - "ARROW_DAMAGE:>2"
137
138 # Serialize the item to YAML and filter it with regex.
139 # This is only for advanced users and is less efficient, leave empty to disable.
140 serialized: ""
141
142 specific:
143 # Block only specific items that match certain block types. All global types can be used.
144 # Can by bypassed with showitem.blockbypass.specific.<name> e.g. showitem.blockbypass.specific.special-sword
145 special-sword:
146 material:
147 - DIAMOND_SWORD
148 name:
149 - "Phoenix616's Sword"
150 unbreakable: true
151 enchantments:
152 - "DAMAGE_ALL:>9000"
153 # Add multiple matcher, e.g. an inverted matcher that
154 # blocks everything that isn't in this matcher
155 # inverted-match:
156 # inverted: true
157 # material:
158 # - WRITTEN_BOOK
159
160cooldowns:
161# Cooldowns for the radius and the direct show command in seconds.
162# 0 to disable cooldowns entirely.
163# Exempt permission: showitem.cooldownexempt
164 all: 300
165 world: 60
166 radius: 10
167 direct: 0
168 chat: 60
169
170# Whether or not we should attempt to send the nickname instead of the username
171# This will also include colors/prefixes of the team the player is in!
172use-nick-name: true
173
174lang:
175 no-permission: "&cNemáte dostatečná oprávnění %permission%"
176 count: "%count% "
177 item:
178# The different texts that display the item
179# The %icon% variable will only be displayed when texticonrp is set to true
180# The %count% variable will be replaced with lang.count if more than 1 item is shown
181# The string will be automatically colored but it tries to respect custom codes
182 unnamed: "%count%[%icon%%type%]"
183 named: "%count%[%icon%%name%]"
184 none: "[Žádný]"
185 # Add custom formatting for special item display names
186 # Works with or without formatting/color codes in the key
187 custom:
188 "your custom displayname": "%count%&6[%icon%%name%&6]"
189# The %type% variable is also usable in the named string for example like this:
190# named: "%icon%%type% &anamed %name%
191 slot:
192 numbered: " ze slotu %slot%"
193 hand: ""
194 all:
195 self: "Ukazujete item %item%%slot% všech na serveru!"
196 target: "%player% ukázal/a svůj item všem na serveru %item%%slot%!"
197 world:
198 self: "You show %item%%slot% to everyone in your world!"
199 target: "%player% shows %item%%slot% to everyone in his world!"
200 radius:
201 self: "You hold up %item%%slot%!%customradius%"
202 custom: "&8(View distance: %radius%&8 blocks)"
203 target: "%player% holds up %item%%slot%!"
204 player:
205 self: "You show %player% %item%%slot%"
206 target: "%player% shows you %item%%slot%"
207 inv:
208 chat: "&a[%player%'s Inventory]"
209 title: "&r%player%'s Inventory"
210 hover: "&5Click to view the inventory of &e%player%"
211 inventory-not-viewable: "&cThat inventory is not viewable!"
212 all:
213 self: "You show your inventory to everyone!"
214 target: "%player%&a shows everyone his inventory!"
215 world:
216 self: "You show your inventory to everyone in your world!"
217 target: "%player%&a shows his inventory to everyone in his world!"
218 radius:
219 self: "You show your inventory to everyone around you!%customradius%"
220 custom: "&8(View distance: %radius%&8 blocks)"
221 target: "%player%&a shows his inventory!"
222 player:
223 self: "You show %target%&a your inventory. (Click)"
224 target: "%player%&a shows you his inventory. (Click)"
225 help:
226 item-info: "&eOptions for showing %item%&e from slot %slot%:"
227 suggest-hover: "&9Click to insert &f%insert%&9 into input"
228 chat: "&e> &aWrite &f%variable%&a into chat."
229 player: "&e> &aShow a specific player: &f%command%"
230 default: "&e> &aShow people in a %radius% block radius: &f%command%"
231 radius: "&e> &aShow people in a custom radius: &f%command%"
232 world: "&e> &aShow to everyone in your world: &f%command%"
233 all: "&e> &aShow every online player: &f%command%"
234 error:
235 no-item: "&cYou don't have an item to show in that slot. :("
236 invalid-slot: "&e%input% &cis not a valid slot!"
237 radius-too-small: "&cError: Your input %input% is too small!"
238 radius-not-integer: "&cError: Your input %input% is not a valid integer!"
239 missing-radius: "&cError: Please input a number after the radius argument!"
240 item-blocked: "&cYou are not allowed to show this item! (Blocked by %definition%&c)"
241 player-offline: "&cThe player %player%&c is not online"
242 noone-around: "&cThere are no players around which you could show it to :("
243 cooldown: "&cYou have to wait %remaining%&c more seconds before showing another item!"