Configuration

settings.json

    "version": "1.0",
    "name": "AlphaCtyl",
    "defaulttheme": "default",
    "timezone": "Asia/Kolkatta",

You Can Change The Name Of The app By Changing AlphaCtyl

Default theme

You Can Download Theme from our github page and upload in the themes folder and change "default theme": "theme name"

time zone

Change Time Zone According to your server location.

Time Zones

Website Config

 "website": {
      "port": 8080,
      "secret": "5646457875645",
      "name": "AlphaCtyl",
      "logo": "https://i.ibb.co/1TQbcJ9/a-high-resolution-logo-transparent.png"
    },
  • Enter The Domain Url of the Dashboard Hosted

  • Port That The Dashboard Hosted eg: 8080

Packages

 "packages": {
      "list": {
        "default": {
          "ram": 1024,
          "disk": 1024,
          "cpu": 100,
          "servers": 1,
          "ports": 1,
          "database": 1,
          "backups": 1
        }
      }
    
},
  • Default Package for user when register

Ads Code


 "ads": {
 "enable": true,
 "scripts"{[
 
    "ad1": "code for ad 1",
    "ad2": "code for ad 2"

]}
},
  • Place the ads code to display ads in dashboard

Youtube Video Reward:

  "youtube": {
    "enable": false,
    "coins": "50",
    "_Note_": "Youtube Video code after v= (https://www.youtube.com/watch?v=xTBDsVl9fQQ) ",
    "links": [
      "FAyKDaXEAgc",
      "tCDvOQI3pco",
      "FUKmyRLOlAA"
    ]
  },
  • Coins To be Rewarded

WebServer

  "webserver": {
      "Maintainance": false,
      "account_creation": true,
      "server_creation": false
    },
  • Set To True To Enable Maintainance Mode

  • Set account creation to true to enable account creation

  • Set server creation to true to enable server creation

Discord bot and oauth2

  "discord": {
    "oauth2": {
      "_Note_": "Oath2 clientID And clientSecret",
      "clientID": "client-id",
      "clientSecret": "client-secret",
      "callbackpath": "<domain>/discord/callback"
    },
    "bot": {
      "enabled": true,
      "name": "AlphaCtyl Beta",
      "description": "Testing AlphaCtyl Dashboard",
      "activityType": "PLAYING",
      "status": "idle",
      "token": "bot-token",
      "joinguild": {
        "_comment": "The Discord bot must be in these servers and have invite permissions.",
        "enabled": true,
        "guildid": [
          "Guild Id Here"
        ]
      },
      "giverole": {
        "_comment": "Both the bot and the user must be on the server, give the specify role on registering",
        "enabled": true,
        "guildid": "Guild id Here",
        "roleid": "Role id here"
      }
    },
    "logging": {
      "status": true,
      "webhook": "webhook-url",
      "actions": {
        "user": {
          "signup": true,
          "create_server": true,
          "modify_server": true,
          "buy_resources": true
        },
        "admin": {
          "set_coins": true,
          "add_coins": true,
          "set_resources": true,
          "set_plan": true,
          "create_coupon": true,
          "revoke_coupon": true,
          "remove_account": true,
          "view_ip": true
        }
      }
    }
  },

Last updated