UNPKG

erela.js

Version:

An easy-to-use Lavalink client for NodeJS.

104 lines (64 loc) • 3.49 kB
<div align = "center"> <img src = "https://solaris-site.netlify.app/projects/erelajs/images/transparent_logo.png"> <hr> <br> <a href="https://discord.gg/menudocs"> <img src="https://img.shields.io/discord/416512197590777857?color=7289DA&label=Support&logo=discord&style=for-the-badge" alt="Discord"> </a> <a href="https://www.npmjs.com/package/erela.js"> <img src="https://img.shields.io/npm/dw/erela.js?color=CC3534&logo=npm&style=for-the-badge" alt="Downloads"> </a> <a href="https://www.npmjs.com/package/erela.js"> <img src="https://img.shields.io/npm/v/erela.js?color=red&label=Version&logo=npm&style=for-the-badge" alt="Npm version"> </a> <br> <a href="https://github.com/MenuDocs/erela.js"> <img src="https://img.shields.io/github/stars/MenuDocs/erela.js?color=333&logo=github&style=for-the-badge" alt="Github stars"> </a> <a href="https://github.com/MenuDocs/erela.js/blob/master/LICENSE"> <img src="https://img.shields.io/github/license/MenuDocs/erela.js?color=6e5494&logo=github&style=for-the-badge" alt="License"> </a> <hr> </div> > Erela was transferred to MenuDocs, because I no longer wish to work with Discord related development. It will from now on be maintained by [MenuDocs](https://github.com/MenuDocs). ~ @Solaris9 ## Documentation & Guides - [Documentation](https://erelajs-docs.netlify.app/docs/gettingstarted.html "Erela.js Documentation") - [Guides](https://erelajs-docs.netlify.app/guides/introduction.html "Erela.js Guides") ## Prerequisites - Java - [Azul](https://www.azul.com/downloads/zulu-community/?architecture=x86-64-bit&package=jdk "Download Azul OpenJDK"), [Adopt](https://adoptopenjdk.net/ "Download Adopt OpenJDK") or [sdkman](https://sdkman.io/install "Download sdkman") - [Lavalink](https://ci.fredboat.com/viewLog.html?buildId=lastSuccessful&buildTypeId=Lavalink_Build&tab=artifacts&guest=1 "Download Lavalink") **Note**: _Java v11 or newer is required to run the Lavalink.jar. Java v13 is recommended._ If you are using **sdkman** then _its a manager, not Java, you have to install sdkman and use sdkman to install Java_ **Warning**: Java v14 has issues with Lavalink. ## Installation ##### **NPM** ```bash npm install erela.js ``` ##### **Yarn** ```bash yarn add erela.js ``` **Note**: _Node **v16** is required!_ ## Getting Started - Create an application.yml file in your working directory and copy the [example](https://github.com/freyacodes/Lavalink/blob/master/LavalinkServer/application.yml.example "application.yml file") into the created file and edit it with your configuration. - Run the jar file by running `java -jar Lavalink.jar` in a Terminal window. ## Example usage Please read the guides to start: <https://erelajs-docs.netlify.app/docs/gettingstarted.html#example-usage> ## Plugins You can use plugins below to extend Erela.js' features easily. Note: These are the only ones shown before being published, check the GitHub repository for a complete list. - [erela.js-spotify](https://github.com/MenuDocs/erela.js-spotify) - Converts a Spotify URL into a UnresolvedTrack to play later. ## Contributors šŸ‘¤ **Solaris** - Author - Website: <https://solaris.codes/> - Github: [@Solaris9](https://github.com/Solaris9) šŸ‘¤ **Anish Shobith** - Contributor - Github: [@Anish-Shobith](https://github.com/Anish-Shobith) šŸ‘¤ **melike2d** - Contributor - Github: [@melike2d](https://github.com/melike2d) šŸ‘¤ **ayntee** - Contributor - Github: [@ayntee](https://github.com/ayntee)