Resource icon

Addon skript-db (Updated) 1.3.9

  • 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!

I had forgotten to post multiple new updates, so I am posting 1.3.9 now. refer to https://git.limework.net/Limework/skript-db/releases for changelogs.
Updated dependencies for security and performance improvement, expect better performance. I highly recommend updating to this version.

This version was tested for 1 month as a early release on Gitea and was found to be stable.
This update fixes Skript 2.6 support! Thanks to TPGamesNL for help.
  • Replaced "synchronously execute" syntax with "quickly execute" as "synchronously execute" was too flawed to be useful.
  • "quickly execute" syntax allows you to get result from query without 50ms delay which normal "execute" has due to jumping between threads, but note that this syntax moves all next lines of code in current trigger to another thread to achieve this speed, which means if you put non thread safe code below it, your server may crash, but you can jump back to main thread by adding "wait a tick". This is ideal for GUIs/commands that only send text based on SQL query results, as it makes these things much faster.
  • Added Java 8 support
  • Changed API version to 1.13 in plugin.yml, this will keep plugin working on older versions while marking the plugin as a non-legacy plugin for 1.13+ servers
  • Various small fixes
Tested on 1.12.2 Paper & Skript 2.5.1, Linux.
There were some issues with wrong config in previous releases, if you still have errors related to config - please delete the config and let it regenerate.
  • You can now configure what driver skript-db uses for SQL, different driver may have different behavior/performance

  • Now MariaDB driver is bundled together with skript-db, but not enabled by default. If you wish to use it, specify in skript-db config:
Code:
sql-driver-class-name: "org.mariadb.jdbc.Driver"

default driver works for MariaDB, but it may be better to use MariaDB's driver if you use MariaDB

  • Updated HikariCP dependency to 4.0.1