X

NOTICE

Are you sure you want to report this?

We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

36

Inventory Locking

5 Comments

Post a new comment:

Please sign in to leave a comment.

  • 0
    Xela S commented
    Comment actions Permalink

    How about the syntax will be:

    /replaceitem entity @p slot.mainhand diamond_sword 0 lock

  • 0
    Alex Tyrer commented
    Comment actions Permalink

    Could work but then (as far as I know) you wouldn't be able to have empty slots.

  • 0
    RELapis commented
    Comment actions Permalink

    It would also be useful if hoppers / dropped could not then put into / take out of these slots.

  • 0
    MadManiac360 commented
    Comment actions Permalink

    This is something I have wanted to request for some time now. It definitely lags the game when setting up locked inventory slots using the current set-up, and on bedrock it prevents players from being able to put stuff in an anvil cause it just despawns. This is truly an essential command for maps that want to limit inventories or simply set up an inventory upgrade purchase in a custom store.

  • 0
    Andre Chen commented
    Comment actions Permalink

    Xela S

    No, I think /inventorylock makes much more sense.