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.

Solved no drop skript

Discussion in 'Requests' started by Azule, Jul 26, 2020.

  1. Azule

    Azule New Member

    Joined:
    Jul 25, 2020
    Messages:
    8
    Likes Received:
    0
    I need a skript so my player's arent able to drag and drop anything from their inventory or even hit "Q" to drop it out of their inventory it needs to be with them AT all times the only people who are able to drop items would be operators. which a permission could be used for this such as nodrop.allow nodrop.deny idk haha.

     
  2. Best Answer:
    Post #4 by St4ckY_, Aug 4, 2020
  3. Slaim36

    Slaim36 New Member

    Joined:
    Apr 9, 2020
    Messages:
    9
    Likes Received:
    1
    You can use this:

    Code (Text):
    1. on drop:
    2.     if player has permission "nodrop.allow":
    3.         stop
    4.     else:
    5.         cancel event
    No one without permission "nodrop.allow" can throw their objects
     
    • Agree Agree x 1
  4. Azule

    Azule New Member

    Joined:
    Jul 25, 2020
    Messages:
    8
    Likes Received:
    0
    Thank you! :emoji_slight_smile:
     
  5. St4ckY_

    St4ckY_ New Member

    Joined:
    Apr 22, 2020
    Messages:
    7
    Likes Received:
    0
    Code (Text):
    1. on drop:
    2.     cancel event
    3.     send "&cYou can't drop items/blocks on this server!" to player
    Here without permission but with custom message!
     
    • Agree Agree x 1
  6. Gowixx

    Gowixx Member

    Joined:
    Jul 9, 2020
    Messages:
    28
    Likes Received:
    6
    Code (Text):
    1. on drop:
    2.     if player has permission "nodrop.bypass":
    3.         stop
    4.     else:
    5.         cancel event
    6.         send "&cYou can not drop items! If you think this is a problem contact an online staff member."
    With bypass and msg
     

Share This Page

Loading...