Plugin Hider skript to allow opped players see the plugins.

  • 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.
code_language.skript:
on command:
    if command is "plugins" or "plugin" or "pl":
        if player does not have permission "NoPluginViewer.Bypass":
            cancel event
            send "No permission to see plugins"
 
Code:
on command:
    if command is "plugins" or "plugin" or "pl" or "bukkit:pl" or "bukkit:plugins" or "bukkit:?":
        if player does not have permission "NoPluginViewer.Bypass":
            cancel event
            send "No permission to see plugins"
 
Hey. I have a skript made to block players from viewing my plugins. The only problem is that ops cannot see the plugins either. Is there a way i can fix this. This is my script below.
https://gyazo.com/4420d8eddbf37f7e112ebcdd46ad946d
code_language.skript:
on command:
    sender = player
    command is "pl" or "plugins" or "bukkit:pl" or "bukkit:plugins" or "about" or "bukkit:about" or "ver" or "bukkit:ver" or "version" or "bukkit:version" or "help" or "ehelp" or "essentials:help" or "essentials:ehelp" or "icanhasversion":
        if player does not have permission "yourpermission.here":
            cancel event
            send "&cYou are not an admin."
        else:
            uncancel event
command /? [<string>]:
    trigger:
        if arg 1 is "[<tab>]":
            player does not have permission "yourpermission.here":
                send "&cYou are not an admin".
                stop
        else if arg 1 is not set:
            player does not have permission "yourpermission.here":
                send "&cYou are not an admin."
                stop
on tab complete:
    if player does not have permission "yourpermission.here":
        cancel event
        send "&cYou are not an admin."
    else:
        uncancel event
Something like that I would do.
 
Last edited:
code_language.skript:
on command:
    if command is "plugins" or "plugin" or "pl":
        if player does not have permission "NoPluginViewer.Bypass":
            cancel event
            send "No permission to see plugins"
Code:
on command:
    if command is "plugins" or "plugin" or "pl" or "bukkit:pl" or "bukkit:plugins" or "bukkit:?":
        if player does not have permission "NoPluginViewer.Bypass":
            cancel event
            send "No permission to see plugins"
code_language.skript:
on command:
    sender = player
    command is "pl" or "plugins" or "bukkit:pl" or "bukkit:plugins" or "about" or "bukkit:about" or "ver" or "bukkit:ver" or "version" or "bukkit:version" or "help" or "ehelp" or "essentials:help" or "essentials:ehelp" or "icanhasversion":
        if player does not have permission "yourpermission.here":
            cancel event
            send "&cYou are not an admin."
        else:
            uncancel event
command /? [<string>]:
    trigger:
        if arg 1 is "[<tab>]":
            player does not have permission "yourpermission.here":
                send "&cYou are not an admin".
                stop
        else if arg 1 is not set:
            player does not have permission "yourpermission.here":
                send "&cYou are not an admin."
                stop
Something like that I would do.
images
 
Status
Not open for further replies.