Плагин не проверяет item ID при чтении оружейных NBT-компонентов. Любой предмет с нужным custom_name и lore становится огнестрельным оружием — хоть конская броня, хоть цветок.
Почему это работает: Плагин ищет оружие по имени (display.Name), игнорируя реальный тип предмета. Это позволяет создавать «запретки» — неотличимый от мусора инвентарь с убойной силой.
{
"components": { "minecraft:custom_name": "АК-47 ▪ «20»" },
"id": "minecraft:iron_horse_armor" // не оружие, но стреляет
}
Удаление последней закрывающей скобки } в NBT ломает парсер плагина → переменные обнуляются, счётчик патронов не уменьшается, кулдаун исчезает.
}.// Некорректный NBT — нет закрывающей скобки {components: {...}, count: 1, id: "minecraft:iron_horse_armor" ← плагин не может завершить чтение → infinite ammo, no cooldown
Переименование предмета на наковальне ломает эксплойт — плагин сверяет только custom_name, не анализируя структуру. Это подтверждает поверхностную валидацию.
В креативе (/gamemode creative) наведите на предмет и нажмите C + 1 — полный NBT скопируется. Вставьте во вкладку «Сохранённые предметы» (Saved Hotbars) для многократного использования и передачи другим игрокам.
/give @p minecraft:netherite_axe[minecraft:custom_name={extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" АК-47",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «20»"}],text:""},minecraft:lore=[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Полностью автоматический с высокой точностью",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Эффективен в среднем бою ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}]]
/give @p minecraft:dandelion[minecraft:custom_name='{"text":" АК-47 ▪ «20»"}',minecraft:lore=['{"text":"бесконечный магазин"}']]
Полный шалкер с несколькими видами оружия, включая варианты с бесконечными патронами (счётчик «100»). Предметы замаскированы под netherite_sword.
/give @p minecraft:shulker_box[minecraft:container=[{slot:0,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Олимпия",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «1»"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Смертельно опасна на больших расстояниях",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Зажигательные боеприпасы ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1}}}},{slot:1,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Олимпия",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «100"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Смертельно опасна на больших расстояниях",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Зажигательные боеприпасы ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:3,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" АК-47",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «20»"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Полностью автоматический с высокой точностью",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Эффективен в среднем бою ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:4,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" АК-47",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «100"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Полностью автоматический с высокой точностью",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Эффективен в среднем бою ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:6,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Карабин",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «8 ◀▷ ×»"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Дает криты с вероятностью 10% а переключение пкм ",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" делает карабин в гранатамёт ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:7,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Карабин",underlined:0b},{color:"yellow",italic:0b,text:" ▪ «100 ◀▷ ×"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Дает криты с вероятностью 10% а переключение пкм ",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" делает карабин в гранатамёт ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:18,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Охотничье ружье",underlined:0b},{color:"yellow",italic:0b,text:" ▫ «0»"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Оснощен прицелом ночного виденья",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Двойной урон при хэдшоте ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:19,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Охотничье ружье",underlined:0b},{color:"yellow",italic:0b,text:" ▫ «100"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Оснощен прицелом ночного виденья",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Двойной урон при хэдшоте ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:21,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Орёл тоффи",underlined:0b},{color:"yellow",italic:0b,text:" «7 | 7»"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Можно стрелять левой и правой кнопкой мыши",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Стреляя в спину, бонусный урон ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:22,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Орёл тоффи",underlined:0b},{color:"yellow",italic:0b,text:" «100 | 100"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Можно стрелять левой и правой кнопкой мыши",underlined:0b}],text:""},{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Стреляя в спину, бонусный урон ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:24,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Базука",underlined:0b},{color:"yellow",italic:0b,text:" «1»"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Огневые шары при выстреле ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}},{slot:25,item:{id:"minecraft:netherite_sword",count:1,components:{"minecraft:custom_name":{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Базука",underlined:0b},{color:"yellow",italic:0b,text:" «100"}],text:""},"minecraft:lore":[{extra:[{bold:0b,color:"yellow",italic:0b,obfuscated:0b,strikethrough:0b,text:" Огневые шары при выстреле ",underlined:0b},{bold:0b,color:"yellow",italic:1b,obfuscated:0b,strikethrough:0b,text:"( перезарядка нажав Q ) ",underlined:0b}],text:""}],"minecraft:enchantments":{"minecraft:vanishing_curse":1},"minecraft:repair_cost":1}}}]]
💡 Предметы со счётчиком «100» — бесконечные патроны. Остальные слоты заполнены декоративными панелями white_stained_glass_pane.