Вопрос Nametagedit + mariaDB

Furry__wolf

Разработчик
Инструктор
Переводчик
Пользователь
Сообщения
1 190
Решения
67
Плагин
NameTagEdit
Ядро сервера
  1. Paper
Версия сервера
  1. 1.19
Всем доброго времени суток. Использую данный плагин на сервере, но как я понял он во всю упирается и не хочет подключаться к машке, хотя они по сути с MySQL совместимы... Причина такого действия в переносе LuckPerms, ибо если БД LuckPerms находится в машке, с локального файла Nametagedit не подтягивает префиксы... Суть вопроса - как связать Nametagedit и mariaDB? Сменить на Mysql не вариант, возможно предложение по замене плагина, если есть такая возможность. Просьба сильно не кидаться тапками. :)
P.s
[01:49:04] [Craft Scheduler Thread - 15/WARN]: [NametagEdit] Plugin NametagEdit v4.4.10 generated an exception while executing task 955
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:93) ~[?:?]
at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:317) ~[?:?]
at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:111) ~[?:?]
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:106) ~[?:?]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:97) ~[?:?]
at com.nametagedit.plugin.storage.database.tasks.DataDownloader.run(DataDownloader.java:40) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.16.5.jar:git-Paper-788]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-788]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-788]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155) ~[patched_1.16.5.jar:git-Paper-788]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-788]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:80) ~[?:?]
# ---------------------------------------------------------
# NametagEdit by sgtcaze and Cory
# ---------------------------------------------------------
# Development Builds:
# Source Code:
# ---------------------------------------------------------
#
# These settings allow you to customize the behavior of the
# tab list.
Tablist:
# If Enabled, NametagEdit will format the Tab menu
Enabled: true
# !! EXPERIMENTAL !!
# This feature will use the PlayerListName to set your
# nametag. It will allow you to bypass the 16 character limit
# for prefix/suffix. Be warned: This does not work on earlier versions
# of Minecraft. Please report issues to our GitHub, and we'll try to help.
LongTags: false
#
# If enabled, this plugin will send small data MCStats.org.
MetricsEnabled: true
#
# If enabled, players with NametagEdit nametags will not be able to push each other (1.9+)
DisablePush: false
#
# Do you have strange, unexplained lag emanating from NametagEdit? Likely it's a few plugins
# manipulating the primary scoreboard, and not clearing the resources. This setting will
# clear empty teams on a timer. You can also clear it with /nte teams clear. This setting
# will be in seconds. e.g. every 300 seconds clear empty teams (5 minutes). Set this to < 1
# to disable this feature.
ClearEmptyTeamsInterval: -1
#
# If enabled, NametagEdit will turn your console into spam
# heaven. Useful for reporting issues!
Debug: false
#
# Some servers have different permissions per world, and therefore different potential nametags
# per world. If you want to refresh a player's nametag when they change worlds, set
# this option to true.
RefreshTagOnWorldChange: false
#
# If enabled, NametagEdit will refresh nametags on an interval. Note: this does NOT do any
# reloading. This will not pickup changes made from the file or database. Instead, it will
# take any changes made by commands and/or placeholder changes. Set this to < 1 to disable
# this feature. This feature is in seconds. NOTE: We do not recommend this.
RefreshInterval: 0
#
# If enabled, NametagEdit will use database support
MySQL:
Enabled: true
Hostname: localhost
Port: 3306
Username: minecraft
Password: (вписан)
Database: nametag
# WARNING: If you do not know what this is for, do not change it!
# This allows users to customize their schema to their liking.
GroupsTable: nte_groups
PlayersTable: nte_players
ConfigTable: nte_config
# Minimum connection pool size
# WARNING: If you have no idea what this is for, do not change.
# To see the optimal connections for your setup, please visit:
#
# And review the pool size configuration (Tn x (Cm - 1) + 1)
MinimumPoolSize: 10
 
