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.

Addon to create addon

Discussion in 'Requests' started by portapipe, May 20, 2017.

  1. portapipe

    portapipe Member

    Joined:
    Feb 19, 2017
    Messages:
    4
    Likes Received:
    1
    There is a way to create a big all-in-one addon? Or maybe an addon that permit us to create addons with skript?
    Let's think about a plugin, like PlaceholderApi, that is supported by Umbaska BUT not for spigot versions 1.9+ and that is annoying.
    If we can write that kind of addons with skript maybe this will be easier for everyone to update that kind of stuff...

    Just to make the point here an example (just a useless example but is for the idea):

    on load:
    create expression "placeholder" from "me.clip.placeholderapi.expansion.PlaceholderExpansion"

    on join:
    placeholder.player_world(player) is "world"
    message "Hey Hi! Welcome Back in the main world!"
     
    • Agree Agree x 1
  2. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    Are you the network owner of MinatoriUnti?
    Alright , that's a good idea.
     
  3. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    That's technically possible actually:

    Code (Skript):
    1. function setPlaceholders(player: player, text: text) :: text:
    2.     return method "setPlaceholders" from "me.clip.placeholderapi.PlaceholderAPI" with parameter {_player} and "%%%{_text}%%%"
    3.  
    4. command test:
    5.     trigger:
    6.         send setPlaceholders(player, "player_name")
    7.  
    that function above doesn't work (for some reason, Skellett has a hook into placeholderAPI anyways) but you get the idea.
     
  4. ShaneBee

    Moderator Resource Staff Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    222
    Mmmm I didn't find anything about that in the documentation... is that enabled from which version? What about the syntax? Thanks
     

Share This Page

Loading...