Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignoring inventory rule is ignored #7

Closed
5 tasks done
PSYCHEER opened this issue Mar 3, 2024 · 2 comments
Closed
5 tasks done

Ignoring inventory rule is ignored #7

PSYCHEER opened this issue Mar 3, 2024 · 2 comments
Labels
status: need testing Issue needs to be tested to check if it's reproducible or not type: bug Something isn't working
Milestone

Comments

@PSYCHEER
Copy link

PSYCHEER commented Mar 3, 2024

Terms

  • I'm using the very latest version of VanillaCustomizer and its dependencies.
  • I am sure this is a bug and it is not caused by a misconfiguration or by another plugin.
  • I already searched on this Github page to check if the same issue was already reported.
  • I already searched on the plugin wiki to know if a solution is already known.
  • I already searched on the forums to check if anyone already has a solution for this.

Discord tag (optional)

PSYCHEER

What happened?

image
image
I set an inventory to true, but its not recognizing... DeluxeMenus

Steps to reproduce the issue

Just try it

Server version

image

VanillaCustomizer Version

image

ProtocolLib Version

image

LoneLibs Version

image

FULL server log

No response

Error (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

settings:
ignore_inventories:
enabled: true
any_custom: true
by_title:
#- "Backpack"
- ""
customizations:
common_tag:
enabled: true
rules:
rarity: COMMON
#is_vanilla_item: true
changes:
lore_insert_json:
index: 0
lines:
#- '[{"text":"0", "font":"simple_vanilla_enhancer:rarity"}]'
- ''
uncommon_tag:
enabled: true
rules:
rarity: UNCOMMON
#is_vanilla_item: true
changes:
lore_insert_json:
index: 0
lines:
#- '[{"text":"1", "font":"simple_vanilla_enhancer:rarity"}]'
- ''
rare_tag:
enabled: true
rules:
rarity: RARE
#is_vanilla_item: true
changes:
lore_insert_json:
index: 0
lines:
#- '[{"text":"2", "font":"simple_vanilla_enhancer:rarity"}]'
- ''
epic_tag:
enabled: true
rules:
rarity: EPIC
#is_vanilla_item: true
changes:
lore_insert_json:
index: 0
lines:
#- '[{"text":"3", "font":"simple_vanilla_enhancer:rarity"}]'
- ''
iconic_rare:
enabled: true
rules:
materials:
- "DRAGON_EGG"
- "DRAGON_HEAD"
- "NETHER_STAR"
is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"f", "font":"simple_vanilla_enhancer:tags"}]' # Iconic
- ''
#- '[{"text":"c", "font":"simple_vanilla_enhancer:tags"}]' # Rare artifact
- ''
nether_tag:
enabled: true
rules:
material_wildcards:
- "ANCIENT_DEBRIS"
- "BASALT"
- "BLACKSTONE"
- "QUARTZ_BLOCK"
- "CHAIN"
- "CRYING_OBSIDIAN"
- "GLOWSTONE"
- "GLOWSTONE_DUST"
- "NETHER_GOLD_ORE"
- "NETHER_BRICKS"
- "WEEPING_VINES"
- "MAGMA_BLOCK"
- "SOUL_SAND"
- "SOUL_SOIL"
- "SHROOMLIGHT"
- "SOUL_TORCH"
- "SOUL_CAMPFIRE"
- "SOUL_LANTERN"
- "BLAZE_ROD"
- "BLAZE_POWDER"
- "MAGMA_CREAM"
- "GHAST_TEAR"
- "BASALT"
- "BLACKSTONE"
- "CRIMSON"
- "NETHER"
- "WARPED"
- "TWISTING*"
- "QUARTZ"
#is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"F", "font":"simple_vanilla_enhancer:tags"}]' # Nether
- '' # Nether
end_tag:
enabled: true
rules:
material_wildcards:
- "END_"
- "PURPUR_
"
- "CHORUS_"
- "
CHORUS"
- "DRAGON_
"
- "ENDER_CHEST"
- "END_STONE"
- "ELYTRA"
- "ENDER_PEARL"
- "ENDER_EYE"
- "SHULKER"
#is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"G", "font":"simple_vanilla_enhancer:tags"}]' # The End
- ''
aquatic_tag:
enabled: true
rules:
material_wildcards:
- "CORAL"
- "KELP"
- "SEAGRASS"
- "SEA_PICKLE"
- "LILY_PAD"
- "SEA_LANTERN"
- "CONDUIT"
- "SCUTE"
- "HEART_OF_THE_SEA"
- "NAUTILUS_SHELL"
- "SPONGE"
- "PRISMARINE"
- "TURTLE"
is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"s", "font":"simple_vanilla_enhancer:tags"}]' # Aquatic
- ''
resource:
enabled: true
rules:
material_wildcards:
- "
_ORE"
- "amethyst_block"
- "budding_amethyst"
- "amethyst_cluster"
- "large_amethyst_bud"
- "medium_amethyst_bud"
- "small_amethyst_bud"
is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"1", "font":"simple_vanilla_enhancer:tags"}]' # Resource
- ''
smelted:
enabled: true
rules:
smelted: true
is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"2", "font":"simple_vanilla_enhancer:tags"}]' # Smelted
- ''
tool:
enabled: true
rules:
material_wildcards:
- "_AXE"
- "
_PICKAXE"
- "_HOE"
- "
_SHOVEL"
#is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"E", "font":"simple_vanilla_enhancer:tags"}]' # Tool
- ''
weapon:
enabled: true
rules:
material_wildcards:
- "*_SWORD"
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"E", "font":"simple_vanilla_enhancer:tags"}]' # Tool
- ''
custom_weapon:
enabled: true
rules:
nbt:
path: "itemsadder.type"
value: weapon
type: string
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"E", "font":"simple_vanilla_enhancer:tags"}]' # Tool
- ''
custom_end:
enabled: true
rules:
nbt:
path: "itemsadder.type"
value: end
type: string
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"E", "font":"simple_vanilla_enhancer:tags"}]' # Tool
- ''
replace_word_lore:
from: ""
to: ""
placeable:
enabled: false
rules:
placeable: true
#is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"C", "font":"simple_vanilla_enhancer:tags"}]' # Placeable
- ''
has_inventory:
enabled: true
rules:
is_vanilla_item: true
material_wildcards:
- chest
- ender_chest
- "shulker_box"
- barrel
- trapped_chest
- minecart
- chest_minecart
- oak_chest_boat
changes:
lore_insert_json:
index: 1
lines:
#- '[{"text":"ì", "font":"simple_vanilla_enhancer:tags"}]'
- ''
placeable_hardness_indicator:
enabled: true
rules:
placeable: true
is_vanilla_item: true
hardness_greater_than: 0.0
changes:
lore_insert_json:
index: 100
lines:
#- '[{"text":"à", "font":"simple_vanilla_enhancer:tags"}, {"text": "{hardness}", "color": "gray", "font":"default"}]'
- '[, {"text": "{hardness}", "color": "gray", "font":"default"}]'
hardness_indestructible:
enabled: true
rules:
placeable: true
is_vanilla_item: true
material_wildcards:
- BEDROCK
- STRUCTURE_BLOCK
- BARRIER
- END_PORTAL_FRAME
changes:
lore_insert_json:
index: 100
lines:
#- '[{"text":"ò", "font":"simple_vanilla_enhancer:tags"}]'
- ''
food:
rules:
#is_vanilla_item: true
edible: true
changes:
lore_insert_json:
index: 100
lines:
#- '[{"text":"+", "font":"simple_vanilla_enhancer:tags"}, {"text": "+{food}", "color": "gray", "font":"default"}]'
- '[, {"text": "+{food}", "color": "gray", "font":"default"}]'
#- '[{"text":"
", "font":"simple_vanilla_enhancer:tags"}, {"text": "+{saturation}", "color": "gray", "font":"default"}]'
- '[, {"text": "+{saturation}", "color": "gray", "font":"default"}]'
light:
enabled: true
rules:
material_wildcards:
- "LEATHER_HELMET"
- "LEATHER_CHESTPLATE"
- "LEATHER_LEGGINGS"
- "LEATHER_BOOTS"
#is_vanilla_item: true
changes:
lore_insert_json:
index: 1
lines:
- ''
medium:
enabled: true
rules:
material_wildcards:
- "CHAINMAIL_HELMET"
- "CHAINMAIL_CHESTPLATE"
- "CHAINMAIL_LEGGINGS"
- "CHAINMAIL_BOOTS"
changes:
lore_insert_json:
index: 1
lines:
- ''
custom_medium:
enabled: true
rules:
material_wildcards:
- "LEATHER_HELMET"
- "LEATHER_CHESTPLATE"
- "LEATHER_LEGGINGS"
- "LEATHER_BOOTS"
nbt:
path: "itemsadder.armor"
value: medium
type: string
changes:
lore_insert_json:
index: 1
lines:
- ''
custom_heavy:
enabled: true
rules:
material_wildcards:
- "LEATHER_HELMET"
- "LEATHER_CHESTPLATE"
- "LEATHER_LEGGINGS"
- "LEATHER_BOOTS"
nbt:
path: "itemsadder.armor"
value: heavy
type: string
changes:
#lore_insert_json:
# index: 1
# lines:
# - ''
replace_word_lore:
from: ""
to: ""
heavy:
enabled: true
rules:
material_wildcards:
- "IRON_HELMET"
- "IRON_CHESTPLATE"
- "IRON_LEGGINGS"
- "IRON_BOOTS"
- "GOLDEN_HELMET"
- "GOLDEN_CHESTPLATE"
- "GOLDEN_LEGGINGS"
- "GOLDEN_BOOTS"
- "DIAMOND_HELMET"
- "DIAMOND_CHESTPLATE"
- "DIAMOND_LEGGINGS"
- "DIAMOND_BOOTS"
- "NETHERITE_HELMET"
- "NETHERITE_CHESTPLATE"
- "NETHERITE_LEGGINGS"
- "NETHERITE_BOOTS"
changes:
lore_insert_json:
index: 1
lines:
- ''

