Git Product home page Git Product logo

bungeepexbridge's People

Contributors

guipenedo avatar travja avatar wolverindev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

bungeepexbridge's Issues

error PEX

Hi i have a error with the pluging after config the mysql config etc

Exception encountered when loading plugin: BungeePexBridge java.lang.IllegalArgumentException: Can not set java.lang.String field me.philipsnostrum.bungeepexbridge.helpers.Config.mysql_user to java.lang.Long at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167) at sun.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171) at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81) at java.lang.reflect.Field.set(Field.java:764) at me.philipsnostrum.bungeepexbridge.helpers.Config.<init>(Config.java:45) at me.philipsnostrum.bungeepexbridge.BungeePexBridge.onEnable(BungeePexBridge.java:55) at net.md_5.bungee.api.plugin.PluginManager.enablePlugins(PluginManager.java:227) at net.md_5.bungee.BungeeCord.start(BungeeCord.java:273) at net.md_5.bungee.BungeeCordLauncher.main(BungeeCordLauncher.java:55) at net.md_5.bungee.Bootstrap.main(Bootstrap.java:15)

here my config file
https://www.hastebin.com/rivulokila.py

Update to 1.12

can you update for 1.12 i have tested but not working

stucked in pex loaded

22:27:21 [INFO] CONSOLE executed command: /end
22:27:21 [INFO] Closing listener [id: 0x792c56e5, L:/0.0.0.0:25565]
22:27:21 [INFO] Closing pending connections
22:27:21 [INFO] Disconnecting 0 connections
22:27:22 [INFO] Closing IO threads
22:27:24 [INFO] Saving reconnect locations
22:27:24 [INFO] Disabling plugins
22:27:24 [INFO] Thank you and goodbye
22:27:27 [INFO] Using OpenSSL based native cipher.
22:27:27 [INFO] Using native code compressor
22:27:27 [INFO] Enabled BungeeCord version git:BungeeCord-Bootstrap:1.12-SNAPSHOT:eab710b:1242
22:27:27 [INFO] Not on Windows, attempting to use enhanced EpollEventLoop
22:27:27 [INFO] Epoll is working, utilising it!
22:27:27 [INFO] Discovered module: ModuleSpec(name=cmd_alert, file=modules/cmd_alert.jar, provider=JenkinsModuleSource())
22:27:27 [INFO] Discovered module: ModuleSpec(name=cmd_find, file=modules/cmd_find.jar, provider=JenkinsModuleSource())
22:27:27 [INFO] Discovered module: ModuleSpec(name=cmd_list, file=modules/cmd_list.jar, provider=JenkinsModuleSource())
22:27:27 [INFO] Discovered module: ModuleSpec(name=cmd_send, file=modules/cmd_send.jar, provider=JenkinsModuleSource())
22:27:27 [INFO] Discovered module: ModuleSpec(name=cmd_server, file=modules/cmd_server.jar, provider=JenkinsModuleSource())
22:27:27 [INFO] Discovered module: ModuleSpec(name=reconnect_yaml, file=modules/reconnect_yaml.jar, provider=JenkinsModuleSource())
22:27:27 [INFO] Loaded plugin reconnect_yaml version git:reconnect_yaml:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:27 [INFO] Loaded plugin cmd_find version git:cmd_find:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:27 [INFO] Loaded plugin BungeePexBridge version 1.9 by PhilipsNostrum
22:27:27 [INFO] Loaded plugin cmd_server version git:cmd_server:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:27 [INFO] Loaded plugin cmd_alert version git:cmd_alert:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:27 [INFO] Loaded plugin cmd_send version git:cmd_send:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:27 [INFO] Loaded plugin cmd_list version git:cmd_list:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:27 [INFO] Loaded plugin BungeeTabListPlus version 2.7.4 by CodeCrafter47
22:27:28 [INFO] Enabled plugin reconnect_yaml version git:reconnect_yaml:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:28 [INFO] Enabled plugin cmd_find version git:cmd_find:1.12-SNAPSHOT:eab710b:1242 by SpigotMC
22:27:28 [INFO] [BungeePexBridge] Permission system PEX loaded successfully!

mysql problem

Hello,
I am contacting you because I have this problem with
BungeePexBridge I use permissionex and my server is waterfall can you fix this
thank you in advance

