A248 π΅πΈπͺπ
A248 π΅πΈπͺπ
I use the PacketWrapper javadoc and wiki.vg in place of official documentation on the MC protocol. I noticed that WrapperPlayServerEntityMetadata talks about a "painting" that will be spawned. However, I...
If you are an everyday user, and you try to ban another player twice, AdvancedBan will tell you "this player is already banned." However, since AdvancedBan does not use transactional...
#499 raised the point that HSQLDB 2.6.0 requires Java 11. If AdvancedBan remains on Java 8, it will have to be content with staying on the 2.5.x versions of HSQLDB....
_What version of AdvancedBan (`/AdvancedBan`) are you using?_ 2.3.0 _What kind of server do you have (`Bungeecord/single server`)?_ Single server _What server version (/version) are you using?_ Spigot 1.8.9 _Please...
**Applies To** Single servers / Bukkit servers **How to Enable the Situation / Reproduce the Bug** 1. A banned player logs in 2. AdvancedBan queries the user's ban and cancels...
### Exception handling and control flow There are numerous cases where AdvancedBan prints the exception message or prints the stacktrace of an exception, then continues along. The problem with this...
The documentation of MySQL Connector-J suggests AdvancedBan's default `characterEncoding=utf8` is incorrect. It probably should be `UTF-8`, the "Java-style" name mentioned here: https://dev.mysql.com/doc/connector-j/8.0/en/connector-j-reference-charsets.html . It is the same for 5.1 >...
This is an antiquated approach to ensure a JDBC driver is loaded, which somehow stubbornly persists to this day. Since Java 6, the ServiceLoader mechanism is used to load java.sql.Driver...
Each enum entry in SQLQuery has 2 queries, one for MySQL and one for HSQLDB. However, HSQLDB has a MySQL compatibility mode which can cover all these differences, and therefore...
Someone was asking me about Anvil and I saw in the code that exceptions in CompletableFutures are sometimes swallowed. Sadly CompletableFuture's design makes it very easy to accidentally swallow exceptions,...