Code Monkey home page Code Monkey logo

craftconomy3's People

Contributors

acrobot avatar addstar avatar alchemistmatt avatar aztorius avatar darkarc avatar greatman avatar guillaumederval avatar narimm avatar nevergrowup avatar phoenix616 avatar sitmobedaf avatar tkausl avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

craftconomy3's Issues

money command does not work on console

The command /money give PlayerName 2500 works in game, but at console (and at rcon) money give does not work. None of the money commands work at console, including money help and money give. No errors are present in the log

RE: Bump HikariCP from 3.2.0 to 3.3.1

#5
Bumps com.zaxxer:HikariCP from 3.2.0 to 3.3.1. This update introduces changes in 50 existing functions: 25 of those functions are called by 3 function(s) in this project and has the risk of creating potential regression errors. We advise you to review these changes before merging the pull request.

Below are project functions that will be impacted after the update:

  • f!f!f!
    Sample Affected Path(s)
    com.greatmancode.craftconomy3.utils.OldFormatConverter.run
          at: com.zaxxer.hikari.HikariConfig.setDriverClassName
    Changed Dependency Function(s)
    • f!f!
      • Update Invocation in Try (L501) to Try (L489)
      • Delete Literal in LocalVariable (L474)
      • Delete Assignment in Try (L479)
      • Delete LocalVariable in Method (L475)
      • Insert Invocation in LocalVariable (L474)
      • Move VariableRead in Invocation (L501) to Invocation (L489)
  • f!f!f!
    Sample Affected Path(s)
    com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAccount
          at: com.zaxxer.hikari.HikariDataSource.getConnection
          at: com.zaxxer.hikari.HikariConfig.validate
          at: com.zaxxer.hikari.HikariConfig.validateNumerics
    com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAccount
          at: com.greatmancode.tools.utils.Tools.closeJDBCConnection
          at: com.zaxxer.hikari.pool.ProxyConnection.close
          at: com.zaxxer.hikari.pool.PoolEntry.resetConnectionState
          at: com.zaxxer.hikari.pool.PoolBase.resetConnectionState
    com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAccount
          at: com.zaxxer.hikari.HikariDataSource.getConnection
          at: com.zaxxer.hikari.pool.HikariPool.<init>
          at: com.zaxxer.hikari.pool.PoolBase.registerMBeans
          at: com.zaxxer.hikari.HikariConfig.isRegisterMbeans
    Changed Dependency Function(s)
    • f!f!
      • Update Invocation in If (L1008) to If (L1009)
      • Delete If in Method (L977)
      • Delete If in Method (L972)
      • Delete Conditional in Assignment (L1000)
      • Insert If in Method (L1000)
      • Move FieldRead in Assignment (L1000) to If (L1004)
      • Move BinaryOperator in If (L977) to If (L1004)
      • Move FieldRead in Assignment (L1000) to Assignment (L993)
      • Move FieldRead in Assignment (L1000) to If (L1000)
      • Move BinaryOperator in If (L972) to If (L1000)
      • ... 3 more AST change(s)
    • f!f!
      • Delete Annotation in Method (L761)
    • f!f!
      • Update FieldRead in Invocation (L235) to Invocation (L238)
      • Update FieldRead in Invocation (L236) to Invocation (L239)
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
    • f!f!f!
  • f!f!f!
    Sample Affected Path(s)
    com.greatmancode.craftconomy3.storage.sql.SQLStorageEngine.getAccount
          at: com.zaxxer.hikari.pool.HikariProxyPreparedStatement.getGeneratedKeys
          at: com.zaxxer.hikari.pool.ProxyStatement.getGeneratedKeys
    Changed Dependency Function(s)
    • f!f!
      • Delete If in Method (L231)
      • Move If in If (L232) to Method (L231)

Did you find this information useful? Give this issue a 👍 if it is useful, 👎 if it is not, and ✋ if neutral.

Want to help us or have suggestions?

