Recent Discussions

Trouble with /sudo command for spleef plugin

Unanswered
Cape lion posted this in #questions
Messages31 messages
Views0 views
Cape lionOP
hey all, beginner server owner here. i'm running a paper 1.21.4 server and having trouble with command blocks. i'm using the spleef_reloaded plugin to make a spleef minigame that my players can join through the lobby. when they spawn in, i have them landing on a pressure plate on top of a command block. the player command to join a spleef game is /spleef join arena. when i try and run it through a command block, it says a player must run it. i am using essentialsx and have already tried with the /sudo command - it gives me "Error: Player not found." I have command blocks enabled. Any ideas?
Brown bear
hiya, what commands do you have in the command blocks atm?
Cape lionOP
the current command i have in the block is /sudo @p spleef join arena
it works when i replace @p with my username, but i want it to work on all players that activate it
Brown bear
hmm, have you tried the /execute as @p command yet?
Cape lionOP
just used /execute as @p run spleef_reloaded:spleef join arena , the plugin outputs "You must be a player"
Brown bear
hmm, try adding "at @p" after "as @p"
or @s,
it sets the "location" of execution, sorta
Cape lionOP
same output for both :(
Brown bear
frick :/
Cape lionOP
thnx for the quick response btw, this has been bugging me all day
Brown bear
no yeah for sure
Cape lionOP
would a list of all the plugins in use help?
Brown bear
i mean youre more than welcome to post, but im not really sure what id gain
Cape lionOP
might as well
image.png
Brown bear
ya honestly not sure
out of morbid curiosity, does it work if you run it from console
not really sure what you can do if the dev hardcoded this
nothing referencing it in config either
Cape lionOP
doesnt work with console :/
Brown bear
darn .
Loading...