i was wondering if there is anyway to port game chat to website. im syre im not the only admin wanting this plugin
Universal Web-chat interface
Discussion in 'Plugin Requests' started by Me15connor, Jan 15, 2015.
-
Wulf Community Admin
Sure, but you'd need to write the website portion that accepts it as well.
-
-
Wulf Community Admin
-
ok, i thought you were telling me to get to work
-
Wulf Community Admin
-
I started porting my legacy WebChat plugin a while ago but never finished or tested it. If anyone is interested he can pick it up on my github.
-
I presume this is potentially possible due to the great work on the rust.io stuff with the live map.
Can a plugin be made that outputs the server chat so that we can display it on the front page of our website, like a little chat box the auto updates? -
Wulf Community Admin
Output to what? Rust already has a Log.Chat.txt file you could use.
-
A chat interface for your web domain (http://)
Ability for chatting with ppl from the webpage to the ingame players, when the chatting visitor has been logged into the game once before. -
could partially use the IRC plugin for this.....maybe make it a "Members only" area
-
So how can i add to my site where u can see chat like u can in Rust IO map thing Rust:IO <-- Like that and if possible how can i add it so they can chat from site with steam login??? and how can i add steam login? Thanks in advance for ur time
-
Wulf Community Admin
Why not just use Rust:IO?
-
-
Calytic Community Admin Community Mod
To upload chat, you can use the OnPlayerChat hook with web requests to your web server. I would suggest creating a chat buffer so you're only doing a web request every 5-10 messages otherwise you'll consume your bandwidth on both sides.
-
[DOUBLEPOST=1447806398][/DOUBLEPOST] -
Calytic Community Admin Community Mod
This is the web request class provided by oxide.
Oxide/WebRequests.cs at master · OxideMod/Oxide · GitHub
Code:Interface.Oxide.GetLibrary<WebRequests>("WebRequests").EnqueueGet("http://example.org", (code, response) => { Log(response); }, this)
Oxide API for Rust -
-
Calytic Community Admin Community Mod
You mean, can I write the code for you?
No, you have everything you need to do it in those links. Maybe some other brave soul will try their hand at this one. -
could you not just embed the page into your webpage, that would be easy right?