[18:25:17] [Netty Worker IO Thread #1/ERROR]: com.mysql.jdbc.exceptions.jdbc4.CommunicationsException: Communications link failure [18:25:17] [Netty Worker IO Thread #1/ERROR]: [18:25:17] [Netty Worker IO Thread #1/ERROR]: The last packet successfully received from the server was 18ย 588 milliseconds ago. The last packet sent successfully to the server was 0 milliseconds ago. [18:25:17] [Netty Worker IO Thread #1/ERROR]: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at java.lang.reflect.Constructor.newInstance(Constructor.java:423) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.Util.handleNewInstance(Util.java:403) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.SQLError.createCommunicationsException(SQLError.java:990) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3517) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3417) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3860) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2524) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2675) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2465) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2439) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.StatementImpl.executeQuery(StatementImpl.java:1365) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at me.philipsnostrum.bungeepexbridge.permsystem.PermissionsEx.getPlayerPermissions(PermissionsEx.java:75) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at me.philipsnostrum.bungeepexbridge.models.PermPlayer.<init>(PermPlayer.java:16) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at me.philipsnostrum.bungeepexbridge.BungeePexBridge.loadPlayer(BungeePexBridge.java:183) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at me.philipsnostrum.bungeepexbridge.listener.PostLoginListener.onPostLogin(PostLoginListener.java:14) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at java.lang.reflect.Method.invoke(Method.java:498) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at net.md_5.bungee.event.EventBus.post(EventBus.java:48) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:466) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at io.netty.util.concurrent.AbstractEventExecutor.safeExecute(AbstractEventExecutor.java:164) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks(SingleThreadEventExecutor.java:472) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:384) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at java.lang.Thread.run(Thread.java:748) [18:25:17] [Netty Worker IO Thread #1/ERROR]: Caused by: java.io.EOFException: Can not read response from server. Expected to read 4 bytes, read 0 bytes before connection was unexpectedly lost. [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.readFully(MysqlIO.java:2969) [18:25:17] [Netty Worker IO Thread #1/ERROR]: at com.mysql.jdbc.MysqlIO.reuseAndReadPacket(MysqlIO.java:3427) [18:25:17] [Netty Worker IO Thread #1/ERROR]: ... 25 more

error logs in console

WARNING: Error dispatching event PermissionCheckEvent(sender=linkinkov, permission=wcnp.bypass, hasPermission=false) to listener me.philipsnostrum.bungeepexbridge.listener.PermissionCheckListener@31ff43be
java.lang.NullPointerException
at me.philipsnostrum.bungeepexbridge.modules.PermPlayer.getPlayer(PermPlayer.java:37)
at me.philipsnostrum.bungeepexbridge.BungeePexBridge.hasPermission(BungeePexBridge.java:194)
at me.philipsnostrum.bungeepexbridge.listener.PermissionCheckListener.onPermissionCheck(PermissionCheckListener.java:14)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19)
at net.md_5.bungee.event.EventBus.post(EventBus.java:46)
at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:377)
at net.md_5.bungee.UserConnection.hasPermission(UserConnection.java:367)
at com.gekatik.Event.playercmd(Event.java:28)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19)
at net.md_5.bungee.event.EventBus.post(EventBus.java:46)
at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:377)
at net.md_5.bungee.connection.UpstreamBridge.handle(UpstreamBridge.java:110)
at net.md_5.bungee.protocol.packet.Chat.handle(Chat.java:50)
at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:77)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:266)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:883)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:389)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:305)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
at java.lang.Thread.run(Thread.java:745)

is there like api or something?

Yeah, I was wondering if there's a way to like check the permission of a certain player.
I mean for example like: boolean hasPermission(UUID uuid);

Thanks.

Groups not syncing

Hello!

I'm not quite sure if I'm misunderstanding the point of the plugin or something is going wrong. I have permissionsex running on all of my servers and all of them are synced with a mysql database, the functionality I'm aiming to achieve is that if I set a user to the admin group in pex then it will give them the perms in the admin group in bungeecord's config as well.

You cannot do the commands you're allowed to in your given group. For example, here is the /perms output of my alt account.
image
I cannot do any of those commands, not even /server. This is fixed when I disable the plugin.

Any help appreciated. Thank you.

EDIT Turns out its a problem with SEXYPEX. When using Sexypex you can't use the permissions defined in the bungeecord config even though it can list which ones you're supposed to have.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.