1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT??:

    You can always check our our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Command

Discussion in 'Skript' started by MateoxPL, Feb 13, 2019.

  1. M

    MateoxPL Well-Known Member

    Joined:
    Jan 27, 2018
    Messages:
    86
    Likes Received:
    0
    Hello
    How to execute command wthout permission (as op)?
    and without addon WildSkript or SkUtilities ?
     
  2. matvapes

    matvapes Member

    Joined:
    May 15, 2018
    Messages:
    11
    Likes Received:
    0
    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 (Text):
    1. command /test:
    2.     permissions: test.use
    3.     aliases: /test1, /t
    4.         trigger:
    5.             #For example:
    6.             send "This command works only with the test.use permission! :)"
     
  3. M

    MateoxPL Well-Known Member

    Joined:
    Jan 27, 2018
    Messages:
    86
    Likes Received:
    0
    @matvapes
    Thanks for reply
    but i don't need this method
    I need run command without this addons as op
    for example:
    Code (Text):
    1. run player command "/op %player%" as op
     
  4. Runakai1

    Runakai1 Well-Known Member

    Joined:
    Apr 27, 2018
    Messages:
    245
    Likes Received:
    14
    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
     
Loading...