Discord + GD + MC...

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

ItzarReal

Member
Oct 21, 2020
19
0
1
23
So, I've had the ultimate project: Making a discord bot that connects to Minecraft, Geometry Dash, and discord. I am using Skellet and Vixio for this. (Skellet for MySQL stuff) I need help. For some reason, I can't get skellet to connect to MySQL. Here's my code:
Code:
discord command gd;test:
    trigger:
        skellet set mysql host to "http://ps.fhgdps.com/phpmyadmin/"
        skellet set mysql username to "gdps_nexargdps000"
        skellet set mysql password to "cVOYOaxitSBcFFPm1Qh8SH"
        skellet connect to mysql
        set {level} to mysql object "likes" from "levels"
        broadcast {level}

Then I tried a different approach with skript-db. Here's my code:
Code:
on script load:
    set {sql} to the database "http://ps.fhgdps.com/phpmyadmin/index.php?route=/database/structure&server=1&db=gdps_nexargdps000"

command /dbtest:
    trigger:
        execute "select * from levels" in {sql} and store the result in {output::*}
        send {output::1}
        send sql error
 
Last edited:
Please dont post this kind of stuff in skript sections, i know it includes skript; but this is more general and more Server-Side stuff...
 
Status
Not open for further replies.