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

Custom slots [open chest]

Discussion in 'Skript' started by sOxTw, Oct 26, 2018.

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

    sOxTw Active Member

    Joined:
    Jan 27, 2017
    Messages:
    35
    Likes Received:
    2
    Hello, I'm creating an enchantment menu, which has a main menu with only 3 items, and I would like to know if it is possible to remove slots from an inventory generated by skript.

    [​IMG]
    As seen in the image to slot 0, 1, 2, 6, 7, 8 I want to eliminate them, that is not a slot. I want it to stop being a slot.

    Skript version: 2.2-dev36

    Codigo
    Code (Skript):
    1. command /enchant:
    2.     trigger:
    3.         open chest with 1 rows named "Name" to player
    4.         format slot 3 of player with stone named "Name" with lore "Desc" to be unstealable
    5.         format slot 4 of player with stone named "Name" with lore "Desc" to be unstealable
    6.         format slot 5 of player with stone named "Name" with lore "Desc" to be unstealable
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Put glass or something in the slot, you can't actual eliminate something built into minecraft
     
    • Funny Funny x 1
  3. BrettPlayMC

    Supporter

    Joined:
    Jan 26, 2017
    Messages:
    714
    Likes Received:
    53
    That is not possible to do sadly.
     
  4. Choong Yun Chean

    Choong Yun Chean Active Member

    Joined:
    Jul 9, 2017
    Messages:
    34
    Likes Received:
    0
    format slot {slot} of player with air to be unstealable

    is it what you need??
     
  5. sOxTw

    sOxTw Active Member

    Joined:
    Jan 27, 2017
    Messages:
    35
    Likes Received:
    2
    I need the slot slot to disappear, I've seen it on PrisionOP servers for when you start showing the rules. The weirdest thing is that they use Skript, check with several Administrators of that server (some time ago) and they told me it was with Skript.
    - Currently I do not remember the server :emoji_disappointed_relieved:
     
  6. Choong Yun Chean

    Choong Yun Chean Active Member

    Joined:
    Jul 9, 2017
    Messages:
    34
    Likes Received:
    0
    maybe you need to use the resource pack

    and make a item become a gray color, and make that size big than slot
     
  7. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,106
    Likes Received:
    150
    Just do what everyone else does and put dark grey glass there. Then you can't use the slot
     
  8. sOxTw

    sOxTw Active Member

    Joined:
    Jan 27, 2017
    Messages:
    35
    Likes Received:
    2
    That's what I'm using. but remembering what I saw I thought that if it was possible.
     
Thread Status:
Not open for further replies.
Loading...