#(mertjs) All keyboard events? Example keypress q, l, f, r, c

39 messages · Page 1 of 1 (latest)

grim harness
#

I'm using this event for F player swaps items
But i don't know for l, r and c. Please help!

wary oysterBOT
#

(mertjs) All keyboard events? Example keypress q, l, f, r, c

#

Hi I'm AutoThreadBot! Don't mind me, I'll just be adding the helper team to this thread so they can see it. A human will get to you soon.
You can block this bot if you don't want to see these messages, I won't mind.
<@&525394568410038282>

deft copper
#

minecraft does not detect key presses, only functional events

#

the only way to record actual key presses is through the combination of a client mod and server side plugin

#

!e arikey

narrow cairnBOT
deft copper
#

depenizen adds support for arikeys, one such plugin-mod combo

#

!e arikeys key pressed

narrow cairnBOT
# deft copper !e arikeys key pressed
Required Plugins or Platforms

Depenizen, AriKeys

Group

Depenizen

Event Lines

arikeys key pressed

Switches

id:<id> to only process the event if the key ID matches the given text matcher.

Triggers

When a key is pressed by a client running AriKeys, if that key is in the AriKeys config.

Has Player

Always. - this adds switches flagged:<flag name> + permission:<node>, in addition to the <player> link.

Context

<context.id> Returns the ID of the key that was pressed according to the AriKeys config, as a namespaced key.

Has Known Location

True - this adds switches in:<area> + location_flagged:<flag name>.

grim harness
#

arikeys is mod?

deft copper
#

it is a server side plugin and a mod that clients must have installed

#

you cannot detect key presses from players without a mod

grim harness
#

okay but can i detect event for player open achievements menu

#

this thing

deft copper
#

only if such an event exists in spigot/paper api

#

iirc the achievement menu is entirely client sided

grim harness
#

and server does not get info for when player open the menu?

deft copper
#

not as far as I know

grim harness
#

okay if i use arikeys must i use mohist?

deft copper
#

no?

#

it is a plugin-mod combo

#

you run the plugin on the server

#

the mod is for the client

#

there is another undocumented feature you can use as well, which is listening to minecraft keybinds

#

like this

#
Wind_Skip:
    type: world
    debug: false
    events:
        after mythickeys key pressed id:minecraft:jump flagged:wind_skip_enabled:
#

(mythickeys is the old name)

#

in this case minecraft:jump is the namespace of the jump key

#

so figure out what the namespace is for the achievement menu key and you can listen to that

grim harness
#

Okay thanks so much!