We are a group of university researchers trying to make automated dependency services more useful and user-friendly for OSS projects. If you have feedback and questions about this, feel free to submit it here.

Mysql Connector update

Paper Commit PaperMC/Paper@bc91b5d updated MySql version from 5.1.49 to 8.0.23. Upon server restart with this commit applied (Using Tuinity build 224) the below stack occurs. Going back to Tuinity build 217, CraftConomy loads fine.
Thinking this line:

config.setDataSourceClassName("com.mysql.jdbc.jdbc2.optional.MysqlDataSource");
needs to be changed to:

hikari.setDataSourceClassName("com.mysql.cj.jdbc.MysqlDataSource");

Stacktrace:

2021-04-17 21:36:51 [Server thread/INFO]: Enabling Craftconomy3 v3.4.0-SNAPSHOT-31
2021-04-17 21:36:51 [Server thread/INFO]: Starting up!
2021-04-17 21:36:51 [Server thread/INFO]: Loading the Configuration
2021-04-17 21:36:51 [Server thread/INFO]: Loading listeners.
2021-04-17 21:36:51 [Server thread/INFO]: Loading commands
2021-04-17 21:36:52 [Server thread/INFO]: Loading the Database Manager
2021-04-17 21:36:52 [Server thread/WARN]: SLF4J: No SLF4J providers were found.
2021-04-17 21:36:52 [Server thread/WARN]: SLF4J: Defaulting to no-operation (NOP) logger implementation
2021-04-17 21:36:52 [Server thread/WARN]: SLF4J: See http://www.slf4j.org/codes.html#noProviders for further details.
2021-04-17 21:36:52 [Server thread/ERROR]: Error occurred while enabling Craftconomy3 v3.4.0-SNAPSHOT-31 (Is it up to date?)
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
        at com.greatmancode.com.zaxxer.libs.hikari.util.UtilityElf.createInstance(UtilityElf.java:113) ~[?:?]
        at com.greatmancode.com.zaxxer.libs.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:332) ~[?:?]
        at com.greatmancode.com.zaxxer.libs.hikari.pool.PoolBase.<init>(PoolBase.java:109) ~[?:?]
        at com.greatmancode.com.zaxxer.libs.hikari.pool.HikariPool.<init>(HikariPool.java:108) ~[?:?]
        at com.greatmancode.com.zaxxer.libs.hikari.HikariDataSource.<init>(HikariDataSource.java:81) ~[?:?]
        at com.greatmancode.craftconomy3.storage.sql.MySQLEngine.<init>(MySQLEngine.java:64) ~[?:?]
        at com.greatmancode.craftconomy3.storage.StorageHandler.<init>(StorageHandler.java:40) ~[?:?]
        at com.greatmancode.craftconomy3.Common.initialiseDatabase(Common.java:389) ~[?:?]
        at com.greatmancode.craftconomy3.Common.onEnable(Common.java:138) ~[?:?]
        at com.greatmancode.craftconomy3.tools.interfaces.BukkitLoader.onEnable(BukkitLoader.java:51) ~[?:?]
        at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:263) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:380) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:483) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugin(CraftServer.java:501) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at org.bukkit.craftbukkit.v1_16_R3.CraftServer.enablePlugins(CraftServer.java:415) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.loadWorld(MinecraftServer.java:581) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:281) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1057) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:290) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at java.lang.Thread.run(Thread.java:834) [?:?]
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
        at java.net.URLClassLoader.findClass(URLClassLoader.java:471) ~[?:?]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:182) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:111) ~[patched_1.16.5.jar:git-Tuinity-"7d36676"]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:589) ~[?:?]
        at java.lang.ClassLoader.loadClass(ClassLoader.java:522) ~[?:?]
        at com.greatmancode.com.zaxxer.libs.hikari.util.UtilityElf.createInstance(UtilityElf.java:100) ~[?:?]
        ... 19 more
2021-04-17 21:36:52 [Server thread/INFO]: Disabling Craftconomy3 v3.4.0-SNAPSHOT-31

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.