Всем доброго времени суток. Использую данный плагин на сервере, но как я понял он во всю упирается и не хочет подключаться к машке, хотя они по сути с MySQL совместимы... Причина такого действия в переносе LuckPerms, ибо если БД LuckPerms находится в машке, с локального файла Nametagedit не подтягивает префиксы... Суть вопроса - как связать Nametagedit и mariaDB? Сменить на Mysql не вариант, возможно предложение по замене плагина, если есть такая возможность. Просьба сильно не кидаться тапками. :)
P.s
[01:49:04] [Craft Scheduler Thread - 15/WARN]: [NametagEdit] Plugin NametagEdit v4.4.10 generated an exception while executing task 955
java.lang.RuntimeException: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:93) ~[?:?]
at com.zaxxer.hikari.pool.PoolBase.initializeDataSource(PoolBase.java:317) ~[?:?]
at com.zaxxer.hikari.pool.PoolBase.<init>(PoolBase.java:111) ~[?:?]
at com.zaxxer.hikari.pool.HikariPool.<init>(HikariPool.java:106) ~[?:?]
at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:97) ~[?:?]
at com.nametagedit.plugin.storage.database.tasks.DataDownloader.run(DataDownloader.java:40) ~[?:?]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftTask.run(CraftTask.java:101) ~[patched_1.16.5.jar:git-Paper-788]
at org.bukkit.craftbukkit.v1_16_R3.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:54) ~[patched_1.16.5.jar:git-Paper-788]
at com.destroystokyo.paper.ServerSchedulerReportingWrapper.run(ServerSchedulerReportingWrapper.java:22) ~[patched_1.16.5.jar:git-Paper-788]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) ~[?:?]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) ~[?:?]
at java.lang.Thread.run(Thread.java:831) [?:?]
Caused by: java.lang.ClassNotFoundException: com.mysql.jdbc.jdbc2.optional.MysqlDataSource
at org.bukkit.plugin.java.PluginClassLoader.loadClass0(PluginClassLoader.java:155) ~[patched_1.16.5.jar:git-Paper-788]
at org.bukkit.plugin.java.PluginClassLoader.loadClass(PluginClassLoader.java:114) ~[patched_1.16.5.jar:git-Paper-788]
at java.lang.ClassLoader.loadClass(ClassLoader.java:519) ~[?:?]
at com.zaxxer.hikari.util.UtilityElf.createInstance(UtilityElf.java:80) ~[?:?]
# ---------------------------------------------------------
# NametagEdit by sgtcaze and Cory
# ---------------------------------------------------------
# Development Builds:
# Source Code:
# ---------------------------------------------------------
#
# These settings allow you to customize the behavior of the
# tab list.
Tablist:
# If Enabled, NametagEdit will format the Tab menu
Enabled: true
# !! EXPERIMENTAL !!
# This feature will use the PlayerListName to set your
# nametag. It will allow you to bypass the 16 character limit
# for prefix/suffix. Be warned: This does not work on earlier versions
# of Minecraft. Please report issues to our GitHub, and we'll try to help.
LongTags: false
#
# If enabled, this plugin will send small data MCStats.org.
MetricsEnabled: true
#
# If enabled, players with NametagEdit nametags will not be able to push each other (1.9+)
DisablePush: false
#
# Do you have strange, unexplained lag emanating from NametagEdit? Likely it's a few plugins
# manipulating the primary scoreboard, and not clearing the resources. This setting will
# clear empty teams on a timer. You can also clear it with /nte teams clear. This setting
# will be in seconds. e.g. every 300 seconds clear empty teams (5 minutes). Set this to < 1
# to disable this feature.
ClearEmptyTeamsInterval: -1
#
# If enabled, NametagEdit will turn your console into spam
# heaven. Useful for reporting issues!
Debug: false
#
# Some servers have different permissions per world, and therefore different potential nametags
# per world. If you want to refresh a player's nametag when they change worlds, set
# this option to true.
RefreshTagOnWorldChange: false
#
# If enabled, NametagEdit will refresh nametags on an interval. Note: this does NOT do any
# reloading. This will not pickup changes made from the file or database. Instead, it will
# take any changes made by commands and/or placeholder changes. Set this to < 1 to disable
# this feature. This feature is in seconds. NOTE: We do not recommend this.
RefreshInterval: 0
#
# If enabled, NametagEdit will use database support
MySQL:
Enabled: true
Hostname: localhost
Port: 3306
Username: minecraft
Password: (вписан)
Database: nametag
# WARNING: If you do not know what this is for, do not change it!
# This allows users to customize their schema to their liking.
GroupsTable: nte_groups
PlayersTable: nte_players
ConfigTable: nte_config
# Minimum connection pool size
# WARNING: If you have no idea what this is for, do not change.
# To see the optimal connections for your setup, please visit:
#
# And review the pool size configuration (Tn x (Cm - 1) + 1)
MinimumPoolSize: 10
Да, проблема с драйвером, отпиши разработчику плагина. Вряд ли проблема с mariadb, ибо чуть ли не везде все работает из коробки, и на mysql, и на mariadb.
 
Всем спасибо кто отозвался! Порывшись немного нашёл девелоперские билды, они более свежие, и как оказалось могут работать с mariadb, всем спасибо огромное за помощь!
Страница с билдами -
 
Назад
Сверху Снизу