I am trying to figure out what event triggers on world change. If I am on a network that uses bungee cord, and it sends me to another server on the network, is there an event that will trigger when I have been moved to that new server? I have tried a bunch of things, but they either don't trigger at all or trigger a whole bunch of times when I am moved. It would also be awesome if there is a way to make the client disconnect from the server. Thanks in advance.
I am trying to change the players currently selected hotbar slot. I found
minecraft.thePlayer.inventory.changeCurrentItem(x)
however, this only selects the next or previous slot.
I am very new to this, sorry if I missed something obvious.
Thanks.
5 replies
Important Information
By using this site, you agree to our Terms of Use.