Coder Social home page Coder Social logo

antilaby / antilaby Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 1.0 987 KB

AntiLaby plug-in for Bukkit

Home Page: https://www.spigotmc.org/resources/antilaby-1-8-1-12-1-disable-labymod-functions-api.21347

License: GNU General Public License v3.0

Java 100.00%
spigotmc plug-in plugin api minecraft labymod craftbukkit paperspigot spigot

antilaby's Introduction

Welcome to AntiLaby!

AntiLaby is a free open source Minecraft Bukkit plug-in by NathanNr and heisluft to disable functions of the Minecraft modification LabyMod. Read more …

Useful links:

AntiLaby in

Maven:

...
<repositories>
  ...
  <repository>
    <id>heisluft-repo</id>
    <url>https://heisluft.tk/maven/</url>
  </repository>
  ...
</repositories>
...
<dependencies>
  ...
  <dependency>
    <groupId>com.gihub.antilaby</groupId>
    <artifactId>AntiLaby</artifactId>
    <version>2.0-pre3</version>
    <scope>compile</scope>
  </dependency>
  ...
</dependencies>
...

Gradle:

...
repositories {
  ...
  maven {
    url 'https://heisluft.tk/maven/'
  }
  ...
}
...
dependencies {
  ...
  compile group: 'com.github.antilaby", name: "AntiLaby", version: "2.0-pre3'
  ...
}
...

antilaby's People

Contributors

deeprobin avatar heisluft avatar nathannr avatar rosloewe avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tominous

antilaby's Issues

Subcommand System

You can make your plugin more object-orientated. You can add a subcommand system with an abstract packagePrivate class called Subcommand.

Example: /antilaby subCommand

Add generic Bukkit support

Currently, AntiLaby relies on NMS and OBC classes. Removing these dependencies will allow all Bukkit implementations (Glowstone etc.) to run AntiLaby

Rework the configuration file

Features wich are set to true should be always allowed, no differentiation because of the LabyMod default settings; auto-update from the old configuration file.
Maybe split the configuration to two files, one for the LabyMod features and one for the other stuff.

Add debug mode

Add debug mode with additional console output and add error codes.

Could not pass event PlayerJoinEvent

Error:

17:40:59 [ERROR] Could not pass event PlayerJoinEvent to AntiLaby v1.8.1
org.bukkit.event.EventException
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:306) ~[spigot-1.11.2.jar:git-Spigo
t-3fb9445-2b6c9f4]
at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:62) ~[spigot-1.11.2.jar:git-Spigot-
3fb9445-2b6c9f4]
at org.bukkit.plugin.SimplePluginManager.fireEvent(SimplePluginManager.java:502) [spigot-1.11.2.jar:git-Spigo
t-3fb9445-2b6c9f4]
at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:487) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.PlayerList.onPlayerJoin(PlayerList.java:327) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.PlayerList.a(PlayerList.java:160) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at protocolsupport.zplatform.impl.spigot.network.handler.SpigotLoginListenerPlay.joinGame(SpigotLoginListenerPlay.java:121) [ProtocolSupport.jar:?]
at protocolsupport.protocol.packet.handler.AbstractLoginListenerPlay.tryJoin(AbstractLoginListenerPlay.java:115) [ProtocolSupport.jar:?]
at protocolsupport.protocol.packet.handler.AbstractLoginListenerPlay.tick(AbstractLoginListenerPlay.java:74) [ProtocolSupport.jar:?]
at protocolsupport.zplatform.impl.spigot.network.handler.SpigotLoginListenerPlay.F_(SpigotLoginListenerPlay.java:67) [ProtocolSupport.jar:?]
at net.minecraft.server.v1_11_R1.NetworkManager.a(NetworkManager.java:233) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.ServerConnection.c(ServerConnection.java:140) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.MinecraftServer.D(MinecraftServer.java:842) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.DedicatedServer.D(DedicatedServer.java:399) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.MinecraftServer.C(MinecraftServer.java:678) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at net.minecraft.server.v1_11_R1.MinecraftServer.run(MinecraftServer.java:576) [spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
at java.lang.Thread.run(Thread.java:745) [?:1.8.0_121]
Caused by: java.lang.Error: Unresolved compilation problems:
PacketDataSerializer cannot be resolved to a type
PacketDataSerializer cannot be resolved to a type
PacketPlayOutCustomPayload cannot be resolved to a type
PacketPlayOutCustomPayload cannot be resolved to a type
CraftPlayer cannot be resolved to a type
CraftPlayer cannot be resolved to a type

at com.github.nathannr.antilaby.nms.Nms_v1_11_R1.setLabyModFeature(Nms_v1_11_R1.java:29) ~[?:?]
at com.github.nathannr.antilaby.api.antilabypackages.AntiLabyPackager.sendPackages(AntiLabyPackager.java:99) ~[?:?]
at com.github.nathannr.antilaby.main.events.PlayerJoin.onPlayerJoin(PlayerJoin.java:18) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_121]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_121]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_121]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_121]
at org.bukkit.plugin.java.JavaPluginLoader$1.execute(JavaPluginLoader.java:302) ~[spigot-1.11.2.jar:git-Spigot-3fb9445-2b6c9f4]
... 16 more

https://hastebin.com/irehamonin.vbs
Bug report by Ac3dUd3

Rework the auto-updater

Rework the auto-update feature and add more features, including beta-auto-updating and player notifications.

Make out consistent

use Bukkit.getConsoleSender instead of sysout, use LanguageManager wherever possible

Migrate to NIO 2

java nio 2 was designed to allow things like functional programming to be used. It uses proper Exceptions instead of booleans as well. Also, it supports symlinks.

1.13 support.

Hey.

AntiLaby doesn't work with Minecraft 1.13. Could you add the support of this version ? :)

Thanks ! :D

Functions are not activated after entering, only if you use /antilaby rl

Bug report by Tobiasnick

Hallo Nathan_N,

Ich habe einen Bug gefunden oder ich habe etwas falsch eingestellt.
Unzwar werden die Labymod Funktionen nicht automatisch deaktiviert die ich ausgewählt habe. Sie deaktivieren sich nur wenn ich /antilaby reload eingebe. Beim beitreten des Servers kommt auch keine Nachricht welche Funktionen deaktiviert sind.

Über eine Antwort wäre ich sehr dankbar.

Mit freundlichen Grüßen,

Tobiasnick

Add Sponge Support

SpongeMC is very nice 👍
And i will maybe use it in future, and on my sponge server i want to have AntiLaby.

Implement LabyModPlayerBan

Add a basic ban system to ban players who are using LabyMod permanently. The use of advantaged ban systems should be allowed by using a custom ban command with variables.

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.