r/SpigotMC • u/mikesthebest100 • Apr 21 '20
Sever command on command block
Hey guys im trying to run /petshop on a command block but it says cant run server command. Petshop is a spigot plugin command from the plugin mypet. Im guessing it wont run because its from a plugin any advice?
3
Upvotes
1
u/_PM_ME_YOUR_GF_ Apr 22 '20
I believe you have to prefix it with the name of the plugin, then the name of the command, with a ":" separating them. For example:
Would perform the command "petshop" from the "petshops" plugin. This prefixing feature is available in case two or more plugins have the same command name(s), but I believe the command block demands it from you even if there's none conflicting. I might be wrong though.
If you do not know the prefix/plugin name, try to type "/pet" and look at the auto-completions.