/clear items with data tag not working on bukkit servers [duplicate]
![/clear items with data tag not working on bukkit servers [duplicate] - Silver and Black Laptop Computer Sale /clear items with data tag not working on bukkit servers [duplicate] - Silver and Black Laptop Computer Sale](/assets/images/clear_items_with_data_tag_not_working_on_bukkit_servers_duplicate_0.jpeg)
Trying to make something on my bukkit 1.8.7 server that detects a nether star in an inventory named "Nut Gem" with the lore "Gem used to summon Nut", which will then try to remove the nether star from your inventory. For some reason it will not clear the item I need it to, but it does clear any normal nether stars. I am using
/clear @a nether_star 1 0 {display:{Name:"Nut Gem",Lore:["Gem used to summon Nut"]}}
Now found out that this is a problem with bukkit! Not sure why but it works in single player but not in bukkit servers(at least this version). Any info on how to fix this would be appreciated!
Best Answer
You have unbalanced brackets in the NBT data; add an extra }
onto the end:
/clear @a nether_star 1 0 {display:{Name:"Nut Gem",Lore:["Gem used to summon Nut"]}}
If that still doesn't work, it may be because a server mod/plugin's /clear
command is being used instead of the vanilla one. You may be able to use this instead to force it to use the vanilla command:
/minecraft:clear @a nether_star 1 0 {display:{Name:"Nut Gem",Lore:["Gem used to summon Nut"]}}
Pictures about "/clear items with data tag not working on bukkit servers [duplicate]"
![/clear items with data tag not working on bukkit servers [duplicate] - Woman in Brown Blazer Sitting at the Table With Macbook /clear items with data tag not working on bukkit servers [duplicate] - Woman in Brown Blazer Sitting at the Table With Macbook](/assets/images/clear_items_with_data_tag_not_working_on_bukkit_servers_duplicate_1.jpeg)
![/clear items with data tag not working on bukkit servers [duplicate] - A Woman in Brown Blazer Holding a Document /clear items with data tag not working on bukkit servers [duplicate] - A Woman in Brown Blazer Holding a Document](/assets/images/clear_items_with_data_tag_not_working_on_bukkit_servers_duplicate_2.jpeg)
![/clear items with data tag not working on bukkit servers [duplicate] - A Woman in Brown Blazer Holding a Document
/clear items with data tag not working on bukkit servers [duplicate] - A Woman in Brown Blazer Holding a Document](/assets/images/clear_items_with_data_tag_not_working_on_bukkit_servers_duplicate_3.jpeg)
INSANE UNLIMITED CRATE KEY DUPE GLITCH [WORKING ON CRACKED SERVERS]
More answers regarding /clear items with data tag not working on bukkit servers [duplicate]
Answer 2
This is most likely caused by a plugin overriding the default /clear command. Try replacing /clear with /minecraft:clear and see if it works.
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Karolina Grabowska, Mikhail Nilov, Mikhail Nilov, Mikhail Nilov