#using a database for variable storage

1 messages · Page 1 of 1 (latest)

stable fable
#

Hi, my hosting service lets me set up databases, so I was gonna use one to store variables in, but I'm kinda at a loss as to where to start

The server is on paper 1.12.2 - what database addon should I look into, and is there a tutorial on getting started or something

weary python
#

Skript doesn't currently have a working system for storing variables in databases
However you can use addons like mongosk and skript-db to access databases separately

stable fable
#

that's what I meant

weary python
#

I would not recommend storing all your variables in the db, just appropriate ones

stable fable
#

i plan to store variables in the db and load them locally when a player joins the server

weary python
#

yeah that's fine

stable fable
#

mongosk and skript-db would both work with a database provided by my host? i was looking into mongosk but all the tutorials i saw were saying you needed one hosted with mongodb or something

weary python
#

well it's a mongodb database, yes

#

i have no clue what database your host is offering

stable fable
#

it's mysql

weary python
#

then use skript-db