ULX

Author Topic: SMail - Server Mail System  (Read 20974 times)

0 Members and 3 Guests are viewing this topic.

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
SMail - Server Mail System
« 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
Compose and admin panels open: http://puu.sh/6pWkH.jpg
Sent mail view toggled: 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.
« Last Edit: January 22, 2014, 10:57:50 AM by Cobalt »

Offline JayTheSheep

  • Newbie
  • *
  • Posts: 2
  • Karma: 0
Re: UMail - Server Mail System
« Reply #1 on: January 17, 2014, 01:56:50 PM »
That's awesome, and free! :D Thanks!

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: UMail - Server Mail System
« Reply #2 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?


"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Decicus

  • Hero Member
  • *****
  • Posts: 552
  • Karma: 81
    • Alex Thomassen
Re: UMail - Server Mail System
« Reply #3 on: January 17, 2014, 02:09:23 PM »
Cobalt. You are an amazing person. This looks super-cool.
Contact information:
E-mail: alex@thomassen.xyz.
You can also send a PM.

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: UMail - Server Mail System
« Reply #4 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 :)

Offline nogger

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: UMail - Server Mail System
« Reply #5 on: January 17, 2014, 02:57:15 PM »
k so
I extacted into autorun and it just lua errors me :(

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: UMail - Server Mail System
« Reply #6 on: January 17, 2014, 03:00:06 PM »
k so
I extacted into autorun and it just lua errors me :(
Need more information please

Offline nogger

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: UMail - Server Mail System
« Reply #7 on: January 17, 2014, 03:19:46 PM »
Nevermind. Works fine.
How do i open it?

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: UMail - Server Mail System
« Reply #8 on: January 17, 2014, 03:21:25 PM »
Nevermind. Works fine.
How do i open it?
!mail

Offline nogger

  • Newbie
  • *
  • Posts: 10
  • Karma: 0
Re: UMail - Server Mail System
« Reply #9 on: January 17, 2014, 03:22:54 PM »
Make it sendable to STEAM_IDS?
And how do i see admin?
« Last Edit: January 17, 2014, 03:38:57 PM by nogger »

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: UMail - Server Mail System
« Reply #10 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?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: UMail - Server Mail System
« Reply #11 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.
Experiencing God's grace one day at a time.

Offline Cobalt

  • Full Member
  • ***
  • Posts: 216
  • Karma: 44
  • http://steamcommunity.com/id/__yvl/
Re: UMail - Server Mail System
« Reply #12 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.

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: SMail - Server Mail System
« Reply #13 on: January 17, 2014, 06:25:08 PM »
Thanks, Cobalt!
Experiencing God's grace one day at a time.

Offline sabo

  • Full Member
  • ***
  • Posts: 136
  • Karma: 2
  • Hello :)
    • The Elite Gaming
Re: SMail - Server Mail System
« Reply #14 on: January 18, 2014, 08:44:01 AM »
I dont think I need this personally but this looks really great, compliment