Command

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

MateoxPL

Active Member
Jan 27, 2018
116
0
0
25
Hello
How to execute command wthout permission (as op)?
and without addon WildSkript or SkUtilities ?
 
Hello
How to execute command wthout permission (as op)?
and without addon WildSkript or SkUtilities ?
Check if the player has OP.
You could make it more personalized to check the player's name so only one or more persons can execute the command.

It'd be easier with a permission though. Looks more organized and is very easy.

Code:
command /test:
    permissions: test.use
    aliases: /test1, /t
        trigger:
            #For example:
            send "This command works only with the test.use permission! :)"
 
@matvapes
Thanks for reply
but i don't need this method
I need run command without this addons as op
for example:
Code:
run player command "/op %player%" as op
 
@matvapes
Thanks for reply
but i don't need this method
I need run command without this addons as op
for example:
Code:
run player command "/op %player%" as op
Well depends on how your code looks. You could basically use console commands or use Skript mirror and get into the api of whatever plugin you use
 
Status
Not open for further replies.