[Discord Bot] ARKFUN | ArkShop Points gambling | Jackpot, roll the dice

[Discord Bot] ARKFUN | ArkShop Points gambling | Jackpot, roll the dice 4.0

ArkFun BOT
ArkFun is a discord bot that allows players to gamble ark points, look at their amount of points and have fun from a Discord server!
  • A plugin (free), DiscordAddon, is required in you servers.


Bot installation and config
Pre-requesites:
- Download and install NodeJS (AT LEAST V16.6) https://nodejs.org/dist/v16.10.0/node-v16.10.0-x64.msi
- Once node is installed open a command prompt (console), type or copy this text and hit enter: npm install --global pm2 (that will manage the webserver once you get the bot working, PM2 = Process Manager 2)
To take into account: if any file inside the bot's folder gets modified, it will be restarted to apply changes in config, so please do not add any databases inside that folder!


CREATE DISCORD BOT (source: https://www.howtogeek.com/364225/how-to-make-your-own-discord-bot/) Head over to Discord’s bot portal, and create a new application. https://discordapp.com/developers/applications/(edited)




You’ll want to make a note of the Client ID and secret (which you should keep a secret, of course). However, this isn’t the bot, just the “Application.” You’ll have to add the bot under the “Bot” tab.




Once you get your bot, click the bot button and copy the token. This thing needs to be pasted inside the BotToken bracket in bot's config.




Once your config is finished, double click the start file and you will see your bot working!


To invite the bot to your server use this link, and replace YOUR_CLIENT_ID_HERE by your client id (find in the app you created some steps before) https://discordapp.com/oauth2/autho...LIENT_ID_HERE&scope=bot&permissions=268725304





Bot Download and set up:
- Download the lastest version.
- Extract the folders in the desktop (or where you want to).



Config: any change in config will restart the app, without needing to do it manually.



Plugin: DiscordAddon Download it from https://arkserverapi.com/resources/discordaddon.154/ and configure it before next steps!

Starting the bot: double click the start.bat file, this will start the server and open it again in case it crashes (rarely)
- If for some reason you want to watch the logs, open the console (terminal) and type pm2 logs
- You won't be able to see the server running anywhere, to check its status open the console (terminal) and type pm2 list.



Invite the bot to your channel: https://discordapp.com/oauth2/authorize?client_id=655136189539549187&scope=bot&permissions=805563504 After following all these steps, you have to contact me so I can authorize your channel!


config.json (this config will be sent to the bot in commands execution)
{
"botToken": "",
"prefix": ".",
"statusType": "WATCHING",
"status": "ArkFun",
"MySQL": {
"host": "localhost",
"user": "root",
"password": "fakita",
"shopDb": "ark90700",
"shopTable": "arkshopplayers",
"discordAddonDb": "ark90700"
},
"verify": {
"Enabled": true,
"Command": "verify",
"UserNotFound": "⛔ Your Discord account is not linked to the ARK server. Please use the command **/verify {usertag}** in the **in-game chat**. You will get a secret code, once you get it, please come back and use the command **.verify <code>**, example: .verify 8556",
"NotFoundFooter": "After these steps your account will be linked.",
"Success": "✅ {usertag}, your account **was successfully linked**!",
"SuccessFooter": "Account successfully linked.",
"AlreadyVerifiedTitle": "Your account was already verified",
"AlreadyVerifiedDescription": "{usertag}, if you think this is an error, please make a support ticket!",
"TryToVerify": "⛔ {usertag}, your Discord account is not linked to the ARK server. Please use the command **.verify** to get more information about this!",
"WrongCode": "🔒 {usertag}, the code you provided is wrong! If you can't remember it, please use the in-game command **/resetdiscord** and repeat all the steps!",
"VerifyImageLink": "https://images.emojiterra.com/twitter/512px/1f4bb.png",
"AdminSuccess": "you have successfully verified {usertag} with the steamid {steamid}"
},
"resetdiscord": {
"Enabled": true,
"Command": "resetdiscord",
"Success": "😄 {usertag}, you have successfully reseted your account and can use the **.verify** command again!"
},
"points": {
"Enabled": true,
"Command": "points",
"DirectMsg": "You have {points} points!",
"SentByDM": "💰 {usertag}, the amount of points you have was sent by DM!\n\nIf you have your PM's blocked, please enable them and try again.",
"Footer": "These points can be used in the in-game shop!",
"PointsImageLink": "https://dunb17ur4ymx4.cloudfront.net/packages/images/41c8794a6a378913f66c7c594eb584f4e12807d4.png"
},
"jackpot": {
"Enabled": true,
"Command": "jackpot",
"Cooldown": false,
"CooldownInSeconds": 10,
"UsageMsg": "{usertag}, you must follow the following **syntax** to try the Jackpot Machine!: **.jackpot {points}**, example .jackpot 50\n\nDepending on you luck, **you can multiply your points by this amount**:\n\n🍒🍒🍒 | **x30**\n🍇🍇🍇 | **x20**\n🍉🍉🍉 | **x10**\n🍍🍍🍍 | **x5**\n",
"UsageFooter": "Feel lucky? Try it out!",
"MinPointsToBet": 15,
"MaxPointsToBet": 150,
"WrongAmount": "your bet must be between 15 and 150 points!",
"TripleCherryMultiplier": 30,
"TripleGrapesMultiplier": 20,
"TripleWatermelonMultiplier": 10,
"TriplePineappleMultiplier": 5,
"ResultingEmojis": "**Result**: ",
"WinMsg": "Congratulations {usertag}! You have multiplied your points by **{multiplier}**x resulting in a **total of {points} points**!",
"LoseMsg": "{usertag}, you **lost your points** :cry:, want to give it another **try**?",
"JackpotImageLink": "https://images.emojiterra.com/mozilla/512px/1f3b0.png"
},
"roll": {
"Enabled": true,
"Command": "roll",
"Cooldown": false,
"CooldownInSeconds": 60,
"CooldownMsg": "{usertag}, this command has a **cooldown** of 60 seconds!\n\nPlease try again later.",
"UsageMsg": "{usertag}, you must follow the following **syntax** to roll the dice!: **.roll {number from 1 to 6}**, example **.roll 3**\n\nBet cost: **{cost} points**\nIn case you win you would **multiply** your points by** {multiplier}x**, resulting in a **total** of **{total} points** 🤩",
"UsageFooter": "Feel lucky? Try it out!",
"PointsToBet": 100,
"Multiplier": 5,
"ResultingNumber": "🍀 **Resulting number**: ",
"WinMsg": "Congratulations {usertag}! You have multiplied your points by **{multiplier}**x resulting in a **total of {points} points**!",
"LoseMsg": "{usertag}, you **lost your points** :cry:, would you dare to give it another **try**?",
"RollImageLink": "https://images.emojiterra.com/google/android-pie/512px/1f3b2.png"
},
"rps": {
"Enabled": true,
"Command": "rps",
"Cooldown": false,
"CooldownInSeconds": 60,
"CooldownMsg": "{usertag}, this command has a **cooldown** of 60 seconds!\n\nPlease try again later.",
"UsageMsg": "{usertag}, you must follow the following **syntax** to roll the dice!: **.rps <{rockWord} / {paperWord} / {scissorsWord}> <points>**, example **.rps paper 15**\n\nIn case you win you would **multiply** your points by** {multiplier}x** 🤩",
"UsageFooter": "Feel lucky? Try it out!",
"Multiplier": 2,
"MinPointsToBet": 15,
"MaxPointsToBet": 150,
"WrongAmount": "your bet must be between 15 and 150 points!",
"RockWord": "rock",
"RockImage": "https://discordemoji.com/assets/emoji/rock.png",
"PaperWord": "paper",
"PaperImage": "https://hotemoji.com/images/dl/7/memo-emoji-by-google.png",
"ScissorsWord": "scissors",
"ScissorsImage": "https://images.emojiterra.com/google/android-pie/512px/2702.png",
"Result": "🍀 **Result (other player)**: ",
"WinMsg": "**Congratulations** {usertag}! You have multiplied your points by **{multiplier}**x 💰, resulting in a **total of {points} points**!",
"TieMsg": "{usertag}, It is a **tie**! You got all your points back, try again.",
"LoseMsg": "{usertag}, you **lost your points** :cry:, give it another chance!",
"RPSImage": "https://images-na.ssl-images-amazon.com/images/I/61CD2t4VmDL.png"
},
"help": {
"Command": "arkfunhelp",
"Enabled": true,
"Message": ".verify\n.verifyuser (ADMIN)\n.resetdiscord\n.points\n.roll\n.jackpot\n.rps"
},
"others": {
"ServerName": "ArkFun",
"ServerLogoLink": " ",
"CooldownTitle": "Cooldown",
"NotEnoughPoints": "you don't have enough points to execute that command!",
"NotJoinedAfterWipe": "you were not found in the points database, maybe you haven't joined the server for a long time?",
"PointsUpdatedFooter": "Your ingame points have been updated!",
"AdminDiscordID": [
"275608753783439360",
"2756087537834393601"
],
"NoPermissions": "you do not have permissions to do that! If you are an admin, add yourself to \"AdminDiscordID\" in bot config.",
"CooldownMsg": "{usertag}, this command is on **cooldown**!\n\n{remaining} minutes remaining."
}
}


Bot ShowCase (open to see examples!)
Please notice that you can edit all bot texts and messages, and these are default values, even images and logos. In these example I'm using my servername (Venom Network) and my logo.

1577307107898.png



1577307127918.png



1577307161765.png



1577307189026.png



1577307213023.png



1577307238518.png



1582434473540.png



Support
  • If you have questions before or after buying you can join my Support Discord https://discord.gg/BYY43PC
  • I try to pay as much attention to this forum as I can, but you will probably get a faster answer in Discord!
Author
Faka
Downloads
26
Type
Digital product
License duration
Unlimited
Price
26.99 EUR
Views
11,028
First release
Last update
Rating
5.00 star(s) 4 ratings

More resources from Faka

Latest updates

  1. Now you will use your own bot (with its own name and profile picture!)

    Now you will use your own bot (with its own name and profile picture!)
  2. v3.41

    Fixed a few bugs.
  3. v3.4

    v3.4

Latest reviews

the best arkfun bot i am using in my server... very good api the creator helped me in everything I configure very well for my server I recommend it is very good and fun for discord users
Faka
Faka
Thanks brother! I'm here to help.
Amazing pluggins and excellent plugging creator! Very helpful and always assist with any enquiry! RECOMMENDED!!
Faka
Faka
Thanks a lot! I'm glad to be able to help.
Works wonderfully, highly recommend to add some spice to your discord!
Faka
Faka
Thanks for the review! I hope you and your players have a lot of fun with the bot.
Very nice plugin! It makes my discord server funnier and players enjoy it very much! Recommended 100% because of the plugin and the amaizing support received from the Developer
Faka
Faka
Thanks! I'm glad that your players are enjoying it, more fun updates to come soon.
Top