The Resurgence

Recent Posts

51
Host Requests / Re: Discord Host Request - Vicky's Viceverse
« Last post by UmaR on April 12, 2025, 08:54:56 PM »
Details shared in discord DM.

Port allocated 7003
52
Host Requests / Re: Discord Host Request
« Last post by ShadowX on April 12, 2025, 12:07:21 PM »
yo any reply ?
53
Rejected Applications / Re: Applecation TurboPlay
« Last post by Claude Speed on April 10, 2025, 07:38:54 PM »
You have joined KT clan after you got denied from here, you got banned from too many servers for hacks/aurora, also your application doesn't prove that you really want to join us but you trying your luck by joining any clan, and last but not least.. you were told in your last application to reapply after 1 year and 1 year hasn't passed yet.

If you still have interest joining RT in the future feel free to apply after 15 months at least
(Do not apply until the time passes otherwise you'll get forum-ban)

Rejected.
54
Rejected Applications / Re: Applecation TurboPlay
« Last post by Israfil ☪️ on April 10, 2025, 06:26:07 PM »
Under Discussion.
55
Rejected Applications / Applecation TurboPlay
« Last post by YTAbdullahjutt on April 10, 2025, 12:20:18 PM »
Nickname:
Previous nickname(s):TurboPlay
Age:14
Country:Asia
Timezone:GMT 5+
Introduce yourself my name is Abdullah I am 15 years old I am good player
Do you have any ban history?yes recently because of my Youtube video on 2 feb
Were you in any clan? (If yes state the reason you left them): In KT and VG because they does not let me play in Gang war and kt kicked me because I applied in RZ
Reasons for joining RT:RT is a Good Clan+ its Good clan if i join i think i can get some respect
IRC/Discord:youtube_abdullahjutt
Are you interested in clan wars?Yes I love them
Additional info:I am a good Player + hud creator
56
Host Requests / Discord Host Request
« Last post by ShadowX on April 08, 2025, 10:46:11 AM »
Full Name: ShaDoW_ReaPeR^
E-mail address: usmanmodel95463@gmail.com
 
Server Name: Grand Theft Auto Palestine City
Gamemode Explanation: DeathMatch
More Information: For Discord Bot ( Echo )
57
Host Requests / Discord Host Request - Vicky's Viceverse
« Last post by Vicky on March 20, 2025, 04:25:17 AM »
Personal Details
Full Name:  Vicky
Username for the panel:  vickynotfound
E-mail address: vickyvcmp69@gmail.com
 

Discord Details
Server Name: Vicky's Viceverse
Gamemode Explanation: (secret for now)
More Information: For discord echo
58
Host Requests / Re: Discord Host Request: discord server
« Last post by UmaR on March 17, 2025, 05:03:11 PM »
Details shared in discord DM.

Port allocated 7002
59
Host Requests / Discord Host Request: discord server
« Last post by H.a.S.a.N on March 17, 2025, 04:44:42 PM »
Full Name:hasan
E-mail address: hasan0arabic@gmail.com
 
Server Name: discord server
Gamemode Explanation:
More Information: for discord bot (, echo, )
60
Support / Setup your Discord Bot
« Last post by UmaR on March 15, 2025, 05:19:27 PM »
Note: Make sure that your bot is created and added to the relevant discord server. You can go through online how to do that. Here, you will find only how you can connect to the bot from the VCMP server and perform relevant actions.

You will need to include the 3 files given below as attachments.

Connecting to the discord Bot

Use the below to connect to the discord bot
Code: [Select]
Discord.Connect(IP, Port, Password);Example is:
Code: [Select]
Discord.Connect(“213.239.220.17”, 7001, “testpassword”);



Sending Message to the discord server

To send messages to the discord, use
Code: [Select]
Discord.SendMessage(“channel-id”, “message”);



Sending Embeds to the discord server

Embed is customizable. It can have a lot of things
Code: [Select]
local embed = EmbedBuilder()
            .setTitle("Success")
            .setDescription("Connected to the server.")
            .setColor("#00CC00")
            .addField("Field1", "Value1", true)
            .addField("Field2", "Value2", false)
            .setFooter("Footer text");

Discord.SendEmbed("channel-id", embed);



Receiving Messages from the discord server
There is a function in CDiscord.nut named onMessageReceive. It has one parameter named msg. It is triggered as soon as a message arrives from discord. The msg is an object and it can have the following syntax:

Code: [Select]
{
      id: "Message ID",
      user: {
        id: "ID of the User",
        isBot: "A boolean value if the message is of a bot",
        username: "The username of the author",
        globalName: "A nickname if the user has one",
        roles: [
          {
            id: "Role ID",
            name: "Role name",
            color: "Role color",
          }
        ],
      },
      content: "The message sent by the user",
      channelId: "The channel where the message is sent",
      time: "Time of the message",
    }

So if you basically want to just send the received discord message to the server, you need to do:

Code: [Select]
    function onMessageReceive(msg)
    {
Message(msg.user.globalName + ": " + msg.content);
    }
   
SimplePortal 2.3.7 © 2008-2025, SimplePortal