Sign in to follow this  
dpj

[SUGGESTION] Webhook Plugin

Recommended Posts

A plugin that extends the cod4x-server with webhooks. Plugin callbacks would forward data via http to registered urls. that enables data processing with more widespread web languages like javascript or php. 

possible applications: 
- realtime serverstatus file (as we have one with serverstatus.xml already)
- logging player stats with history
- maintain a chatlog
- more simple replacement for everything thats using logparsing currently
- discord bot to report server status
- ... and many more

Technically this should be very easy to realize. The server already has functionality to do http get and post requests. only real trouble would be to encode data into json/xml or whatever. 

Share this post


Link to post
Share on other sites
8 hours ago, dpj said:

- logging player stats with history

does a kill callback for plugins exist?

8 hours ago, dpj said:

possible applications:

+ screenshots logging

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this