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!

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

Colorful Glow-Skript

Discussion in 'Scripts' started by KleinLuzi, Sep 18, 2021.

  1. KleinLuzi

    KleinLuzi New Member

    Joined:
    Oct 26, 2020
    Messages:
    0
    Likes Received:
    0
    Glow.sk

    Thanks for visiting this page =)
    This simple, yet very useful and light-weight Skript adds colorful glow-effect to your server.
    I have been looking for a working system like this for months, and never was able to find anything like this, so I made it myself.


    Dependencies:
    - Skript-Reflect (Download here)
    - GlowAPI (Download here)
    - PacketListenerAPI (Download here)
    - SkBee (Download here)

    Permissions:
    - glow.use (enables you to use /glow on/off)
    - glow.admin (gives you permission to all other sub-commands of /glow such as changecolor)

    Commands:
    [​IMG]
    - /glow
    - /glow on/off
    - /glow changecolor %color%
    - /glow colorlist


    Screenshots:
    auto-complete function of the changecolor command for more convinience:
    [​IMG]

    default glow color on enabling:
    [​IMG]

    changed glow-color to gold:
    [​IMG]


    API:
    - This Skript provides usage of 2 functions which makes this Skript a whole lot easier:
    Code (Java):
    1. EnableGlowing(%entity%, %color%)
    and
    Code (Java):
    1. DisableGlowing(%entity%)

    Usage of both functions in a skript:
    Code (Java):
    1. on right click:
    2.     if clicked entity is set:
    3.         EnableGlowing(clicked entity, "green")
    4.      
    5. on right click:
    6.     if clicked entity is set:
    7.         DisableGlowing(clicked entity)
     

Share This Page

Loading...