#Charcoal on 1.12.2

1 messages · Page 1 of 1 (latest)

steady pagoda
#

Its so strange bug, because placeholder "checkitem_mat" works correctly
But if i use "checkitem_remove_mat", it doesnt works anymore

#

right_click_requirement:
requirements:
amount:
type: string equals
input: '%checkitem_mat:COAL,data:1,amt:32%'
output: 'yes'

left_click_commands:
- '[givemoney] 460'
- '[placeholder] %checkitem_remove_mat:COAL,data:1,amt:1%'
- '[message] &6Shop &8> &fYou`re sell &a1 x Zombie Hand &for &a$460&f.'
#

I have a little wrong config here, right-click and left-click requirements

But anyway, the problem lies in the fact that the requirements check works, the money for the sale are issued, but the item is not removed from the inventory

Through the /clear this item is also not removed

cerulean wolf
#

?materials

echo cryptBOT
cerulean wolf
steady pagoda
#

anyway doesnt works

cerulean wolf
#

@velvet mural ^ any idea

cerulean wolf
#

?paste

echo cryptBOT
#
FAQ Answer:

Paste Services
When asking for help with a config/menu/code issue please use our paste bin:
(we prefer it over pastebin.com)
HelpChat Paste - How To Use

cerulean wolf
#

your full menu infact

steady pagoda
#

I deleted charcoal from this, but now i have problem with INK_SACK:1

#

So idk how i can delete it from inventory

#

I try to clear it with minecraft clear

cerulean wolf
#

dont use - '[console] minecraft:clear %player_name% COAL 0 1'

#

use checkitem_remove_mat

steady pagoda
#

Its doesnt works, if item has data

#

Idk why

cerulean wolf
#

it should

steady pagoda
#

Check_mat works
Remove - no

steady pagoda
cerulean wolf
#

type

/papi parse me %checkitem_remove_mat:COAL,data:1,amt:1%

steady pagoda
#

"No"

cerulean wolf
#

hmm

#

type /itemdb with charcoal in your hand

steady pagoda
cerulean wolf
#

hmm

#

Ill wait for CJ maybe he knows a solution

#

so its just not removing it correct but checking if you have it works

#

@steady pagoda can you try IDs idk if it works with checkitem

#

263

steady pagoda
cerulean wolf
#

not for displaying but the checkitem

#

expansion

#

smh

steady pagoda
#

Same "No"

#

/papi parse me %checkitem_remove_mat:263,data:1,amt:1%

cerulean wolf
#

dont add data

#

try without data

steady pagoda
#

/papi parse me %checkitem_remove_mat:263%
"No"
/papi parse me %checkitem_remove_mat:263,amt:1%
No

#

But checkitem_mat works correctly

velvet mural
#

But
/papi parse me %checkitem_mat:COAL,data:1,amt:1% returns yes?

velvet mural
#

I will have to see later after work if you haven’t figured out a solution by then

#

Did you already send a startuplog? If not can you do so

#

?startuplog

echo cryptBOT
#
FAQ Answer:

Startup Log Location
Your latest startup log can be found in the logs folder of your
server directory, labeled as latest.log.
Please copy the contents and paste them to a paste service.
Type ?paste for more information.

steady pagoda
cerulean wolf
#

just tested it myself and it works

#

with /papi parse me %checkitem_remove_mat:COAL,data:1,amt:1%

#

on this version

velvet mural
#

I will check back later

#

Won’t be easy to do without the log lol

steady pagoda
#

Outdated version

#

Solved, thanks for help

velvet mural
#

How the heck did essentials cause an issue with checkitem? So weird

cerulean wolf
#

@steady pagoda can I see your logs just interesting in see how the essentials was the issue