Skip to content

Proxy #246

Answered by extremeheat
frizib asked this question in Q&A
Proxy #246
Jul 24, 2022 · 10 comments · 2 replies
Discussion options

You must be logged in to vote

Please post questions on the discord and leave issue tracker for bugs.

  // Client is sending a message to the server
  player.on('serverbound', ({ name, params }, options) => {
    if (name === 'text') { // Intercept chat message
      options.canceled = true // will no longer be sent to server
    }
  })

Replies: 10 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by extremeheat
Comment options

You must be logged in to vote
2 replies
@extremeheat
Comment options

@frizib
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #240 on July 30, 2022 19:23.