Send Chat As A Player

Started by Buehl34 on Mon, 12/28/2020 - 15:13

Topic category: Help with modding (Java Edition)

Last seen on 21:20, 20. Jan 2021
Joined Dec 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Send Chat As A Player
Wed, 12/30/2020 - 15:19 (edited)

Hi! I’m trying to make a mod that allows the player to send a message when they press a bound key on their keyboard. I know there are multiple ways to send generic messages but I want the message to come from the player that pressed the key. All I can get is a message without a name. Is this possible to fix? I’m modding in 1.15.2 in version for 2020.5

Edited by Buehl34 on Wed, 12/30/2020 - 15:19
Maybe using a run command…
Thu, 12/31/2020 - 09:59

Maybe using a run command procedure block to say something (eg. say)