Use vanilla selectors in commands.

I want to use vanilla selectors like @p in commands, so I tried Psudocommands, but it does not support futher player selectors like [nbt]. My endgoal is to have a player click a hologram, and if they have a certain amount of a item they will be added to a region. Edit: Im running paper, and the plugins should be geyser compatible.
5 Replies
Admincraft Meta
Admincraft Meta8mo ago
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close !close !solved !answered
Requested by __falling#0
QarthO
QarthO8mo ago
would be better to just use a plugin that supports a placeholder for the player that clicked
ִFִִaִִlִִlִִiִִִnִִִgִִ
Ok. but how would I make it only run if they had x item(s)
QarthO
QarthO8mo ago
once again you'll just want a plugin that supports that or alternatively make your own custom plugin im sure some of the questing plugins has support for checking players inventories

Did you find this page helpful?