Stránka 1 z 2
CoreProtect - web
Napsal: 20 říj 2014, 21:48
od user222
Server: 93.91.250.137:27377
Dobry den,
Chcem sa spytat,či niekto vie ako mozes coreprotect databazu vytvorit v configu, aby som mohla mat tak lepsi prehlad. Viem,ze je to tam s Mysql, nazvod uzivatela a nasledne nastavenie hesla,no chcem sa spytat kde presne v configu,mam dat, to, ak chcem mat predtym webovu adresu nasho servera aj s domenou, za tym /nazev/index.php..
Za odpoved dakujem, za radu davam K+
Re: CoreProtect - web
Napsal: 21 říj 2014, 11:45
od OneTime97
Přidej sem ten config, podíváme se

Re: CoreProtect - web
Napsal: 21 říj 2014, 14:13
od Smexhy
Re: CoreProtect - web
Napsal: 21 říj 2014, 23:10
od user222
Pridavam config.
Kód: Vybrat vše
#CoreProtect Config
# If enabled, extra data is displayed when doing rollbacks and restores.
# If disabled, you can manually trigger it in-game by adding "#verbose"
# to the end of your rollback statement.
verbose: 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: co
mysql-username: root
mysql-password: user
# 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
# If no radius is specified in a rollback or restore, this value will be
# used as the radius. Set to "0" to disable automatically adding a radius.
default-radius: 10
# The maximum radius that can be used in a command. Set to "0" to disable.
# To run a rollback or restore without a radius, you can use "r:#global".
max-radius: 100
# If enabled, items taken from containers (etc) will be included in rollbacks.
rollback-items: true
# If enabled, entities, such as killed animals, will be included in rollbacks.
rollback-entities: true
# If enabled, generic data, like zombies burning in daylight, won't be logged.
skip-generic-data: 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
# Logs 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 killed entities, such as killed cows and enderman.
entity-kills: 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
# Logs tree growth. Trees are linked to the player who planted the sappling.
tree-growth: true
# Logs mushroom growth.
mushroom-growth: true
# Logs natural vine growth.
vine-growth: true
# 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 item transactions, such as when a player takes items from a
# chest, furnace, or dispenser. Necessary for any item based rollbacks.
item-transactions: 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-interactions: true
# Logs messages that players send in the chat.
player-messages: true
# Logs all commands used by players.
player-commands: true
# Logs the logins and logouts of players.
player-sessions: true
# Logs changes made via the plugin "WorldEdit" if it's in use on your server.
worldedit: true
Re: CoreProtect - web
Napsal: 22 říj 2014, 10:11
od Smexhy
Re: CoreProtect - web
Napsal: 22 říj 2014, 17:27
od user222
podľa toho to mám zrobiť na webe alebo v pluginoch a v súbore na servery?
Re: CoreProtect - web
Napsal: 22 říj 2014, 17:29
od Smexhy
Rob to presne podľa návodu. Ak to návod káže tak, sprav to tak.
Re: CoreProtect - web
Napsal: 22 říj 2014, 19:34
od user222
Už sme to nastavili, no akurátne tu je problém zase s MYSQL, vypisuje toto:

Pritom v configu, je nastavené: use-mysql: true
Kód: Vybrat vše
#CoreProtect Config
# If enabled, extra data is displayed when doing rollbacks and restores.
# If disabled, you can manually trigger it in-game by adding "#verbose"
# to the end of your rollback statement.
verbose: 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: database
mysql-username: root
mysql-password:
# 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
# If no radius is specified in a rollback or restore, this value will be
# used as the radius. Set to "0" to disable automatically adding a radius.
default-radius: 10
# The maximum radius that can be used in a command. Set to "0" to disable.
# To run a rollback or restore without a radius, you can use "r:#global".
max-radius: 100
# If enabled, items taken from containers (etc) will be included in rollbacks.
rollback-items: true
# If enabled, entities, such as killed animals, will be included in rollbacks.
rollback-entities: true
# If enabled, generic data, like zombies burning in daylight, won't be logged.
skip-generic-data: 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
# Logs 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 killed entities, such as killed cows and enderman.
entity-kills: 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
# Logs tree growth. Trees are linked to the player who planted the sappling.
tree-growth: true
# Logs mushroom growth.
mushroom-growth: true
# Logs natural vine growth.
vine-growth: true
# 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 item transactions, such as when a player takes items from a
# chest, furnace, or dispenser. Necessary for any item based rollbacks.
item-transactions: 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-interactions: true
# Logs messages that players send in the chat.
player-messages: true
# Logs all commands used by players.
player-commands: true
# Logs the logins and logouts of players.
player-sessions: true
# Logs changes made via the plugin "WorldEdit" if it's in use on your server.
worldedit: true
Re: CoreProtect - web
Napsal: 22 říj 2014, 19:44
od zdenda204
Ale údaje jsi vynechal.
MySQL-Database
MySQL-Username
MySQL-Password
Re: CoreProtect - web
Napsal: 22 říj 2014, 21:02
od user222
Dobry den,
No viem ze do username mozem dat napr admin a heslo si tam dam ake chcem, potom co ma dat do database? A mam to upravit aj v config.php ?