Stránka 1 z 1
jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 12:51
od Ofce
Server: 93.91.250.117:27590
ahoj, chtel bych se zeptat, jak mam propojit mySQL a coreprotect... Mam poslat config.yml?
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 13:32
od Arcas
Config.yml do code a spoileru. Pokud máš hesla, vymaž.
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 14:11
od Ofce
nevim, jestli to je vsechno a napsane dobre a ve spoileru, delam to z mobilu
Kód: Vybrat vše
DataSource:
mySQLColumnName: username
mySQLTablename: authme
mySQLUsername: authme
backend: file
mySQLColumnLastLogin: lastlogin
mySQLDatabase: authme
mySQLPort: '3306'
mySQLColumnIp: ip
mySQLHost: 127.0.0.1
mySQLColumnPassword: nedavam
mySQLPassword: nedavam
caching: true
GroupOptions:
UnregisteredPlayerGroup: ''
RegisteredPlayerGroup: ''
Permissions:
PermissionsOnJoin: []
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 14:22
od Arcas
Vše to není. Já ti tu hodím svůj CFG. Nahrej to pak z PC.
Kód: Vybrat vše
#CoreProtect Config
# If enabled, always displays all data when doing rollbacks and restores.
# If disabled, you can manually trigger it in-game by adding "noisy"
# to the end of your rollback statement.
noisy-default: true
# MySQL is optional and not required.
# If you prefer to use MySQL, enable the following and fill out the fields.
use-mysql: true
table-prefix: co_
mysql-host: localhost
mysql-port: 3306
mysql-database: databáze
mysql-username: databáze
mysql-password: heslo
# If enabled, CoreProtect will check for updates when your server starts up.
# If an update is available, you'll be notified via your server console.
check-updates: true
# If enabled, other plugins will be able to utilize the CoreProtect API.
api-enabled: true
# Logs blocks placed by players.
block-place: true
# Logs blocks broken by players.
block-break: true
# Logs blocks that break off of other blocks; for example, a sign or torch
# falling off of a dirt block that a player breaks. This is required for
# beds/doors to properly rollback.
natural-break: true
# Properly track block movement, such as sand or gravel falling.
block-movement: true
# Properly track blocks moved by pistons.
pistons: true
# Logs blocks that burn up in a fire.
block-burn: true
# Logs when a block naturally ignites, such as from fire spreading.
block-ignite: true
# Log explosions, such as TNT and Creepers.
explosions: true
# Track when an entity changes a block, such as an Enderman destroying blocks.
entity-change: true
# Logs text on signs. If disabled, signs will be blank when rolled back.
sign-text: true
# Logs lava and water sources placed/removed by players who are using buckets.
buckets: true
# Logs natural tree leaf decay.
leaf-decay: true
# Log tree growth. Trees are linked to the player who planted the sappling.
tree-growth: false
# Logs mushroom growth.
mushroom-growth: false
# Logs natural vine growth.
vine-growth: false
# Logs when portals such as Nether portals generate naturally.
portals: true
# Logs water flow. If water destroys other blocks, such as torches,
# this allows it to be properly rolled back.
water-flow: true
# Logs lava flow. If lava destroys other blocks, such as torches,
# this allows it to be properly rolled back.
lava-flow: true
# Allows liquid to be properly tracked and linked to players.
# For example, if a player places water which flows and destroys torches,
# it can all be properly restored by rolling back that single player.
liquid-tracking: true
# Track player interactions, such as when a player opens a door, presses
# a button, or opens a chest. Player interactions can't be rolled back.
player-interact: false
# Logs changes made via the plugin "WorldEdit" if it's in use on your server.
worldedit: false
# Track item transactions, such as when a player takes items from a
# chest, furnace, or dispenser. Necessary for any item based rollbacks.
item-transactions: true
Doplň databázi a heslo. A vše bude OK.
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 14:26
od Ofce
dobre... Takze mam to PŘIDAT do config.yml nebo NAHRADIT config.yml
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 14:33
od Arcas
Otevři si config.yml, vše smaž a zkopíruj tam tohle. Pak doplň údaje k mysql a je pořešeno.
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 18:19
od Ofce
ok, dik...
Ps: kde jsi udělal ten podpis 'Arcas zastupce majitele'
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 18:26
od nejento
Re: jak propojit mySQL s coreprotect
Napsal: 20 pro 2012, 19:05
od Ofce
nejento,ja jeste nevim, nemuzu na pc, pisu z mobilu

jeste nedavej lock