![](https://img.itch.zone/aW1nLzE1MTI2MDA4LnBuZw==/original/LwNonx.png)
Huskycraft
Creator of
Recent community posts
Hey,
Thank you for your interest in the plugin.
Have you joined our Discord server yet? This may be the cause of the issue:
discord.gg/tU4mZDRpvD
Hey,
can you reach me out on the discord server to send me your .c3p file?
https://discord.gg/a32vZmcT
Hey there,
yes, it is possible to auto-join users to your server after successful login. To set this up please follow these steps:
- If you haven't already, please head over to https://discord.com/developers/applications and select your application. Head over to the "Bot" section and add you application as a bot. Then copy the token of your bot. (Now you need to invite the just created bot to your server)
- As next step, kindly go to you C3 game and paste you bot token in the Bot-token property on the sidebar. After you pasted the token in, please also paste the Server-id of the server you want them to be added to in the server-id property.
- Now add the guilds.join scope to the scope parameter of the Login action.
Your all set! :)
For a better/more detailed description kindly check out our documentation:
https://discord.com/channels/333339402723917825/1001595907822858270/100221888453...
Hi, thanks for using this plugin!
Before you ask on our discord server please make sure that you have read the DOCS!
DOCS
Last updated on: 30.4.2022
OAuth2
There are 3 events you need to use to use the full auth system.
Please stick to the documentation to make the system work and avoid issues!
Event 1:
Every 1 second >> Load data from Auth server
Event 2:
On start of layout (or whenever you want the user to login) >> Request Auth
Event 3:
On Connection >> Set text (or whatever you need) to DiscordCollection.OAuthUsername
Getting user's roles
(Beta)
Head over to your properties bar and paste the Discord server ID from which you want to receive the user's roles from in the "ServerID" property.
You will be able to use the DiscordCollection.OAuthUserroles expression in your project.
If the user is not in the server or the server ID is not valid it will return NaN.
Advanced-Webhooks
Embeds
https://www.rapidtables.com/convert/number/hex-to-decimal.html
Take a look at this example to understand for which each parameter stands.
Make sure to use a decimal color code in the 'color' parameter. You can use this page to convert color codes from hex to decimal.
(Example color code we used in the image above: 16711935)
Text
How to add & customize webhooks to/in your discord server?
Please refer to this documentation: https://discordjs.guide/popular-topics/webhooks.html#creating-webhooks
Fetch messages from discord
This feature lets you receive messages that are getting send in your discord server.
Usage:
Event 1:
Every 1 second >> Fetch messages from guild "{your guild token here}"
Event 2:
On Message fetched >> Set text (or whatever you need) to DiscordCollection.MessageContent
Get a guild Token
Invite our Discord Bot!
Type c3!generatetoken in your server (Make sure you have administrator permissions!).
Type c3!viewtoken in your server ( " " ).
If you still have questions we are happy to see you in our discord server!
Staff contact: Huskycraft#2913
Commercial requests: realpixellife.studios@gmail.com |or| Huskycraft#2913
Supported by: a great community