Jump to content

Wimfish

Member
  • Posts

    93
  • Joined

  • Last visited

Posts posted by Wimfish

  1. 1 minute ago, Wimfish said:

    command /disguise [<text>] [<text>]:
        permission: disguise.sk
        trigger:
            if arg 1 is set:
                make console execute command "/nick %player% %arg 1%"
                make console execute command "/lp user %player% group set %arg 2%"
     

    Change /lp user %player% group set %arg 2% to whatever command your Rank plugin uses (keep %arg 1% and arg%

  2. command /disguise [<text>] [<text>]:
        permission: disguise.sk
        trigger:
            if arg 1 is set:
                make console execute command "/nick %player% %arg 1%"
                make console execute command "/lp user %player% group set %arg 2%"
     

  3. command /event [<text>]:
        trigger:
            if arg 1 is set:
                broadcast "&e[&6&lSuperpvpn&e] &b&l&n%player% is holding a %arg 1% event!"            
            else:
                send "&6&l/event <event>"
     

    • Thanks 1
  4. command /setspawn:
        aliases: spawnset, sethub, hubset, setlobby, lobbyset
        permission: spawn.setspawn
        permission message: &cSorry, but you don't have permission to execute this command!
        description: Set spawn at your location.
        trigger:
            message "&6You have &cset spawn&6 at your location!"
            set {spawn} to location of player

    command /spawn [<player>]:
        aliases: hub, lobby
        permission: spawn.spawn
        permission message: &cSorry, but you don't have permission to execute this command!
        description: Teleport you to spawn.
        trigger:
            if {spawn} isn't set:
                message "&4Error:&c spawn is not set!"
                stop
            else:
                argument 1 is not set:
                    teleport player to {spawn}
                    message "&6Teleporting..."
                else:
                    if sender has permission "spawn.spawn.others":
                        if argument is online:
                            teleport argument to {spawn}
                        if sender is a player:
                            message "&6You have been teleported to spawn by &c%player%&6." to argument 1
                        if sender is not a player:
                            message "&6You have been teleported to spawn by &cConsole&6." to argument 1
                            teleport player to {spawn}
                    else:
                        message "&cSorry, but you don't have permission to execute this command!"

  5. This is a basic admin pannel (Not done) Tbh idk if it works So sorry if it doesnt made by wimfish

    Command /ap:
      permission: op
      permission message: "&4&lNope"
      trigger:
        open virtual chest inventory with size 3 named "&6&lAdmin pannel" to player
        format gui slot 11 of players inventory with grass block named "&2&lCreative" with lore "&6&lChange to:" and "&6&lCreative" to run:
          set player's gamemode to creative
          close player's inventory

  6. On 3/9/2021 at 5:03 PM, Bluberriess said:

    The colors are determined by a team packet, so getting the colors is a little more difficult. To easily do so you can use the plugin TAB REBORN which will determine team colors based on the color of a vault prefix.
    What you can then use is something like:
     

    command glow:
        permission: perk.glow
        trigger:
            set glowing of player to !glowing of player
            if glowing of player is true
                set {_a} to "&a&lEnabled"
            if glowing of player is false:  
                set {_a} to "&c&lDisabled"
            send "&eGlow: %{_a}%"


    In this example I use skQuery's Not Boolean, which just returns the opposite of a (true/false). And I use skript's glowing of %player% expression to set it.

    When i put permission: (perms) it says cannot understand got any fixes for that?

     

×
×
  • Create New...