Ulysses

Ulysses Stuff => Releases => Ulysses Release Archives => Topic started by: Cobalt on January 17, 2014, 01:47:04 PM

Title: SMail - Server Mail System
Post by: Cobalt on January 17, 2014, 01:47:04 PM
This is no longer available to download, sorry!

Server Mail v1.2

Hi everyone, this is my second official addon release. I was inspired by a guy I did a coderhire job for to make this addon. It took me about 3 days of nearly nonstop coding to finish this, so here it is!
This addon is basically email between players on your server. Players can send and reply to messages to other players, admins can send messages to users and all members (including offline members) in any ulx group, and to any offline steamid.

Features:
- Nice looking GUI displaying your messages, a panel to compose a message, and a panel for admin settings
- HUD Notifications when you have unread messages and for completing actions such as removing a message, or sending one.
- Send messages to offline players for them to receive when they come on to the server
- Distribute messages to any ulx group or to everyone on the server at once
- Lots of garrysmod/content_downloaded.wav (the sexiest sound in the game)
- Admin options include blacklisting groups from sending messages (can still receive messages), whitelisting steamids in blocked groups, and a setting for group and offline messaging permissions

Screenshots:
Main GUI: http://puu.sh/6pWjY.jpg (http://puu.sh/6pWjY.jpg)
Compose and admin panels open: http://puu.sh/6pWkH.jpg (http://puu.sh/6pWkH.jpg)
Sent mail view toggled: http://puu.sh/6pWle.jpg (http://puu.sh/6pWle.jpg)

Installation
Extract the file into lua/autorun

Enjoy!

