Run velocity (proxy) commands with NPC?

Using Citizens with a plugin on proxy to add custom commands like /discord, /store, etc. but I need to make NPCs that people can right click to execute that command. Issue is, as far as I'm aware, citizens /npc cmd is only able to execute backend server commands, so it will just show unknown command message. What should I do?
3 Replies
Admincraft Meta
Admincraft Meta6mo 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 mallusrgreat#0
𝖄𝖔𝖚𝖗𝕹𝖔𝖙𝕷𝖚𝖎𝖘
there are flags to the /npc cmd, adding -p makes it as if the player ran the command, should fix it
Torrent
Torrent6mo ago
^ can confirm this is true For example, to switch servers: /npc command add -p server survival -l -r

Did you find this page helpful?