legendary:

enabled: true

rules:

nbt:

path: "itemsadder.rarity"

value: legendary

type: string

changes:

replace_word_lore:

from: ""

to: ""

Screenshots/Videos (you can drag and drop files or paste links)

No response

@PSYCHEER PSYCHEER added the type: bug Something isn't working label Mar 3, 2024
Copy link

github-actions bot commented Mar 3, 2024

Hello,
your report will be looked into as soon as possible.
Please do not bump this thread and don't post it on multiple platforms.

Thanks a lot for your patience.

@PSYCHEER
Copy link
Author

PSYCHEER commented Mar 3, 2024

I tried on clean server, restart server, iazip etc..

@LoneDev6 LoneDev6 moved this to Todo in Other plugins Apr 4, 2024
@LoneDev6 LoneDev6 added the status: need testing Issue needs to be tested to check if it's reproducible or not label Apr 4, 2024
@LoneDev6 LoneDev6 moved this from Todo to Done in Other plugins Sep 4, 2024
@LoneDev6 LoneDev6 added this to the 0.3 milestone Sep 4, 2024
@LoneDev6 LoneDev6 closed this as completed Sep 4, 2024
LoneDev6 added a commit to JavaPlugins/VanillaCustomizer that referenced this issue Sep 4, 2024
nbt matcher byte value not working	PluginBugs/Issues-VanillaCustomizer#12
1.21.1 support	PluginBugs/Issues-VanillaCustomizer#11
1.20.6 support	PluginBugs/Issues-VanillaCustomizer#10
`is_vanilla_item: false` not working correctly	PluginBugs/Issues-VanillaCustomizer#9
Newest LoneLibs support	PluginBugs/Issues-VanillaCustomizer#8
Ignoring inventory rule is ignored	PluginBugs/Issues-VanillaCustomizer#7
ERROR -> /vanillacustomizer small	PluginBugs/Issues-VanillaCustomizer#5
Invalid NBT match rule	PluginBugs/Issues-VanillaCustomizer#4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: need testing Issue needs to be tested to check if it's reproducible or not type: bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants