Comments (5)
When you add stats value manually (with a spleef cmd, probably /spleef setStats), does it work ? Check if the database is filled after executing this command. It it does not, check your console logs to see if DBAPI is connected and Spleef recognized DBAPI.
If everything seems good, send me your console logs. :)
from spleef.
Running /spleef setstats player win 1 does increment the stats page and the hologram, this is what the console reports on loading the spleef plugin:
[01:10:35 INFO]: [Spleef] DBAPI found
[01:10:35 INFO]: [Spleef] Vault found
[01:10:35 INFO]: [DB API] Registering database 'Spleef'(B
[01:10:35 INFO]: [Spleef] HolographicDisplays found
[01:10:35 WARN]: [Spleef] Loaded class me.clip.placeholderapi.expansion.PlaceholderExpansion from PlaceholderAPI v2.10.9 which is not a depend, softdepend or loadbefore of this plugin.
[01:10:35 INFO]: [Spleef] PlaceholderAPI found
[01:10:35 INFO]: [Spleef] Loading the data of all the players... (This may take a few seconds)
[01:10:35 INFO]: [PlaceholderAPI] Successfully registered expansion: spleef
[01:10:35 INFO]: [Spleef] Data loaded in 6 ms
[01:10:35 INFO]: [Spleef] 1 spleefs found
from spleef.
Error found on loading DBAPI:
[DBAPI] Loading DBAPI v1.2.4 [01:09:38 INFO]: [DB API] Loading DatabaseAPI... [01:09:39 WARN]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure [01:09:39 WARN]: The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server. [01:09:39 WARN]: [01:09:39 WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [01:09:39 WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [01:09:39 WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) [01:09:39 WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [01:09:39 WARN]: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990) [01:09:39 WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:403) [01:09:39 WARN]: at com.mysql.jdbc.MysqlIO.(MysqlIO.java:335) [01:09:39 WARN]: at com.mysql.jdbc.ConnectionImpl.coreConnect(ConnectionImpl.java:2187) [01:09:39 WARN]: at com.mysql.jdbc.ConnectionImpl.connectOneTryOnly(ConnectionImpl.java:2220) [01:09:39 WARN]: at com.mysql.jdbc.ConnectionImpl.createNewIO(ConnectionImpl.java:2015) [01:09:39 WARN]: at com.mysql.jdbc.ConnectionImpl.(ConnectionImpl.java:768) [01:09:39 WARN]: at com.mysql.jdbc.JDBC4Connection.(JDBC4Connection.java:47) [01:09:39 WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [01:09:39 WARN]: at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [01:09:39 WARN]: at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [01:09:39 WARN]: at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490) [01:09:39 WARN]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:403) [01:09:39 WARN]: at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) [01:09:39 WARN]: at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) [01:09:39 WARN]: at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:228) [01:09:39 WARN]: at java.sql/java.sql.DriverManager.getConnection(DriverManager.java:677) [01:09:39 WARN]: at fr.naruse.dbapi.sql.SQLConnection.connection(SQLConnection.java:42) [01:09:39 WARN]: at fr.naruse.dbapi.sql.SQLConnection.connection(SQLConnection.java:48) [01:09:39 WARN]: at fr.naruse.dbapi.main.DBAPICore.onLoad(DBAPICore.java:36) [01:09:39 WARN]: at fr.naruse.dbapi.main.bukkit.DBAPIBukkitPlugin.onLoad(DBAPIBukkitPlugin.java:29) [01:09:39 WARN]: at org.bukkit.craftbukkit.v1_16_R3.CraftServer.loadPlugins(CraftServer.java:394) [01:09:39 WARN]: at net.minecraft.server.v1_16_R3.DedicatedServer.init(DedicatedServer.java:206) [01:09:39 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:935) [01:09:39 WARN]: at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:173) [01:09:39 WARN]: at java.base/java.lang.Thread.run(Thread.java:834) [01:09:39 WARN]: Caused by: java.net.ConnectException: Connection refused (Connection refused) [01:09:39 WARN]: at java.base/java.net.PlainSocketImpl.socketConnect(Native Method) [01:09:39 WARN]: at java.base/java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:399) [01:09:39 WARN]: at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:224) [01:09:39 WARN]: at java.base/java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:242) [01:09:39 WARN]: at java.base/java.net.Socket.connect(Socket.java:609) [01:09:39 WARN]: at java.base/java.net.SocksSocketImpl.connect(SocksSocketImpl.java:403) [01:09:39 WARN]: at com.mysql.jdbc.MysqlIO.(MysqlIO.java:299)(B [01:09:39 WARN]: at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:211) [01:09:39 WARN]: ... 23 more
from spleef.
Restart the server to get that error and the one win I awarded is gone from the database, seems like a DBAPI issue. Its not saving the wins or losses, and it's not incrementing.
from spleef.
It is an issue with identifiers, make sure they are the good ones
It the problem still appears, please come on discord. I'll respond 100x faster than git
from spleef.
Related Issues (20)
- Feature Request: Spleef 2.1.1 HOT 1
- SheepBonuses not working HOT 1
- 1.17.1 Unable to start plugin HOT 2
- Could not pass event PlayerMoveEvent to Spleef v2.2.3 on Paper 1.18.2 HOT 1
- Unable to find this plugin on spigot were it was before. HOT 6
- Make it so you can turn off the check for update feature
- Spleef::Event: f.n.s.e.Listeners (PlayerInteractEvent) Taking up a lot despite no one playing it??? HOT 2
- I know I already have it, but for those who don't
- Winitem HOT 1
- Right-Click On Sign HOT 1
- error on the bow gamemode 1.20.1 server HOT 1
- Players have Infinite Snowballs and inventory fills up with Snowballs way too fast. HOT 6
- I can't figure out why it reports an error when it is enabled, who can help me. Just need a pointer. HOT 1
- Issue on startup HOT 3
- Hi the Spleef plugin is giving me this error could it be a plugin bug? HOT 3
- hi || reload error HOT 1
- console error spleef not working HOT 1
- Block break chat spamm HOT 1
- Feature Request: Global Join Broadcast
- Delisted from spigot? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from spleef.