Repository navigation
Chat text commands visibility #5
BearGrilledUK
started this conversation in
General
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 |
9 replies
|
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. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment



Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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!
All reactions