• Hey! Register here to create your account, engage with the community, and talk about what is new!

How to disable number key item moving and f key item moving

SquareFinder

New member
Joined
Jul 8, 2022
Messages
12
Reaction score
2
I would like to prevent an item from being moved to chests. A simple cancellation of the player click inventory slot event does not work with number keys and the swap hand key. If it helps, the item should only ever be in the 9th slot of the players hotbar. I don't know how I would go about detecting if items are in chests though.
 

ARMcPro

Forum adept
Overlord
Joined
Oct 20, 2020
Messages
1,245
Reaction score
349
You can cancel the Swap Hand key buy cancelling Swap Hand event, a ghost item might appear in their offhand but it should work.

and for the number thing, i don't really know, sorry :(
 

SquareFinder

New member
Joined
Jul 8, 2022
Messages
12
Reaction score
2
Unfortunately the swap hand key event is if you press the f key outside your menu, however if you press it inside the menu it doesn't activate
 

birdman5454

Forum adept
Overlord
Joined
Aug 13, 2022
Messages
238
Reaction score
22
Maybe a thing that saves the amount and item idea then it gives those items to and deletes them from the chest
Prob wont work but it might
 
Top Bottom