[Deleted] ExperienceBank

Status
Not open for further replies.

Jaaan

Active Member
Mundschutziii submitted a new resource:

ExperienceBank - Store your experience points in a bank

ExperienceBank
Store your experience points in a bank.

Features:
  • Deposit experience points
  • Withdraw experience points
  • MongoDB support
  • YAML support
  • MySql support
  • Everything is editable
Installation:
  1. Download the .jar file.
  2. Paste the file into your plugin folder.
  3. Start your server.
  4. And have fun using ExperienceBank.

Commands & Permissions:

...
Read more about this resource...
 

Pigeon2333

Member
Why can't I connect to the database?Here is error:
>java.sql.SQLNonTransientConnectionException: Could not create connection to database server. Attempted reconnect 3 times. Giving up.
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:110)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:89)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:63)
at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:73)
at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:905)
at com.mysql.cj.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:830)
at com.mysql.cj.jdbc.ConnectionImpl.<init>(ConnectionImpl.java:455)
at com.mysql.cj.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:240)
at com.mysql.cj.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:207)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at net.lldv.experiencebank.components.managers.MySqlProvider.lambda$connect$0(MySqlProvider.java:21)
at java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)
at java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source)
at java.util.concurrent.ForkJoinTask.doExec(Unknown Source)
at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source)
at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)
at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)
>Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:61)
at com.mysql.cj.exceptions.ExceptionFactory.createException(ExceptionFactory.java:85)
at com.mysql.cj.util.TimeUtil.getCanonicalTimezone(TimeUtil.java:132)
at com.mysql.cj.protocol.a.NativeProtocol.configureTimezone(NativeProtocol.java:2234)
at com.mysql.cj.protocol.a.NativeProtocol.initServerSession(NativeProtocol.java:2258)
at com.mysql.cj.jdbc.ConnectionImpl.initializePropsFromServer(ConnectionImpl.java:1319)
at com.mysql.cj.jdbc.ConnectionImpl.connectWithRetries(ConnectionImpl.java:868)
... 13 more
[36m10:44:30[m [[34mINFO [m] [ExperienceBank] [MySqlClient] Failed to connect to database.
I don't know if this is a database problem or a plug-in problem,so please point out any mistakes.
 

Jaaan

Active Member
Caused by: com.mysql.cj.exceptions.InvalidConnectionAttributeException: The server time zone value '???ú±ê×??±??' is unrecognized or represents more than one time zone. You must configure either the server or JDBC driver (via the serverTimezone configuration property) to use a more specifc time zone value if you want to utilize time zone support.
There is a problem with the timezone 🤔
 
LlamaDevelopment updated ExperienceBank with a new update entry:

Experience Pay Command

[+] Added pay feature
[+] API changes


Please add the following lines to messages.yml:
YAML:
xp-pay-got: "&e[0] &2paid &e[1] experience points&2."
xp-pay-paid: "&e[1] experience points &2were paid to &e[0]&2."
invalid-player: "&cThis player is invalid."

xpbank-menu-pay: "&8» &9Pay xp"

xpbank-pay-menu-title: "Pay experience"
xpbank-pay-menu-player: "Please provide the...
Read the rest of this update entry...
 
Status
Not open for further replies.
Top