Coder Social home page Coder Social logo

gabrielecabrini / synccommands Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 48 KB

MySQL Based command sync, full configurable, Spigot/Bungee

Home Page: https://dev.itswagpvp.eu

Java 100.00%
minecraft minecraft-plugin minecraft-plugin-development spigot spigot-plugin

synccommands's People

Watchers

 avatar

synccommands's Issues

[Enhancement] MySQL issue

I have observed that after the first start of the plugin (new empty database), the plugin does not automatically build the table when it reads the database for the first time and needs to be restarted again before the "{database_name}.synccommands}" table is created.

Is it possible to create a table at the first connection to the database to avoid redundant restart operations if the condition is established?

Related Information:

[16:45:23 WARN]: java.sql.SQLSyntaxErrorException: Table 'hc_synccommand.syncservers' doesn't exist
[16:45:23 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
[16:45:23 WARN]:        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
[16:45:23 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953)
[16:45:23 WARN]:        at com.mysql.cj.jdbc.ClientPreparedStatement.executeQuery(ClientPreparedStatement.java:1003)
[16:45:23 WARN]:        at SyncCommands-1.1.jar//com.zaxxer.hikari.pool.ProxyPreparedStatement.executeQuery(ProxyPreparedStatement.java:52)
[16:45:23 WARN]:        at SyncCommands-1.1.jar//com.zaxxer.hikari.pool.HikariProxyPreparedStatement.executeQuery(HikariProxyPreparedStatement.java)
[16:45:23 WARN]:        at SyncCommands-1.1.jar//me.itswagpvp.synccommands.spigot.sync.Register.lambda$getServerList$2(Register.java:72)
[16:45:23 WARN]:        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768)
[16:45:23 WARN]:        at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760)
[16:45:23 WARN]:        at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373)
[16:45:23 WARN]:        at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182)
[16:45:23 WARN]:        at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655)
[16:45:23 WARN]:        at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622)
[16:45:23 WARN]:        at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165)
[16:45:23 INFO]: -> No servers connected...
[16:45:23 INFO]:
[16:45:23 INFO]: -> Loading metrics...
[16:45:23 INFO]:
[16:45:23 INFO]: -> Plugin loaded in 633ms!
[16:45:23 INFO]: +------------------------------------+

[Bug] Wrong update checker

[16:58:52 INFO]: [SyncCommands] The plugin is outdated!
[16:58:53 INFO]: [SyncCommands] You have v1.1 in front of v1.0!

Commands not going to other servers

Commands are not going to other servers. Database is setup on bungee and all servers syncCommands config point to and connect to the database. when I run /sync hub give scraperman emerald_block 64 it says sending command, but it never actualy makes it to the other server.

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.