1. 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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Discord + GD + MC...

Discussion in 'Skript' started by ItzarReal, Apr 12, 2021.

Thread Status:
Not open for further replies.
  1. ItzarReal

    ItzarReal Member

    Joined:
    Oct 21, 2020
    Messages:
    19
    Likes Received:
    0
    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 (Text):
    1. discord command gd;test:
    2.     trigger:
    3.         skellet set mysql host to "http://ps.fhgdps.com/phpmyadmin/"
    4.         skellet set mysql username to "gdps_nexargdps000"
    5.         skellet set mysql password to "cVOYOaxitSBcFFPm1Qh8SH"
    6.         skellet connect to mysql
    7.         set {level} to mysql object "likes" from "levels"
    8.         broadcast {level}
    Then I tried a different approach with skript-db. Here's my code:
    Code (Text):
    1. on script load:
    2.     set {sql} to the database "http://ps.fhgdps.com/phpmyadmin/index.php?route=/database/structure&server=1&db=gdps_nexargdps000"
    3.  
    4. command /dbtest:
    5.     trigger:
    6.         execute "select * from levels" in {sql} and store the result in {output::*}
    7.         send {output::1}
    8.         send sql error
     
    #1 ItzarReal, Apr 12, 2021
    Last edited: Apr 12, 2021
  2. Julius Ohly

    Julius Ohly Member

    Joined:
    Mar 20, 2021
    Messages:
    19
    Likes Received:
    0
    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...
     
Thread Status:
Not open for further replies.

Share This Page

Loading...