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 out 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.

How to solve this? Skript-Reflect

Discussion in 'Skript' started by The_SrMega, Oct 17, 2021.

  1. The_SrMega

    The_SrMega Member

    Joined:
    Aug 14, 2020
    Messages:
    2
    Likes Received:
    0
    Hello, I am trying to use the lunar api with skript reflect to activate the staff modules, but, when trying to activate them I get the following error in the console: https://prnt.sc/1wg247a (The server version is Paper 1.12.2)
    This is my code:
    Code (Text):
    1. import:
    2.     com.lunarclient.bukkitapi.LunarClientAPI
    3. command /staffmodules:
    4.     permission: staff.lunarmodules
    5.     trigger:
    6.         LunarClientAPI.giveAllStaffModules(player)
     
  2. Minecoll_YT

    Supporter Forums Helper

    Joined:
    Dec 2, 2018
    Messages:
    597
    Likes Received:
    37
    player outputs the player's name, java needs another format - not sure which one tho
     
  3. The_SrMega

    The_SrMega Member

    Joined:
    Aug 14, 2020
    Messages:
    2
    Likes Received:
    0
    Ok, but, how i can parse it as org.bukkit.entity.Player
     

Share This Page

Loading...