# ==== Variables ====databases: dat1: # A MySQL database example, with options unrelated to MySQL removed. type: MySQL pattern: synced_.* # this pattern will save all variables that start with 'synced_' in this MySQL database. host: sql.sosnax1.***.pl port: 3307 user: **** password: ******* database: sosnax1_2 monitor changes: true monitor interval: 20 seconds default: # The default "database" is a simple text file, with each variable on a separate line and the variable's name, type, and value separated by commas. # This is the last database in this list to catch all variables that have not been saved anywhere else. # You can modify this database freely, but make sure to know what you're doing if you don't want to loose any variables. type: MySQL pattern: synced_.* # this pattern will save all variables that start with 'synced_' in this MySQL database. host: sql.sosnax1.****.pl port: 3307 user: ***** password: ***** database: sosnax1_2 # PS: If you don't want some variables to be saved in any database (e.g. variables that contain an %entity% which usually despawn when the server is shut down) # you can modify the last database's pattern to not match all variables, e.g. use '(?!x_).*' to match all variables that don't start with 'x_'. # Be very cautious when doing this however as unsaved variables cannot be recovered after the server has been stopped. # I recommend to use a single character to denote unsaved variables (similar to local variables' '_'), e.g. '-', in which case the last database's pattern should be '(?!-).*'.
Ale zmieniałem tylko ta cześć i nic nie dało baza danych jak była tak jest pusta, a wykonywałem operacje wpisywania zmiennych... Co więcej usunąwszy variables.sk i folder backups świeżo dodane zmienne działały a plik się nie stworzył...
Pytanie
sosnax1 7
Tak jak w temacie jak połączyć z MySQL?
Robiłem tak:
Ale zmieniałem tylko ta cześć i nic nie dało baza danych jak była tak jest pusta, a wykonywałem operacje wpisywania zmiennych... Co więcej usunąwszy variables.sk i folder backups świeżo dodane zmienne działały a plik się nie stworzył...
Odnośnik do komentarza
Udostępnij na innych stronach
6 odpowiedzi na to pytanie
Rekomendowane odpowiedzi