Chat text commands visibility #5
Replies: 2 comments 10 replies
-
Your commands (/gear, /info... ) are visible for players near you, and it is not possible to hide (but it's cool to avoid admin cheat) But messages are only for you: the method SendPlayerMessage(player, "blabla "); is used to send only to player how type the command |
Beta Was this translation helpful? Give feedback.
-
That is good work, thank you for your contribution @jcaspes! I like the separation of concerns you have accomplished splitting the source files into classes, I wasnt aware it would be possible with the scripts. Yes its true it will require a mod, whereas the commands in the main repo has been for pure vanilla so far. |
Beta Was this translation helpful? Give feedback.
-
Hi, I love these commands and scripts, I used them a year ago and using them again now. They're great!
I am wondering about if the chat messages are seen to other players.
If I type the '/info' or '/gear' commands as an example, will other players see the '/info' nearby in chat?
Secondly, will they see the returning message that shows up in yellow after typing the command? For example, after typing '/info', will players see the message that says: "Players on sever: 2 Player {0} Name: x Pos <x, x, x>...etc" in chat?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions