Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] MySQL i Skript


Rekomendowane odpowiedzi

Opublikowano

Siemka, nie chce mi łączyć pluginu Skript z bazą danych, mam minecraft 1.7.2, mój config.sk:

	type: MySQL
	# The type of the database. Currently only MySQL and SQLite are supported. Use 'none' for Skript's default CSV flatfile storage.
	
	pattern: .*
	# If you only want to store part of your variables in the database (e.g. only player stats), set this pattern to match only those variables.
	# Variables that don't match the pattern will be saved in the default flatfile format.
	# This pattern uses Regex syntax, e.g. use 'db_.*' (without the quotes) to store all variables prefixed with 'db_' in the database,
	# or use '.*' (the default value) to store all variables in the database.
	
	monitor changes: false
	monitor interval: 20 seconds
	# If 'monitor changes' is set to true, variables will repeatedly be checked for updates in the database (in intervals set in 'monitor interval').
	# ! Please note that you should set 'pattern', 'monitor changes' and 'monitor interval' to the same on all servers that access the same database!
	
	# MySQL configuration
	host: mysql.cba.pl
	port: 3306
	user: bencraft_pl
	password: ****
	database: skript
	
	# SQLite configuration
	file: ./plugins/Skript/variables.db

Posiadam Plugin SQLibrary-7.1

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...