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
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
heres the reddit post also: https://www.reddit.com/r/admincraft/comments/1dpzzem/use_vanilla_selectors_in_commands/
Reddit
From the admincraft community on Reddit
Explore this post and more from the admincraft community
would be better to just use a plugin that supports a placeholder for the player that clicked
Ok.
but how would I make it only run if they had x item(s)
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