Git Product home page Git Product logo

Comments (3)

Pokechu22 avatar Pokechu22 commented on August 22, 2024

It has a permission system. The goal is to make it so that people can use the mod in situations where it works well while still giving server-owners some level of control. Kicking was not the intended use, but has become a thing (there are some tweaks I have in mind to how the packets will work to avoid kicking while still allowing permissions to be handled). When used correctly, I'd say that it works well and shouldn't be intrusive, but some servers do not use it well.

The reference for this plugin message-based permission system is hosted on wiki.vg, and hopefully should clear things up.

from worlddownloader.

TypeV avatar TypeV commented on August 22, 2024

Can't you make the channels one-way? (Client only listens to server packets, and client doesn't send any packets)

from worlddownloader.

Pokechu22 avatar Pokechu22 commented on August 22, 2024

Theoretically, yes. In practice, not allowing serverbound communication makes things a lot harder. For one, you can't use plugin channels (as to use plugin channels, both the server and client must send a REGISTER packet to the server), meaning you'd need to do something more complex or more ugly. The other issue is that the serverbound packet the mod uses is there to help synchronize things (you only want to receive permissions after changing worlds once you've saved the previous world; permissions from the new world don't apply). The popular method of using the server list ping is something that I refuse to do, simply because it's really unstable (for whatever reason, the ping fails 50% of the time on my local test server...) and also can't be changed without disconnecting and reconnecting. And the other option is chat messages, which I could use but would be a bit of a mess (especially since ยง codes are much harder in newer versions of bukkit/spigot).

The one thing I plan on changing at some point in the future is moving the REGISTER packet to when the mod is actually used, though, so that you don't have issues on first joining and instead get a notice that some servers may kick you and such (so that you can avoid issues). That's been a little hard (the same timing issues from before) but I've been working on it.

from worlddownloader.

Related Issues (20)

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.