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.

Give player a potion

Discussion in 'Skript' started by iStopcontact, Oct 4, 2019.

Thread Status:
Not open for further replies.
  1. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    Hello, i am working on a skript where i want to give player potions.

    For example an potion of invisibility (08:00) and a splash potion of healing (II)

    Can someone help me with this? The server is 1.12.2
     
  2. Vorze

    Vorze Active Member

    Joined:
    Jul 10, 2017
    Messages:
    69
    Likes Received:
    2
  3. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
  4. Vorze

    Vorze Active Member

    Joined:
    Jul 10, 2017
    Messages:
    69
    Likes Received:
    2
    what about just use minecrarft command and make it to the skript
     
  5. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    its possible, but than its like a way around
     
  6. Vorze

    Vorze Active Member

    Joined:
    Jul 10, 2017
    Messages:
    69
    Likes Received:
    2
    I just Found out
    Code (Text):
    1. give potion of long invisibility to the player
    --- Double Post Merged, Oct 4, 2019, Original Post Date: Oct 4, 2019 ---
    Code (Text):
    1. give potion of strong healing to the player
     
  7. iStopcontact

    iStopcontact Member

    Joined:
    Feb 18, 2017
    Messages:
    111
    Likes Received:
    2
    That probably is with an addon plugin but i found it.

    I use this now and it works:

    Code (Text):
    1. set {_nbt} to "{Potion:""minecraft:long_invisibility""}"
    2.                 give 1 water_bottle with nbt {_nbt} to player
     
  8. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,183
    Likes Received:
    232
Thread Status:
Not open for further replies.

Share This Page

Loading...