Jump to content

[Plugin] Discord Connecter

Recommended Posts

Salut SA-MP.ro

Recent (luna trecuta) a aparut un nou plugin, bun pentru serverele care au streameri / youtuberi activi. Mai exact un plugin care poate conecta un server de discord cu chat-ul de la samp cu ajutorul unui Discord Bot.

Creditele totale ii apartin utilizatorului maddinat0r de pe .com

In primul rand trebuie sa creezi un bot:

Intra pe: https://discordapp.com/developers/applications/me

Click pe "new application"

Scrie numele botului (numele o sa apara in lista de utilizatori de pe discord)

Apasa pe "create application".

Acum apasa "create bot user".

Acum ai un bot pe care il poti folosi!


Ca sa conectezi un bot la server, intra pe linkul de mai jos, inlocuind "ID-ULBOTULUI" cu client id-ul de la bot (il gasesti la App Details, in pagina botului).


Dupa ce ai conectat botul la server, pur si simplu introdu functia DCC_Connect(); la onGameModeInit()

public OnGameModeInit()
	return 1;
//Gasesti token-ul la "App Bot User", in pagina de discord a bot-ului
//Tokenul trebuie pus intre ("") in cod

!Daca ai bagat DCC_Connect la onGameModeInit, Bot-ul o sa fie online pe server-ul de discord atata timp cat serverul este ON!


Sursa Github: https://github.com/maddinat0r/samp-discord-connector

Download Github: https://github.com/maddinat0r/samp-discord-connector/releases

Post-ul originial: 

Sper ca va place acest mic plugin, tineti cont ca este inca in beta, voi reveni cu update-uri, cand mai apar :)

Edited by CritteR
  • Upvote 6

Discord FiveM: https://discord.gg/uD23e7C



Share this post

Link to post
Share on other sites

Frumos plugin.


             a7DfKP7.gif                                                                      FGIfknL.gif


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.

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.

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...

Important Information

This site uses cookies. By continuing browsing, you agree to the use of this information. For more details, see Terms of Use and Privacy Policy.