This topic was marked solved by its starter, on March 26th, 02:15 PM
Connection 'tween SERVER and DISCORD

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 903
Connection 'tween SERVER and DISCORD
«  »Last edited
Hey there !

I know there are servers which comunicate to Discord channels,
so I have to ask, as I'm gonna need it:
HOW TO ?

There is a Discord plugin for javascript plugin, made by @NewK , so everybody can make it happen.
Can somebody do one for Squirrel too ?

Doom_Kill3R

  • VC:MP Beta Tester
  • Infinite loops defy infinity by overflowing memory
  • Posts: 1,099
Re: Connection 'tween SERVER and DISCORD
« Reply #1,  »
The only issue with it is the amount of dependencies that come with it when made with C++. @Luckshya made one in Sleepy-Discord but it had no multi-threading which is kind of a big issue.

I made one in libdiscord, and to avoid a huge havoc of linking errors, I literally compiled the lib and bot on the same vps I'm running my server just to avoid getting all the DLLs and stuff manually ported.

Its just that if the plugin is to be released, it must be released with each linking module manually placed in the server directory for stuff to work and even then sometimes it just didn't because some stuff would be missing that the plugin/library depends on.

Xmair

  • Wiki Contributor
  • Posts: 870
Re: Connection 'tween SERVER and DISCORD
« Reply #2,  »Last edited
I myself used the libdiscord library to work on another thread and am currently using it for the next update of my server. I suggest you to start writing your own plugins as you're an old programmer and have enough experience to get started. For the community, when I've time I'll write another plugin to release publicly.
VU Full Member | VCCNR Developer | KTB Developer | EAD Ex-Scripter

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 903
Re: Connection 'tween SERVER and DISCORD
« Reply #3,  »Last edited
Quote from Xmair on February 23rd, 12:59 PM
I suggest you to start writing your own plugins as you're an old programmer and have enough experience to get started.
I'm not a programmer. Never worked in C++ or C# . Never wanted to.
(can't call coding for vcmp "programming", as that's all I've done)
If I knew how to do it, trust me, this topic wouldn't even exist.

@Luckshya sent me an alpha version of the Sleepy-Discord plugin, so I'm gonna test it these days.
If everything goes smooth, he might release it for the public too.

ysc3839

  • VC:MP Beta Tester
  • Posts: 620

NewK

  • VC:MP Beta Tester
  • Posts: 176

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 903

ysc3839

  • VC:MP Beta Tester
  • Posts: 620

Sebastian

  • VC:MP Beta Tester
  • Something like this: hga hga hga
  • Posts: 903

Luckshya

  • Jr. Member
  • Posts: 96
Re: Connection 'tween SERVER and DISCORD
« Reply #9,  »Last edited
I actually wanted to release the multi-bot plugin instead of this single bot one but due to the limitations of official squirrel plugin, I'll also have to provide with my modified version of squirrel plugin along with it which will be really confusing.

So, only the plugin that I gave to seby (single bot) could work with official squirrel plugin.

However, I was working on a better model of discord plugin for SqMod but I'm facing several problems with it. So that's just what is keeping me away from releasing it, though I have the single bot plugin working great both on windows and linux.

I can link my plugin with any of the libdiscord or sleepy-discord library but thats not the problem.

PS: If anyone else also wants to check out the plugin, you can message me on discord (Luckshya#5109).