SkriptEklentiler · 1.20 – 26.xSkript is a Paper plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone…

Awesome direct database access for Skript
Opens Hangar · 546 downloads there
Awesome direct database access for Skript
skript-db, 4w3 tarafından Paper / Spigot sunucuları için yapılmış bir eklenti. Desteklediği sürümler: Minecraft 1.18 – 26.x. Hangar üzerinde 546 kez indirildi. Böylece burada listelenen yönetim ve yetki eklentileri (398 adet) arasında 197. sırada yer alıyor. Son güncelleme 16.09.2026 tarihinde çıktı.
skript-db, 14.03.2025 tarihinden beri Hangar üzerinde 2 sürüm yayınladı. Bunlardan biri son bir yılda çıktı. En yenisi 16.09.2026 tarihinde çıkan 2.0.0. Minecraft 1.21 – 26.3 için yapıldı. Paper üzerinde çalışır. İndirme boyutu 2.2 MB.
| Sürüm | Yayın tarihi | Minecraft | Tür |
|---|---|---|---|
2.0.0 | 16.09.2026 | 1.21 – 26.3 | Kararlı |
1.5.0 | 14.03.2025 | 1.18 – 1.21.4 | Kararlı |
Awesome direct database access for Skript
This is a fork of btk5h's skript-db, rewritten to function with Minecraft versions 1.21 up to 26.x (Skript 2.14 and newer), including bug fixes, performance improvements, transactions and batch statements
What makes skript-db different from other SQL addons?
[the] data(base|[ ]source) [(of|at)] %string% [with [a] [max[imum]] [connection] life[ ]time of %timespan%] [[(using|with)] [a] driver %-string%]
set {sql} to the database "mysql://localhost:3306/mydatabase?user=admin&password=12345&useSSL=false"
set {sql} to the database "mariadb://localhost:3306/mydatabase?user=admin&password=12345"
set {sql} to the database "postgresql://localhost:5432/mydatabase?user=admin&password=12345&ssl=false"
set {sql} to the database "sqlite:plugins/database.db"
set {sql} to the database "postgresql://localhost:5432/mydatabase?user=admin&password=12345&ssl=false" with a maximum connection lifetime of 30 minutes
set {sql} to the database "postgresql://localhost:5432/mydatabase?user=admin&password=12345&ssl=false" with a maximum connection lifetime of 30 minutes using driver "org.postgresql.Driver"
Executes a statement on a database and optionally stores the result in a variable. Expressions
embedded in the query are bound as parameters, so they can never change the meaning of the statement.
A list expression such as %{_ids::*}% expands to one parameter per value, which makes IN (...) easy.
If a single variable, such as {test}, is passed, the variable will be set to the number of
affected rows, or the number of rows of a query. With generated keys it receives the first key created by an insert.
If a list variable, such as {test::*}, is passed, the query result will be mapped to the list
variable in the form {test::::}. {test::} holds the column name, so
loop {test::*} iterates over the columns. The list is emptied before the result is stored.
with arguments binds the given values to the question marks of the statement. with batch arguments runs the
statement once per sub list of a list variable, all in one round trip and one transaction.
If quickly is specified, the SQL query will be done without jumping back to the main thread, which saves waiting
for the next tick, however that makes code after it to also be on a separate thread, you can jump back to the main
thread by adding wait a tick.
[quickly] execute %string% (in|on) %datasource% [with [batch] arg[ument][s] %-objects%] [and store [the] [generated keys] [(output|result)[s]] (to|in) [the] [var[iable]] %-objects%]
execute "select * from players" in {sql} and store the result in {output::*}
execute "select * from players where name = %{_name}% and score > %{_min}%" in {sql} and store the result in {output::*}
execute "select name from players where id in (%{_ids::}%)" in {sql} and store the result in {output::}
execute "insert into scores (name, score) values (?, ?)" in {sql} with arguments "Steve", 100 and store the generated keys in {_id}
set {_rows::1::*} to "Steve", 100
set {_rows::2::*} to "Alex", 250
execute "insert into scores (name, score) values (?, ?)" in {sql} with batch arguments {_rows::*} and store the result in {_count}
Runs every statement inside the section on one connection as a single transaction and commits at the end of the
section. If a statement fails, everything is rolled back, the rest of the section is skipped and
last sql error holds the reason. Do not leave the section with stop, exit or return.
[(sql|database)] transaction (on|in) %datasource%:
transaction on {sql}:
execute "update accounts set balance = balance - %{_amount}% where id = %{_from}%" in {sql}
execute "update accounts set balance = balance + %{_amount}% where id = %{_to}%" in {sql}
if last sql error is set:
send "Transfer failed: %last sql error%"
Stores the error from the last executed statement or transaction of the current trigger, if there was one.
[the] [last] (sql|db|data(base|[ ]source)) error
Opts out of automatic SQL injection protection for a specific expression in a statement. Needed for table and
column names, which cannot be parameters. Never use it with player input.
unsafe %text%
execute "select %unsafe {columns variable}% from %unsafe {table variable}%" in {sql}
execute unsafe {fully dynamic query} in {sql}
Yazan: 4w3. Resimli halini Hangar sayfasında oku.
Sunucunun Minecraft 1.18 – 26.x üzerinde Paper ve Spigot çalıştırdığından emin ol.
Önce ihtiyaç duyduklarını kur: Skript.
.jar dosyasını Hangar üzerinden indir ve sunucunun plugins klasörüne koy.
Sunucuyu yeniden başlat. /reload kullanma, birçok eklenti bununla sorun çıkarır.
Konsola /plugins yaz: skript-db yeşil olarak listelenmeli. Ayar dosyaları ilk açılışta plugins klasöründe oluşturulur.
| Kaynak | İndirmeler | Sürümler | Son güncelleme | Fiyat |
|---|---|---|---|---|
| 546 | 1.18 – 26.x | 16 Eyl 2026 | Ücretsiz | |
| 284K | 1.20 – 26.x | 19 gün önce | Ücretsiz | |
| 68K | 1.8 – 26.x | 26 gün önce | Ücretsiz | |
| 58K | 1.21 | 19 Eyl 2025 | Ücretsiz |
Evet. skript-db, Minecraft 26.x sürümünü destekliyor. Desteklenen tüm sürümler: 26.x, 1.21, 1.20, 1.19, 1.18.
Evet. skript-db, Hangar üzerinden ücretsiz indirilebilir.
skript-db, Paper ve Spigot sunucularında çalışır.
Evet: Skript. Bunu skript-db öncesinde kur.
Evet. Son güncelleme son 24 saat içinde çıktı.
En yakın olanlar Skript, LoginTo ve pluginuploader. Tüm alternatifleri karşılaştır
SkriptEklentiler · 1.20 – 26.xSkript is a Paper plugin which allows server admins to customize their server easily, but without the hassle of programming a plugin or asking/paying someone…
LoginToEklentiler · 1.8 – 26.xA complete authentication solution for Minecraft servers, providing secure login, database storage, premium autologin and secure otp code with qrcode
pluginuploaderEklentiler · 1.21This is a custome plugin with that you can upload custome plugin with the direct download link. command: /pluginupload <link>
DisableportalEklentiler · 1.20 – 26.xThis mod and plugin can block access to the Nether and End dimensions.
MailboxGUIEklentiler · 1.18 – 26.xGUI mailboxes with letters, packages, money mail, scheduled delivery, public access points, and powerful admin tools.
ccPlaytimeEklentiler · 26.xModern playtime tracking with leaderboards, rewards, placeholders and database support.
Yorum yazmak için giriş yap.