When you see someone make them smile!

Lloyd

Administrator
Staff member
Community Developer

Lloyd's Tickets | Corebot Addon | Installation​

Installation​

  1. Download the resource from MC-Market.org or CorebotAddons.com
  2. Extract the files to your Desktop.
  3. Move the LloydsTickets.js JavaScript file into the Addons folder located in Corebots main file directory.
  4. Restart Corebot

Configuration​

  1. Once you've completed the Installation Instructions you can locate the config file located in the folder named Addon_Configs in Corebots main file directory.
  2. Once you've edited the settings you wish, you need to reload the bot for these changes to take place.
Need help setting up ticket categories?
YAML:
Categorys:
  - Title: "Example1"
    SupportRoles:
      - admin
    Category: "Tickets"
    ## Emoji can be set to a unicode emoji or if you using a custom emoji use the ID
    Emoji: "853756876687802408"
    ## You only need CustomEmoji: if you are using a custom emoji
    CustomEmoji: <:soundcloud:853756876687802408>
    ## Note can be either 'false' or 'This is a note'
    # Example, Note: "This is a test category for testing purposes"
    Note: false

You basically copy your existing category into your new one.
YAML:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "🎈"
    Note: false
    Questions:
      - What addon do you need help with?
      - How old are you

Now double it
YAML:
Categorys:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "🎈"
    Note: false
    Questions:
      - What addon do you need help with?
      - How old are you
  - Title: Other
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: ❔
    Note: Create a ticket anything else
    Questions:
      - What is this ticket regarding?
Basic Category
YAML:
Categorys:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "853756876687802408"
    CustomEmoji: <:soundcloud:853756876687802408>
    Note: false
    Questions:
      - What addon do you need help with?
      - How old are you
Do you not know much about regex? Well you are in luck because we have added MustInclude,
This means you can force a member when opening a ticket to include x or xx. Example: Please link me your mcmarket profile. Force them to use mc-market.org/members/
How do I do this?
Example:
YAML:
  - Title: Other
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: ❔
    ButtonStyle:
      Style: 1
      Title: ❔ Other
    Note: Create a ticket anything else
    Questions:
      - What is this ticket regarding?
      - Question: How old are you?
        RegExp: '\d+'
        FailQuestion: "How old are you? This must be a number"
      - Question: "Please link me to mcmarket"
        MustInclude: "mc-market.org"
        FailQuestion: "That's not a valid mc-market link"
The important part.
YAML:
      - Question: "Please link me to mcmarket"
        MustInclude: "mc-market.org"
        FailQuestion: "That's not a valid mc-market link"
A bit more advanced with Regex
YAML:
Categorys:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "853756876687802408"
    CustomEmoji: <:soundcloud:853756876687802408>
    Note: false
    Questions:
      - What addon do you need help with?
      - Question: How old are you?
        RegExp: '\d+'
        FailQuestion: "How old are you? This must be a number"
A bit more advanced with Regex
YAML:
Categorys:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "853756876687802408"
    CustomEmoji: <:soundcloud:853756876687802408>
    Note: false
    Questions:
      - What is this ticket regarding?
      - Question: "Please link me to mcmarket"
        MustInclude: "mc-market.org"
        FailQuestion: "That's not a valid mc-market link"
A lot more Advanced for using AdvancedButtons, This gives you access to stlying
YAML:
Categorys:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "853756876687802408"
    CustomEmoji: <:soundcloud:853756876687802408>
    Note: false
    ButtonStyle:
      Style: 1
      Title: Click here for released addons!
      Emoji:
        Name: <:CoreBot:808683147931680800>
        ID: "808683147931680800"
        Animated: false
    Questions:
      - What addon do you need help with?
      - How ol[/SPOILER]d are you?
Advanced Buttons & RegEx
YAML:
Categorys:
  - Title: Released Addons
    SupportRoles:
      - Support
      - admin
    Category: Tickets
    Emoji: "853756876687802408"
    CustomEmoji: <:soundcloud:853756876687802408>
    Note: false
    ButtonStyle:
      Style: 1
      Title: Click here for released addons!
      Emoji:
        Name: <:CoreBot:808683147931680800>
        ID: "808683147931680800"
        Animated: false
    Questions:
      - What addon do you need help with?
      - Question: How old are you?
        RegExp: '\d+'
        FailQuestion: "How old are you? This must be a number"

Need help setting up CustomMenus?