Note: It is recommended to block the group "user" from sending messages, and leave it to your regular/vip/whatever and above.
Title: Re: UMail - Server Mail System
Post by: JayTheSheep on January 17, 2014, 01:56:50 PM
That's awesome, and free! :D Thanks!
Title: Re: UMail - Server Mail System
Post by: JamminR on January 17, 2014, 02:06:36 PM
I've not looked, but make sure it auto-cleans up (deletes) read messages after <x> days if reader doesn't specify to, and, auto-cleans up any unread message after <y> months.
I'd hate to have to constantly clean up data stored on my server because VIP Joe decided to s-mail user Fred who only visited twice and never joined again.
Mail message limits?
Can I read mail I sent if not deleted by user yet? (With proper coding, this shouldn't require duplicate message store, just a code retrieve of recipients 'from' message store)
Can I recall a message?


Title: Re: UMail - Server Mail System
Post by: Decicus on January 17, 2014, 02:09:23 PM
Cobalt. You are an amazing person. This looks super-cool.
Title: Re: UMail - Server Mail System
Post by: Cobalt on January 17, 2014, 02:26:12 PM
I've not looked, but make sure it auto-cleans up (deletes) read messages after <x> days if reader doesn't specify to, and, auto-cleans up any unread message after <y> months.
I'd hate to have to constantly clean up data stored on my server because VIP Joe decided to s-mail user Fred who only visited twice and never joined again.
Mail message limits?
Can I read mail I sent if not deleted by user yet? (With proper coding, this shouldn't require duplicate message store, just a code retrieve of recipients 'from' message store)
Can I recall a message?
Those features are planned, don't worry :)
Title: Re: UMail - Server Mail System
Post by: nogger on January 17, 2014, 02:57:15 PM
k so
I extacted into autorun and it just lua errors me :(
Title: Re: UMail - Server Mail System
Post by: Cobalt on January 17, 2014, 03:00:06 PM
k so
I extacted into autorun and it just lua errors me :(
Need more information please
Title: Re: UMail - Server Mail System
Post by: nogger on January 17, 2014, 03:19:46 PM
Nevermind. Works fine.
How do i open it?
Title: Re: UMail - Server Mail System
Post by: Cobalt on January 17, 2014, 03:21:25 PM
Nevermind. Works fine.
How do i open it?
!mail
Title: Re: UMail - Server Mail System
Post by: nogger on January 17, 2014, 03:22:54 PM
Make it sendable to STEAM_IDS?
And how do i see admin?
Title: Re: UMail - Server Mail System
Post by: Cobalt on January 17, 2014, 04:06:28 PM
Make it sendable to STEAM_IDS?
And how do i see admin?
You can send to steamids...
What do you mean how do you see admin?
Title: Re: UMail - Server Mail System
Post by: Megiddo on January 17, 2014, 05:59:34 PM
Cobalt, I know this may seem silly, but would you mind changing the name? We like that for the most part people know that if a release that starts with "U", it comes from Team Ulysses.

I'd suggest GMail for Garrysmod-Mail, but that would probably be confusing too. ;)

How about PMail for Persistent/Player-Mail or SMail for S-Mail? (I'm very creative :))

Great release though, you did a good job on this.
Title: Re: UMail - Server Mail System
Post by: Cobalt on January 17, 2014, 06:05:40 PM
Cobalt, I know this may seem silly, but would you mind changing the name? We like that for the most part people know that if a release that starts with "U", it comes from Team Ulysses.

I'd suggest GMail for Garrysmod-Mail, but that would probably be confusing too. ;)

How about PMail for Persistent/Player-Mail or SMail for S-Mail? (I'm very creative :))

Great release though, you did a good job on this.
Oh, no problem. I'll change it.
Title: Re: SMail - Server Mail System
Post by: Megiddo on January 17, 2014, 06:25:08 PM
Thanks, Cobalt!
Title: Re: SMail - Server Mail System
Post by: sabo on January 18, 2014, 08:44:01 AM
I dont think I need this personally but this looks really great, compliment
Title: Re: SMail - Server Mail System
Post by: Cobalt on January 18, 2014, 09:17:40 AM
Version 1.1:
Added SteamID blacklist
Added new column in the list showing name of sender
Added a black border to the DermaMenu   
Added a ton of serverside hooks that devs can use for things such as logging or denying access manually
Changed a large portion of serverside code for hooks
Title: Re: SMail - Server Mail System
Post by: Cobalt on January 18, 2014, 09:43:15 AM
With my new hook syetem, it allows easy logging of messages sent. If you guys want to do that, put this file in lua/autorun:
http://puu.sh/6pmrC.zip (http://puu.sh/6pmrC.zip)
Title: Re: SMail - Server Mail System
Post by: Storm on January 18, 2014, 12:06:43 PM
This addon is amazing! I keep looking for bugs but there just arent any!!!!
Title: Re: SMail - Server Mail System
Post by: Eccid on January 18, 2014, 12:13:28 PM
Would it be possible to make this mysql compatible/cross server?
Title: Re: SMail - Server Mail System
Post by: Cobalt on January 18, 2014, 12:16:16 PM
Would it be possible to make this mysql compatible/cross server?
I have no idea how to do that, so no unless someone else wants to. Your messages save across servers though, you just cant send messages to people across servers.
Title: Re: SMail - Server Mail System
Post by: Eccid on January 18, 2014, 03:25:13 PM
Could you make it so a message can be sent to "Admins" which is sent to a serverside mailbox that can be accessed by predefined groups.
Title: Re: UMail - Server Mail System
Post by: nogger on January 18, 2014, 06:21:56 PM

How do i see admin panel? The admin button isnt here
Title: Re: SMail - Server Mail System
Post by: Cobalt on January 18, 2014, 06:39:33 PM
Updated to verson 1.2
Added the ability to read sent messages
Added a couple more hooks and improved some backend stuff
Going to improve the logging script also


Could you make it so a message can be sent to "Admins" which is sent to a serverside mailbox that can be accessed by predefined groups.
I'll work on something like that
How do i see admin panel? The admin button isnt here
You must not be an admin then, it only shows up for admins.
Title: Re: SMail - Server Mail System
Post by: Bite That Apple on April 05, 2014, 03:22:48 PM
I had an idea like this at one time, but wasn't able to imagine it really well. This is a great, and amazing idea.