Хостинг серверов Minecraft playvds.com
  1. Вы находитесь в русском сообществе Bukkit. Мы - администраторы серверов Minecraft, разрабатываем собственные плагины и переводим на русский язык плагины наших собратьев из других стран.
    Скрыть объявление

Решено Подключить PEX к бд. Spigot 1.5.2

Тема в разделе "[Архив] Помощь", создана пользователем Simon's, 27 июн 2013.

Статус темы:
Закрыта.
  1. Автор темы
    Simon's

    Simon's Старожил Пользователь

    Баллы:
    123
    Skype:
    azegor199
    Имя в Minecraft:
    Simon
    Всем привет, тут такое дело, почему-то я не фига не могу подключить PEX к бд. Когда у меня была версия 1.4.7 все работало прекрасно, подключалось, а вот с 1.5.2 - черепаха.
    Вот конфиг:
    Код:
    permissions:
      backend: sql
      backends:
        sql:
          driver: mysql
          uri: mysql://admin.**.webhost1.ru/****
          user: ******
          password: ******
      superperms:
        parent-nodes: true
        enable: true
        strict-mode: false
      createUserRecords: false
      allowOps: true
      debug: false
      basedir: plugins/PermissionsEx
      log-players: false
    
    Сервер запускается прекрасно, но когда кто-то заходит на сервер, то в консоли просто ппц:
    Код:
    27.06 16:38:11 [Server] INFO ... 15 more
    27.06 16:38:11 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:426)
    27.06 16:38:11 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source)
    27.06 16:38:11 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    27.06 16:38:11 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    27.06 16:38:11 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    27.06 16:38:11 [Server] INFO at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerQuit(WorldGuardPlayerListener.java:432)
    27.06 16:38:11 [Server] INFO at com.sk89q.worldguard.protection.GlobalRegionManager.hasBypass(GlobalRegionManager.java:268)
    27.06 16:38:11 [Server] INFO at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermission(WorldGuardPlugin.java:364)
    27.06 16:38:11 [Server] INFO at com.sk89q.wepif.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:149)
    27.06 16:38:11 [Server] INFO at com.sk89q.wepif.PermissionsExResolver.hasPermission(PermissionsExResolver.java:63)
    27.06 16:38:11 [Server] INFO at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:93)
    27.06 16:38:11 [Server] INFO at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
    27.06 16:38:11 [Server] INFO at ru.tehkode.permissions.backends.SQLBackend.getUser(SQLBackend.java:86)
    27.06 16:38:11 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLUser.<init>(SQLUser.java:33)
    27.06 16:38:11 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLEntity.<init>(SQLEntity.java:58)
    27.06 16:38:11 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLEntity.fetchInfo(SQLEntity.java:430)
    27.06 16:38:11 [Server] INFO Caused by: java.lang.NullPointerException
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:583)
    27.06 16:38:11 [Server] INFO at org.spigotmc.MultiplexingServerConnection.b(MultiplexingServerConnection.java:72)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.ServerConnection.b(SourceFile:35)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.d(PlayerConnection.java:109)
    27.06 16:38:11 [Server] INFO at org.spigotmc.netty.NettyNetworkManager.b(NettyNetworkManager.java:192)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerConnection.a(PlayerConnection.java:691)
    27.06 16:38:11 [Server] INFO at net.minecraft.server.v1_5_R3.PlayerList.disconnect(PlayerList.java:256)
    27.06 16:38:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:464)
    27.06 16:38:11 [Server] INFO at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:479)
    27.06 16:38:11 [Server] INFO at org.bukkit.plugin.TimedRegisteredListener.callEvent(TimedRegisteredListener.java:26)
    27.06 16:38:11 [Server] INFO at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62)
    27.06 16:38:11 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:428)
    27.06 16:38:11 [Server] INFO org.bukkit.event.EventException
    27.06 16:38:11 [Server] SEVERE Could not pass event PlayerQuitEvent to WorldGuard v5.7.6-SNAPSHOT
    27.06 16:38:11 [Disconnect] User _BlackX_ has disconnected, reason: disconnect.endOfStream
    27.06 16:38:10 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    27.06 16:38:10 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    27.06 16:38:10 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    27.06 16:38:10 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
    27.06 16:38:10 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
    27.06 16:38:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
    27.06 16:38:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
    27.06 16:38:10 [Server] INFO at com.TeamNovus.AutoMessage.Tasks.BroadcastTask.run(BroadcastTask.java:29)
    27.06 16:38:10 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.entity.CraftHumanEntity.hasPermission(CraftHumanEntity.java:111)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.hasPermission(PermissiblePEX.java:116)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.checkPermission(PermissiblePEX.java:125)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.bukkit.superperms.PermissiblePEX.performCheck(PermissiblePEX.java:150)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.bukkit.PermissionsEx.getUser(PermissionsEx.java:201)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:135)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.backends.SQLBackend.getUser(SQLBackend.java:86)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLUser.<init>(SQLUser.java:33)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLEntity.<init>(SQLEntity.java:58)
    27.06 16:38:10 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLEntity.fetchInfo(SQLEntity.java:430)
    27.06 16:38:10 [Server] INFO java.lang.NullPointerException
    27.06 16:38:10 [Server] SEVERE Error occurred with PermissionsEx! Please post it to http://is.gd/03KPt7§r. Full error:
    27.06 16:38:06 [Server] INFO at net.minecraft.server.v1_5_R3.ThreadServerApplication.run(SourceFile:573)
    27.06 16:38:06 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.run(MinecraftServer.java:404)
    27.06 16:38:06 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.q(MinecraftServer.java:472)
    27.06 16:38:06 [Server] INFO at net.minecraft.server.v1_5_R3.DedicatedServer.r(DedicatedServer.java:224)
    27.06 16:38:06 [Server] INFO at net.minecraft.server.v1_5_R3.MinecraftServer.r(MinecraftServer.java:509)
    27.06 16:38:06 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:344)
    27.06 16:38:06 [Server] INFO at org.bukkit.craftbukkit.v1_5_R3.scheduler.CraftTask.run(CraftTask.java:58)
    27.06 16:38:06 [Server] INFO at com.earth2me.essentials.EssentialsPlayerListener$2.run(EssentialsPlayerListener.java:201)
    27.06 16:38:06 [Server] INFO at com.earth2me.essentials.User.setDisplayNick(User.java:360)
    27.06 16:38:06 [Server] INFO at com.earth2me.essentials.User.getNick(User.java:324)
    27.06 16:38:06 [Server] INFO at com.earth2me.essentials.perm.PermissionsHandler.getPrefix(PermissionsHandler.java:80)
    27.06 16:38:06 [Server] INFO at com.earth2me.essentials.perm.PermissionsExHandler.getPrefix(PermissionsExHandler.java:75)
    27.06 16:38:06 [Server] INFO at ru.tehkode.permissions.PermissionManager.getUser(PermissionManager.java:116)
    27.06 16:38:06 [Server] INFO at ru.tehkode.permissions.backends.SQLBackend.getUser(SQLBackend.java:86)
    27.06 16:38:06 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLUser.<init>(SQLUser.java:33)
    27.06 16:38:06 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLEntity.<init>(SQLEntity.java:58)
    27.06 16:38:06 [Server] INFO at ru.tehkode.permissions.backends.sql.SQLEntity.fetchInfo(SQLEntity.java:430)
    27.06 16:38:06 [Server] INFO java.lang.NullPointerException
    27.06 16:38:06 [Server] WARNING Task #29 for Essentials vPre2.11.1.10 generated an exception
    27.06 16:38:06 [Server] INFO ... 14 more
    27.06 16:38:06 [Server] INFO at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:426)
    27.06 16:38:06 [Server] INFO at java.lang.reflect.Method.invoke(Unknown Source)
    27.06 16:38:06 [Server] INFO at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    27.06 16:38:06 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    27.06 16:38:06 [Server] INFO at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    27.06 16:38:06 [Server] INFO at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.onPlayerTeleport(WorldGuardPlayerListener.java:1380)
    27.06 16:38:06 [Server] INFO at com.sk89q.worldguard.bukkit.WorldGuardPlayerListener.checkMove(WorldGuardPlayerListener.java:129)
    27.06 16:38:06 [Server] INFO at com.sk89q.worldguard.protection.GlobalRegionManager.hasBypass(GlobalRegionManager.java:268)
    27.06 16:38:06 [Server] INFO at com.sk89q.worldguard.bukkit.WorldGuardPlugin.hasPermission(WorldGuardPlugin.java:364)
    27.06 16:38:06 [Server] INFO at com.sk89q.wepif.PermissionsResolverManager.hasPermission(PermissionsResolverManager.java:149)
    27.06 16:38:06 [Server] INFO at com.sk89q.wepif.PermissionsExResolver.hasPermission(PermissionsExResolver.java:63)
    27.06 16:38:06 [Server] INFO at ru.tehkode.permissions.PermissionManager.has(PermissionManager.java:93)
    
    Еще начинает жаловаться WorldGuard, а он то тут причем?
    З.Ы Spigot1.5.2-o.2 , PEX 1.19.6
    Заранее спасибо!
     
  2. Хостинг MineCraft
    <
  3. Автор темы
    Simon's

    Simon's Старожил Пользователь

    Баллы:
    123
    Skype:
    azegor199
    Имя в Minecraft:
    Simon
    Upчи
     
    zuma2 нравится это.
  4. Serrrgio

    Serrrgio Старожил Пользователь

    Баллы:
    173
    Skype:
    nonecsa
    Имя в Minecraft:
    None
    нужен полный лог, таблицы в базе создались? данные импортировал?
     
    xvlad нравится это.
  5. Автор темы
    Simon's

    Simon's Старожил Пользователь

    Баллы:
    123
    Skype:
    azegor199
    Имя в Minecraft:
    Simon
    У меня дамп с версии 1.4.7 идет.[DOUBLEPOST=1372341225,1372340560][/DOUBLEPOST]Все, проблема решена. Я лох забыл, что хостинг чуть-чуть изменил адрес mySQL сервера.
     
Статус темы:
Закрыта.

Поделиться этой страницей