1.
Create a new seaction like this:
YAML:
  - Name: "Addons"
    Embed:
      Title: "{branding} - Assitance addons!"
    Categories:
      - ExampleCategoies
2. You can edit the message from this video.
3. You can add certain categroies from the "Categroy" area.

This allows you to create custom menus for "Appeals" / "Reporting" etc
Example of an seaction:
YAML:
  - Name: "Addons"
    Embed:
      Title: "{branding} - Assitance addons!"
      Description: "🌞 Hello there! Are you having trouble? Looking for assistance? Anything elese regarding an addon or resource? Open a support ticket now by selecting an emoji/button from below!\n\n⏰ Reminder: We will try to respond to you as fast as possible, so please don't ping staff because you may be pining someone that doesn't know the answer. They are most likely asking the question in staff-chat for you. So please wait for our response"
      Footer: "Click a emojji/button to open a ticket!"
      Timestamp: true
    Categories:
      - Released Addons
      - Future Addons/Commissions

How to view my custom menu?
.menu

Selfhosted Transcripts
I would recommend you selfhost transcripts on a cPanel service if you don't know much about webservers.

You can purchase web hosting from https://nmhosting.eu/web-hosting/ using the code LLOYD for 25% OFF.
If you have a cPanel service and want me to set this up for you. Open a ticket and I will do this for 5 USD.

1. Download the SelfHost pack. (Download)

2. Go to your cPanel dashboard


3. Go to File Manager


4. Locate the file / website you want to have transcripts on. In my case it's zeltux.com folder


5. Click upload


6. Upload the file

7. Click "Go back to"
8. Right click on Transcripts.zip and click Extract


9. Edit your LloydsTickets.yml

Before:
YAML:
    UploadSite: https://lloyd.best/upload.php
    SavedSite: https://lloyd.best/
To:
Code:
    UploadSite: https://zeltux.com/upload.php
    SavedSite: https://zeltux.com/
Change zeltux.com/lloyd.best to your desired domain.

Please note this is only recommended if you understand NGINX and LINUX
NGINX:
server {
        listen 80;
        return 301 https://$host$request_uri;
        }

server {
        listen 443 ssl;

        ssl_certificate     /etc/ssl/SSLCloudflare.pem; ## YOUR OWN SSL## YOUR OWN SSL
        ssl_certificate_key /etc/ssl/SSLCloudflare.key;
        ssl_protocols       TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers         HIGH:!aNULL:!MD5;

        server_name www.website.com;  ## YOUR DOMAIN
        root /var/www/www.website.com; ## YOUR DIRECTORY

        index index.html index.htm index.nginx-debian.html index.php;

        location / {
            if (!-e $request_filename){
            rewrite ^(.*)$ /uploads/$1.html;
            }
        }
        # execute all .php files via php-fpm
        location ~ .php$ {
            # connect to a unix domain-socket:
            fastcgi_pass   unix:/var/run/php/php-fpm.sock;
            fastcgi_index  index.php;
            fastcgi_param   SCRIPT_FILENAME    $document_root$fastcgi_script_name;
            fastcgi_param   SCRIPT_NAME        $fastcgi_script_name;
            fastcgi_buffer_size 128k;
            fastcgi_buffers 256 16k;
            fastcgi_busy_buffers_size 256k;
            fastcgi_temp_file_write_size 256k;
            # This file is present on Debian systems..
            include fastcgi_params;
        }
}

HAVE AN AWESOME DAY <3

Supported Addons
YAML:
AddonSupport:
  PterodactylClient: false
  PterodactylPanelUrl: https://dash.lloyd.best
  WispClient: false
  WingsPanelUrl: https://panel.shuwapi.com
  UltimateMinecraft: false
  ## Depending on your version the addon file name must be named UltimateMinecraft-Pro.js or UltimateMinecraft-Lite.js
  TruckersMP: false
  DiscordPets: false
  AdvancedDiscordPets: false
  AdvancedInvites: false
  AdvancedButtons: false
  ## This addon file must be named AdvancedButtons.js
  AdvanedMenus: true
  ## This addon file must be named AdvancedMenus.js
Do you have a addon that you think will look cool in LloydsTickets? Contact me and I could add intergation!

You think we missing something?
Contact me!
 
Last edited:

© 2021 COREBOTADDONS.COM INC. ALL RIGHTS RESERVED.
Major thank you to "Dragon" from Insurgence Network for helping setting up Paid Resources!

Top