ldtteam / Rankup

Minecraft Sponge Auto-ranking plugin
2 stars 1 forks source link

Timing doesn't work #13

Closed Spontini closed 6 years ago

Spontini commented 6 years ago

Minecraft: 1.12.2 Sponge: 1.12.2-2611-7.1.0-BETA-2990 Modpack: FTB Revelation Update 1.8 Plugin: Rankup-V7795-API7

Issue: Timings doesn't work, people playing for hours but their play time stuck in 1 minutes or two and that's why plugin does not work.

Configs: rankup.conf: https://pastebin.com/c9cv9HNi groups.conf: https://pastebin.com/h9Fy21SQ

Asherslab commented 6 years ago

@Explosivee i take it you edited your databases section of your rankup.conf with the correct details? otherwise no, timing won't work

Spontini commented 6 years ago

Okay, i just installed Apache, MySQL and PHP (not php MyAdmin) then i create a database named "rankup" then i change my config as databases {

You may choose between MySQL (Mariadb works too) or H2 (Hikari) databases for Player Stats storage!

database=rankup
sqlAddress="MYIP:3306"
sqlDatabase=rankup
sqlPassword=MYPASSWORD
sqlTablePrefix=rankup_
sqlUsername=root

}

and this happened; https://cdn.discordapp.com/attachments/369719369577791489/434024794988478475/unknown.png

Spontini commented 6 years ago

Okay, i unistall everything then i installed Apache, MySQL and PHP also PHPMyAdmin then created a database named "rankup" with PHPMyAdmin as you can see in there; image Then i eddited my "Database" config like this; } databases {

You may choose between MySQL (Mariadb works too) or H2 (Hikari) databases for Player Stats storage!

database=h2
sqlAddress="localhost:3306"
sqlDatabase=rankup
sqlPassword= MyPassword
sqlTablePrefix="rankup_"
sqlUsername=root

} but it still do not record the playing times, they stuck in 1, 2 minutes.

Asherslab commented 6 years ago

disable the module, you don't need database.

Asherslab commented 6 years ago

Solved via discord

LGCMcLovin commented 5 years ago

What was the fix? Having same issue while using MySQL