Gameserver Chat to Browser
Hello,
I need a plugin where the chat shows on homepage. Example: [SERVER XYZ] NICKNAME: Text1 Text2 [SERVER XYZ] NICKNAME: Text1 Text2 [SERVER XYZ2] NICKNAME: Text1 Text2 Etc,. Can anyone help me? :) |
Re: Gameserver Chat to Browser
What ?
|
Re: Gameserver Chat to Browser
Quote:
|
Re: Gameserver Chat to Browser
Quote:
EDIT: Sh*t. I don't think there is anyway to do that with only sockets, since PHP is not asynch and NodeJS require a PC to install (so it won't be web-only). Any idea ? |
Re: Gameserver Chat to Browser
NodeJS and PHP need to be installed, but PHP is allready installed on the most webservers. PHP can do sockets too, but nodejs fits better for that usecase. Although you can use simple HTTP requests and PHP based API.
|
Re: Gameserver Chat to Browser
Quote:
|
Re: Gameserver Chat to Browser
Use API GameMe, if TS uses it.
|
Re: Gameserver Chat to Browser
I would set up a REST api using PHP. It wouldn't need many commands. You could call that api within your sourcemod plugin using http requests by curl ext.
|
Re: Gameserver Chat to Browser
U can see it here is there anyone who can?
|
Re: Gameserver Chat to Browser
Why not insert messages into MySQL(either directly or http requests) and then just load the messages on web page with auto-refresh using jquery/ajax?
|
All times are GMT -4. The time now is 23:41. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.