x-Eagle-x / discord-AMCompiler-bot

A Discord bot written in JavaScript for compiling SM/AMXX plugins.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AMCompiler

A Discord bot written in JavaScript for compiling SM/AMXX plugins. Type "$help" for seeing the available commands.

Installation

  • Install the Discord bot library for NodeJS
  npm install discord.js
  • Create a MySQL server and execute this query:
  create table AMCompiler
  (
     ServerId varchar(32),
     BotChannel varchar(32)
  );
  • Edit the configuration file ("auth.json")
  • If you are running the bot on Linux, change the variable OnLinux (line #15) to true.
  • By default there's no need but you may download AMXX and SP from the official websites and copy the compilers (folder "scripting") to folders "AMXX" and "SP" respectively.

AmxModX downloads:

SourcePawn downloads:

About

A Discord bot written in JavaScript for compiling SM/AMXX plugins.

License:GNU General Public License v3.0


Languages

Language:C++ 39.8%Language:SourcePawn 32.4%Language:Pawn 27.3%Language:JavaScript 0.4%