Stránka 1 z 2
Jobs-MYSQL
Napsal: 28 úno 2015, 16:51
od MarekBurget
93.91.250.132:27373
Ahojte, neviem napojit JOBS na databazu MY SQL.
Ostatne .. to išlo v poriadku ale toto ani za boha.
Tu je cfg , neviem čo mam kam doplnit:
Databaza IP: 93.91.250.132:3306
mysql-username: 158704_mysql_db
mysql-password: ''
mysql-url: jdbc:mysql://localhost:3306/minecraft
mysql-table-prefix: 'jobs'
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:18
od JosefAmbrož
tu máš config doplněn na tvé informace
[spoiler][/
Kód: Vybrat vše
# Default language. Use your languages two digit ISO 639-1 code, and optionally followed by the ISO-3166-1 country code.
# Example: en, en_US
locale-language: cz_cs
# storage method, can be MySQL, sqlite
storage-method: mysql
# Requires Mysql.
mysql-username: 158704_mysql_db
mysql-password: *Dopln*
mysql-hostname: localhost:3306
mysql-database: 158704_mysql_db
mysql-table-prefix: jobs_
# How often in minutes you want it to save. This must be a non-zero number
save-period: 10
# Should player data be saved on disconnect?
# Player data is always periodically autospoiler]
[b][/
Budu rád za karmub]
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:24
od MarekBurget
Neviem čo si Mi poradil, ako ... ale nejde.
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:26
od JosefAmbrož
napiš jak to máš doplněné skopíruj to
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:27
od MarekBurget
ne pretože to nieje cely cfg.
ty si iba nejaku čast do toho skopiroval.
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:28
od JosefAmbrož
sak to je část pošli mi to jak to máš doplněné
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:30
od MarekBurget
Kód: Vybrat vše
# The general configuration for the jobs plugin mostly includes how often the plugin
# saves user data (when the user is in the game), the storage method, whether
# to broadcast a message to the server when a user goes up a skill level.
# It also allows admins to set the maximum number of jobs a player can have at
# any one time.
# Default language. Use your languages two digit ISO 639-1 code, and optionally followed by the ISO-3166-1 country code.
# Example: en, en_US
locale-language: en
# storage method, can be MySQL, sqlite, h2
storage-method: MySQL
# Requires Mysql.
mysql-username: 158704_mysql_db
mysql-password: ****
mysql-url: localhost:3306
mysql-database: 158704_mysql_db
mysql-table-prefix: jobs_
# How often in minutes you want it to save. This must be a non-zero number
save-period: 10
# Should player data be saved on disconnect?
# Player data is always periodically auto-saved and autosaved during a clean shutdown.
# Only enable this if you have a multi-server setup, or have a really good reason for enabling this.
# Turning this on will decrease database performance.
save-on-disconnect: false
# Do all players get a message when somone goes up a skill level?
broadcast-on-skill-up: false
# Do all players get a message when somone goes up a level?
broadcast-on-level-up: false
# Maximum number of jobs a player can join.
# Use 0 for no maximum
max-jobs: 3
# Hide jobs from player if they lack the permission to join the job
hide-jobs-without-permission: false
# option to allow payment to be made when killing mobs from a spawner
enable-pay-near-spawner: false
# option to allow payment to be made in creative mode
enable-pay-creative: false
# Adds the Jobs xp recieved to the player's Minecraft XP bar
add-xp-player: false
# Modifys chat to add chat titles. If you're using a chat manager, you may add the tag {jobs} to your chat format and disable this.
modify-chat: false
# Changes how often, in seconds, players are paid out. Default is 5 seconds.
# Setting this too low may cause tick lag. Increase this to improve economy performance (at the cost of delays in payment)
economy-batch-delay: 5
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:32
od JosefAmbrož
restartovals server ?
Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:47
od Bisyss
MarekBurget mam to stejně jako ty a funguje mi to ......

tak nevim co řešíš
Nezapoměl jsi na heslo?
Popřípadě sem dej log při startu

Re: Jobs-MYSQL
Napsal: 28 úno 2015, 17:48
od enalan
mysql-username: 158704_mysql_db
mysql-password: ****
mysql-url: localhost:3306
mysql-database: 158704_mysql_db
mysql-table-prefix: jobs_
Místo "localhost:3306" zkus dát ten server kde je tvoje mysql. Třeba bruce.fakahead.eu (příklad)
Dělej to při vypnutém serveru, potom ho zapni a mělo by to jít.