[Any] Private Messager (v1.0.4, 07/07/15)
1 Attachment(s)
[Any] Private Messager (v1.0.4, 07/07/15) Description: This plugin is very simple in design: you can private message someone, you can toggle if someone can private message you, and you can toggle, if you are an admin, if you can see everyone's private messages. To be able to see everyone's private messages you need to have the chat flag inside SourceMod (or root obviously). ConVar List:
Command List:
Change Log:
Spoiler
|
Re: [Any] Private Messager (v1.0.0, 07/18/13)
Since messages are already going to be logged, would you kindly make it so that it also forwards all private messages to admins?
Nice plugin by the way. |
Re: [Any] Private Messager (v1.0.0, 07/18/13)
Yeah ... a lot of people have told me to make this send it to admins (this was originally in a different plugin of mine). At current I am working on something else, and was talked into removed this command from a different plugin, and putting it up here as its own plugin.
The next update I push I will add a convar to enable or disable the display of private messages to all admins, and then a command that admins can use to toggle that feature on or off. The only issue I foresee is what flag should I use to determine which admins can see the messages. |
Re: [Any] Private Messager (v1.0.0, 07/18/13)
You would use the admin flag chat (J).
|
Re: [Any] Private Messager (v1.0.0, 07/18/13)
This is lite version of this https://forums.alliedmods.net/showthread.php?t=123978
Yes? |
Re: [Any] Private Messager (v1.1.2, 07/23/13)
Yes, this can be qualified as a 'lite' version of that plugin. I have been looking for a simple Private Messaging plugin for some time, and could never find one. I new that one existed but at the time I did not want to go through the hassle of using it; I just wanted a simple sm_pm command. When I learned how to code SourcePawn I finally made one, and here we are.
** Edit ** I have released v1.1.2: added the feature for admins to see everyone's private messages (so long as said admin is not the client sending the message, or the target receiving the message). An admin has to have admin chat flag (j) to be able to see the private messages. The last update was that a player can also toggle whether or not they allow others to private message them. If you join the server and these are disabled it will tell you they are disabled to you remind you (they save inside Client Prefs). |
Re: [Any] Private Messager (v1.1.2, 07/23/13)
A little thing I noticed >.>
PHP Code:
PHP Code:
PHP Code:
PHP Code:
Anyway, it is a very nice idea, I've always wondered why the built-in SourceMod PM wasn't available to players by default :( |
Re: [Any] Private Messager (v1.1.2, 07/23/13)
Thanks for the suggestions. The GetUserFlagBits works like it is; the reason I have it like that is because if you do a regular admin flag then root users do not return true for said flag. On my Dev Server I only have the root flag, so I put it like that in-case other people had the same problem.
Also, what you posted could be: PHP Code:
I too have wondered that for some time, but I still would prefer this over the default SM private message system; it seems easier to me I guess, I dunno. Anyways, glad you like it and thanks for the commentary! |
Re: [Any] Private Messager (v1.1.2, 07/23/13)
Quote:
PHP Code:
|
Re: [Any] Private Messager (v1.1.2, 07/23/13)
You should be using CheckCommandAccess, not manually getting flags.
|
All times are GMT -4. The time now is 06:52. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.