Skip to content
SA:MP plugin which controls a Discord bot
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
libs update libs Feb 8, 2019
src add another load of pawn natives Mar 18, 2019
.gitignore update gitignore Nov 3, 2016
.gitmodules update log-core Oct 22, 2018
.travis.yml remove default cmake from Travis build Apr 5, 2018
CMakeLists.txt update log-core Oct 22, 2018
LICENSE Initial commit Nov 3, 2016
README.md fix README Mar 22, 2017
appveyor.yml
discord-connector.inc.in add another load of pawn natives Mar 18, 2019
pawn.json Add pawn.json for sampctl (#58) Mar 23, 2018

README.md

Discord connector plugin for San Andreas Multiplayer (SA:MP)

Travis CI AppVeyor Total downloads Latest release
Build Status Build status All Releases latest release
Github Releases

This plugin allows you to control a Discord bot from within your PAWN script.

How to install

  1. Extract the content of the downloaded archive into the root directory of your SA-MP server.
  2. Edit the server configuration (server.cfg) as follows:
    • Windows: plugins discord-connector
    • Linux: plugins discord-connector.so

F.A.Q.

Q: I get a version GLIBCXX_3.4.15' not found error (or similar). How can I solve this?
A: Update your system. If that still didn't work, you'll need to upgrade your Linux distribution to a version which provides the gcc 4.9 (or higher) compiler.

Q: The plugin fails to load on Windows, how can I fix this?
A: You have to install these Microsoft C++ redistributables. You'll need the x86/32bit downloads.

Q: I'm not on Windows 10 and the plugin still fails to load after installing all the redistributables. Is there a solution for this?
A: Download the universal Windows CRT. Requirements for this:

Build instruction

Note: The plugin has to be a 32-bit library; that means all required libraries have to be compiled in 32-bit and the compiler has to support 32-bit.

Windows

  1. install a C++ compiler of your choice
  2. install the Boost libraries (version 1.62)
  3. install CMake
  4. clone this repository recursively
  5. create a folder named build and execute CMake in there
  6. build the generated project files with your C++ compiler

Linux

  1. install a C++ compiler of your choice
  2. install the Boost libraries (version 1.62)
  3. install CMake
  4. clone this repository recursively
  5. create a folder named build and execute CMake in there (mkdir build && cd build && cmake ..)
  6. build the generated project files with your C++ compiler
You can’t perform that action at this time.