LEAKERS NOTE: This resources is donated by @xGod
Original Link: https://www.spigotmc.org/resources/1-7-1-12-itemfilter.30546/
Please Give me a positive rating as a token of appreciation
DONATION: Want more plugins donate any amount to
paypal.me/qtchan
Tested Minecraft Versions: 1.7, 1.8, 1.9, 1.10, 1.11, 1.12Original Link: https://www.spigotmc.org/resources/1-7-1-12-itemfilter.30546/
Please Give me a positive rating as a token of appreciation
DONATION: Want more plugins donate any amount to
paypal.me/qtchan
Contributors: AMinecraftDev (original developer), RyujiX (me)
This plugin was created to act as a filter between what items you do and don't pick up while wondering about. This is very useful when it comes to PvP, grinding, farming, etc. when there are random loots on the ground you don't want to pick up.
/filter edit - Edit the items you will pick up when the filter is enabled.
/filter toggle - Toggle the item pickup filter.
/filter reset [player] - Reset a users item filter.
/filter reload - Reload all the configuration files.
itemfilter.use - The base command for this plugin if you don't have this permission you cannot use it.
itemfilter.admin - This command gives access to commands /filter reload & /filter reset
Config.yml
Code:
settings:
filtered-items-line: '&d&lFiltered Items (&f{0}&d&l)'
filtered-list-format: '&d&l* &f{1}'
Will:
ItemName: '&a{2}'
ItemLore:
- '&a&lWILL &7be picked up'
- '&7when item filter is &nenabled.'
WillNot:
ItemName: '&c{2}'
ItemLore:
- '&c&lWILL NOT &7be picked up'
- '&7when item filter is &nenabled.'
main-inventory:
title: 'Item Filter Categories'
size: 1
settings:
# This is the sound effect when a player withdraws a banknote.
# Note: Please use a valid sound effect for the version of minecraft.
# Servers Running 1.9 & Above: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# Servers Running 1.7 or 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
category-open:
enable: true
sound-effect: 'ENDERMAN_TELEPORT'
sound-volume: 3
sound-pitch: 1
# This is the sound effect when a player withdraws a banknote.
# Note: Please use a valid sound effect for the version of minecraft.
# Servers Running 1.9 & Above: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# Servers Running 1.7 or 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
category-close:
enable: true
sound-effect: 'ENDERDRAGON_WINGS'
sound-volume: 3
sound-pitch: 1
# This is the sound effect when a player withdraws a banknote.
# Note: Please use a valid sound effect for the version of minecraft.
# Servers Running 1.9 & Above: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Sound.html
# Servers Running 1.7 or 1.8: http://docs.codelanx.com/Bukkit/1.8/org/bukkit/Sound.html
filter-item-select:
enable: true
sound-effect: 'ANVIL_USE'
sound-volume: 3
sound-pitch: 1
spacers:
enable: true
id: STAINED_GLASS_PANE:15
name: ' '
lore: []
glow: false
items:
Equipment:
id: DIAMOND_CHESTPLATE
name: '&b&lEquipment'
slot: 1
enable: true
Potion:
id: POTION
name: '&b&lPotion Supplies'
slot: 2
enable: true
Raiding:
id: REDSTONE
name: '&b&lRaiding'
slot: 3
enable: true
Food:
id: BREAD
name: '&b&lFood'
slot: 5
enable: true
Specialty:
id: 52
name: '&b&lSpecialty'
slot: 6
enable: true
Ores:
id: DIAMOND_ORE
name: '&b&lOres'
slot: 7
enable: true
equipment-inventory:
title: 'Item Filter: Equipment'
potion-inventory:
title: 'Item Filter: Potion Supplies'
raiding-inventory:
title: 'Item Filter: Raiding'
food-inventory:
title: 'Item Filter: Food'
specialty-inventory:
title: 'Item Filter: Specialty'
ores-inventory:
title: 'Item Filter: Ores'
Code:
messages:
item-filter-no-permission:
- '&4[&cSystem&4] &7You don''t have &cpermission&7 for that command!'
item-filter-reload:
- '&a&lItemFilter &ahas successfully reloaded!'
item-filter-reset-self:
- '&aYou have successfully reset your ItemFilter!'
item-filter-reset-other:
- '&aYou have successfully reset {player}''s ItemFilter!'
item-filter-target-not-found:
- '&c&n{player}&c has never joined this server before!'
item-filter-usage:
- ''
- '&b&lItem Filter Commands'
- '&f/filter toggle'
- '&7Toggle item pickup filter.'
- ''
- '&f/filter edit'
- '&7Edit items you pickup while the item filter is enabled.'
- ''
item-filter-enable:
- ''
- '&a&l(!) Item Filter &nEnabled'
- '&7Use &n/filter edit&7 to edit the items you will pickup.'
- ''
item-filter-disable:
- ''
- '&c&l(!) Item Filter &nDisabled'
- ''
- Chargebacks are PROHIBITED. Please message me on Spigotmc.org if you have issues with the plugin, I will help you sort them.
- One purchase of this plugin is valid for an entire Minecraft network*. Feel free to use it on as many servers as you want, granted they are within the same Minecraft network*. Please purchase one license for each Minecraft network* you plan to use it for(contact me regarding the purchase of additional licenses).
- You may edit the code to your needs, so long as they are private changes, and are not posted anywhere else. No support will be given to modified versions.
- Distribution of the plugin or any modified version is prohibited.
- You may not use the code from this plugin in any additional plugin.
- You may not change the plugin to where it is unidentifiable from the game.
*- In this context, a "Minecraft network" is defined by a network of Minecraft servers connected by a Proxy-like system. You must be able to switch between any servers within the network without disconnecting.