Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Add a PM system only for admins #170

Closed
diamante0018 opened this issue Sep 22, 2020 · 6 comments
Closed

[Feature Request] Add a PM system only for admins #170

diamante0018 opened this issue Sep 22, 2020 · 6 comments

Comments

@diamante0018
Copy link
Collaborator

A PM system that can only be used and seen by privileged clients (trusted and up).
Something that works like this: "!pma check that player he might be cheating"
Only the admins that are online should see that mesagge. It could be displayed like this: [Owner] Name -> check that player he might be cheating.
And if there are no admins online except you notify the sender, like "There are no other online admins" or something similar.
Other ideas for the name of the command: !adminchat, !ac
Thanks

@chxseh
Copy link
Contributor

chxseh commented Sep 22, 2020

This feature is kind of useless since most clients don't hide commands at all, but still might be useful for the clients that do hide messages, I suppose.

@diamante0018
Copy link
Collaborator Author

Correct, I can only confirm T5 Tekno hides messages that start with !. Although I'm sure In every client it is possible to develop a script that hides all messages that start with !. So it's not completely useless

@chxseh
Copy link
Contributor

chxseh commented Sep 22, 2020

I don't think you understand what multiple people have told you, without editing the engine itself you cannot hide command chat messages. It's highly unlikely IW4x/Pluto will implement this feature.

E: appears iw4x supports /! but pluto afaik doesnt

@Bluscream
Copy link

Shouldnt you be able to hook the chat message func and return null if msg.startsWith("!")

@diamante0018
Copy link
Collaborator Author

diamante0018 commented Sep 23, 2020

Oh, I see chaasehall. I understand it's just that I didn't choose the best words. When I said 'script' I am not referring to IW4M. I am referring to an in-game script that tweaks the game engine. So it does not have anything to do with IW4M in regards to that aspect.

@RaidMax
Copy link
Owner

RaidMax commented Sep 26, 2020

implemented in

@RaidMax RaidMax closed this as completed Sep 26, 2020
RaidMax added a commit that referenced this issue Sep 26, 2020
* update GenerateGuidFromString to resolve to a stable hash code.
fix bots not showing up on live radar

* add 0.0.0.0 as internal "ip" even though it's not actually a valid IP but for cod4x

* implement pm admins command for issue #170

* implement service resolver for script plugins
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants