Giter Club home page Giter Club logo

bungeeblockversion's Introduction

BungeeBlockVersion

Minecraft versions GitHub release (latest by date) Downloads Donate via Ko-fi License: GPL v3

A Bungee/Waterfall plugin that will block players from connecting with certain versions. It will not even allow the player to attempt to connect to a server inside your Bungee/Waterfall network.

Features

  • Block players if they are using a version that is on the list.
  • Custom disconnect message.

Documentation

Visit the wiki for help.

License

This plugin is released under GNU General Public License v3. See LICENSE.

bungeeblockversion's People

Contributors

deepsourcebot avatar dependabot[bot] avatar frafol avatar hyperdefined avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

frafol

bungeeblockversion's Issues

Using version 1.3.2 says there is a newer version + no blocking

Hi there i tryied 1.3.2 but:
-Message on startup:
[13:22:42 INFO]: Enabled plugin BungeeBlockVersion version 1.3.2 by hyperdefined
[13:22:42 INFO] [BungeeBlockVersion]: There is a new version available! Please download at https://www.spigotmc.org/resources/bungeeblockversion.84685/

-I havent touched the config file yet so all clients should be rejected right?
i tried both 1.17.1 client and 1.18 client and they were not blocked by the proxy

Using 1.18 Waterfall : https://papermc.io/api/v2/projects/waterfall/versions/1.18/builds/462/downloads/waterfall-1.18-462.jar

Cannot block 1.7 due invalid version number

Your plugin at Spigot page said that plugin works from 1.7 to 1.20 but when i want to block version number from 0 to 46, it says "Version # is NOT a valid version number! Ignoring this version."

Error

[09:28:11 WARN]: Error dispatching event ProxyPingEvent(connection=[/138.201.173.70:42580] <-> InitialHandler, response=ServerPing(version=ServerPing.Protocol(name=FlameCord 1.8.x-1.17.x, protocol=756), players=ServerPing.Players(max=1000, online=0, sample=[ServerPing.PlayerInfo(name= (✦) INFORMACE (✦) , uniqueId=00000000-0000-0000-0000-000000000000), ServerPing.PlayerInfo(name=, uniqueId=00000000-0000-0000-0000-000000000000), ServerPing.PlayerInfo(name= www.elite-raid.eu, uniqueId=00000000-0000-0000-0000-000000000000), ServerPing.PlayerInfo(name= store.elite-raid.eu, uniqueId=00000000-0000-0000-0000-000000000000), ServerPing.PlayerInfo(name= play.elite-raid.eu, uniqueId=00000000-0000-0000-0000-000000000000), ServerPing.PlayerInfo(name= discord.elite-raid.eu, uniqueId=00000000-0000-0000-0000-000000000000), ServerPing.PlayerInfo(name=, uniqueId=00000000-0000-0000-0000-000000000000)]), description= (✦) ELITE-RAID (✦) 20% SLEVA! Kód PRAZDNINY (store.elite-raid.eu), modinfo=ServerPing.ModInfo(type=FML, modList=[]))) to listener lol.hyper.bungeeblockversion.BungeeBlockVersion@7a491a60 java.util.NoSuchElementException: null at java.util.ArrayList$Itr.next(Unknown Source) ~[?:?] at java.util.Collections.min(Unknown Source) ~[?:?] at lol.hyper.bungeeblockversion.VersionToStrings.allowedVersions(VersionToStrings.java:69) ~[?:?] at lol.hyper.bungeeblockversion.BungeeBlockVersion.onServerPing(BungeeBlockVersion.java:88) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[?:?] at java.lang.reflect.Method.invoke(Unknown Source) ~[?:?] at net.md_5.bungee.event.EventHandlerMethod.invoke(EventHandlerMethod.java:19) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.event.EventBus.post(EventBus.java:48) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.api.plugin.PluginManager.callEvent(PluginManager.java:510) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.connection.InitialHandler$3.done(InitialHandler.java:290) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.connection.InitialHandler$3.done(InitialHandler.java:257) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.connection.InitialHandler.handle(InitialHandler.java:299) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.protocol.packet.StatusRequest.handle(StatusRequest.java:30) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at net.md_5.bungee.netty.HandlerBoss.channelRead(HandlerBoss.java:128) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:286) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:103) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:324) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:296) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:357) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1410) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:379) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:365) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:919) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:795) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:480) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:378) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.util.concurrent.SingleThreadEventExecutor$4.run(SingleThreadEventExecutor.java:989) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) ~[FlameCord.jar:git:FlameCord-Bootstrap:1.17-R0.1-SNAPSHOT:7912bef:unknown] at java.lang.Thread.run(Unknown Source) [?:?]

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.