mashlol / StockMarket

StockMarket plugin for Bukkit
2 stars 10 forks source link

Same commit as before, but works without errors/spam. #22

Closed StargateMC closed 8 years ago

StargateMC commented 8 years ago

This release adds SQL as a dependency that is tested on startup, causing the plugin to fail to start unless this is configured and connects, this prevents log spam.

Also, added basic debug-mode config setting to hide stack traces and only show english-ish errors for normal players/server admins. Should avoid some of the posts seen on bukkitdev.

Reverted shortening of console message prefixes, StockMarket stands out a lot better than SM.

Tested with the following:

Bukkit 1.8.8 / Vault v1.5.6b49 / CraftConomy3 v3.3.0 Bukkit 1.7.10 / Vault 1.4.1 / CraftConomy3 v3.2.1 KCauldron 1.7.10 / Vault 1.4.1 / CraftConomy3 v3.2.1

StargateMC commented 8 years ago

Agreed with your comments, ill get onto it shortly :)

StargateMC commented 8 years ago

@mashlol Should be good now bossman! ;)

Went with your idea, as it is easier than calling the minecraft logs from the StockMarket class (relatively new to plugins, not sure best way to do that from the MySQL class)