GlobalChat - Another cross server communication tool
23 replies, posted
[release]This is a very simple tool that will allow you to send chat messages to other servers. It uses no modules so you won't have to worry about any DLL's. It works by using http.Get to post and receive messages. It works similarly to PrivateChat, but the "channel" is all the servers that are running the lua script that are pointing to your .php file.
[b]Requirements[/b]
*A web host with php and a sql database
[b]Installation[/b]
1.) Upload the chatter.php file to somewhere on your webhost
2.) Configure the php file to connect to a database that you have access to
3.) Create the sql table using the supplied .sql file
4.) Open the globalchat.lua file and edit the settings
-You will need to change the URL to point to the location of the php file
-Password should be equal to the password you set in the php file
-Put in a unique server name. This will be used while sending a message to all the other servers so you know where the message is originating from
5.) Upload globalchat.lua to your GMod server.
6.) Repeat steps 4-5 for all of your servers.
7.) Use the prefix you set in the lua file or "@@ <message>" in chat and enjoy!
[img_thumb]http://www.blackopsservers.com/imageupload/?di=11128994915813[/img_thumb]
[b]Download: [/b] [url]http://www.blackopsservers.com/blackops/files/globalchat2.rar[/url]
Custom chatbox not included :wink:[/release]
Nice work.
Serverside PrivateChat for only your servers.
Pretty sure it would be more efficient to use text files.
[img]http://img207.imageshack.us/img207/4334/phalanxisgay.png[/img]
Phalanx is a fag.
I saw this the other day, it's very neat, thanks for making it public. :)
Would it be possible for it to be changed slightly?
By adding a cvar (or something), so you could set who sees the messages.
That way you could set it to everyone, all Admins or just SuperAdmins.
that is one sexy private chatbox you have there
Hehe, I got to see this when you were in the anti-radioactivity bunker :v:
And I agree with Bletotum, I've always wondered how you got the messages in the chatbox to animate. Great job on this.
[QUOTE=NaRyan;26147995]Would it be possible for it to be changed slightly?
By adding a cvar (or something), so you could set who sees the messages.
That way you could set it to everyone, all Admins or just SuperAdmins.[/QUOTE]
I could add this, would you want to be able to limit who can send the messages too?
[QUOTE=Bletotum;26148482]that is one sexy private chatbox you have there[/QUOTE]
Thanks.
[QUOTE=PortalGod;26149689]I agree with Bletotum, I've always wondered how you got the messages in the chatbox to animate. Great job on this.[/QUOTE]
Just a modified [url=http://wiki.garrysmod.com/?title=DNotify]DNotify[/url]
[QUOTE=blackops7799;26155997]I could add this, would you want to be able to limit who can send the messages too?[/QUOTE]
I guess that would be a handy option also.
Just to help stop some random muppet finding out what the trigger is then spamming all your servers.
Thanks :)
[url]http://www.blackopsservers.com/blackops/files/globalchat2.rar[/url]
Done.
I added a table in the settings table for receiving and sending user groups.
I also added a send delay option. A player will only be able to send a message every 10 seconds or whatever you set.
Thank you, working great on my 3 servers :)
So good that for the 1st 30 minutes or so, the Admins on my Fretta & TTT servers were using it to insult each other.. heh
Same thing is still occurring on my two servers. Nice to hear it's working, I didn't actually test that update. :v:
I love how Cubar rates everything dumb.
Very nice job blackops!
[QUOTE=Banana Lord.;26176002]I love how Cubar rates everything dumb.
Very nice job blackops![/QUOTE]
You seem to really care, not a big deal.
That's one damn sexy chatbox, like the above said.
Wait, is it possible to ban someone on a different server?
Sweet.
Of course, we then have the issue of people with similar names....anyway, damn epic.
[QUOTE=iRzilla;26179118][img_thumb]http://dl.dropbox.com/u/3659637/cubarmad.png[/img_thumb]
Such low self esteem in your self Cubar. You should talk to a therapist.[/QUOTE]
Paranoid about boxes, calm down it's only a rating, it's not like it's going to kill you.
Release the custom chatbox? I'm sure we would all appreciate it.
[QUOTE=Cubar;26185700]Paranoid about boxes, calm down it's only a rating, it's not like it's going to kill you.[/QUOTE]
I'm sure hobos thought that, before they caught a cold from the rain.
[editline]20th November 2010[/editline]
[quote=dwatring;26187396]release the custom chatbox? I'm sure we would all appreciate it.[/quote]
please.
The custom chatbox is the one he made for his servers, i highly doubt he's going to release it.
Sorry, you need to Log In to post a reply to this thread.