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!

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

Addon skript-db 0.2.0

Sensible SQL support for Skript

  1. btk5h
    Supported Minecraft Versions:
    • 1.7, 1.8, 1.9, 1.10, 1.11, 1.12
    What makes skript-db different from other SQL addons?
    • Automatic SQL injection protection
    • Support for connections to multiple databases
    • An amazingly intuitive list variable system for reading query outputs
    Documentation/Source - Releases

    Code (Skript):
    1. on script load:
    2.   set {sql} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false"
    4. command /dbtest:
    5.   trigger:
    6.     execute "select * from table" in {sql} and store the result in {output::*}

Recent Updates

  1. skript-db 0.2.0
  2. skript-db 0.1.1

Recent Reviews

  1. GeKo171
    Version: 0.2.0
  2. PNB
    Version: 0.2.0
    Variables (including temporary variables) keep getting deleted, (temporary) variables transform into "null" or <none>. Very complicated to use and cannot recommend.
  3. Tai1er
    Version: 0.2.0
    Broken since 31 dec 2018 with new Skript version. All Skript's devs has said that skript-db need a fix to support the fixed 'normal' functionning of local variable.
  4. Yghore
    Version: 0.1.1
    It's very good addons, but the temporary variables is deleted... ;(
  5. AsuDev
    Version: 0.1.1
    Really good for MySQL management. Can you make it to where we can use variables for table names in the syntax?

    ex. set {_table} to "data"
    execute "SELECT * FROM %{_table}%"
    returns <none> every time unfortunately but if you put "data" instead of %{_table}%, it works...
    1. btk5h
      Author's Response
      You can already do this. Just use %unsafe {_table}% instead of %{_table}% to acknowledge that you're sidestepping skript-mirror's SQL injection safety.
  6. iStopcontact
    Version: 0.1.1
    Seems good, but can there be a tutorial about like how I can create a SqlCoins system so i can use that for my minecraft server network for a global coins currency thru my bungecord
  7. Spartan9802
    Version: 0.1.0
    Very good addon, could you add sqlite support?
    Good job
    1. btk5h
      Author's Response
      skript-db should already support sqlite. You just need to connect using sqlite's jdbc url and drivers
  8. mel_instagibson
    Version: 0.1.0
    Does what its supposed to do. and i love this:

    [the] [last] (sql|db|data(base|[ ]source)) error