Skip to content

[Help] How to allow players to only use /player JUST_MYSELF shadow? Is this even possible? #1317

Answered by replaceitem
RandomGgames asked this question in Q&A
Discussion options

You must be logged in to vote

The best way would be to create a Scarpet script to wrap the /player shadow command.

Heres a quick example:

__command() -> (
  run('player ' + player()~'command_name' + ' shadow');
)

If you save this in the scripts folder inside the world folder as a file called shadow.sc, then you can load the script with /script load shadow and all players can use /shadow, which will shadow them.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@RandomGgames
Comment options

@RandomGgames
Comment options

@replaceitem
Comment options

Answer selected by RandomGgames
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants