Coder Social home page Coder Social logo

Have HuskHomes track and restrict teleportation to possible target players cross-server and allow them to appear in TAB completion for teleport commands. about huskhomes HOT 2 CLOSED

Iotados avatar Iotados commented on August 30, 2024
Have HuskHomes track and restrict teleportation to possible target players cross-server and allow them to appear in TAB completion for teleport commands.

from huskhomes.

Comments (2)

WiIIiam278 avatar WiIIiam278 commented on August 30, 2024

Known issue, would require a solution such that HuskHomes is able to keep track of all players who are eligable to be TP'd to across all servers (i.e those who are on servers with HuskHomes installed).
The solution would be to send a plugin message between servers requesting player lists. HuskHomes would send a plugin message out updating servers when a player has joined or left. Upon receiving this message all HH servers would request player lists from other servers and compile them together to determine the list of online players. This could then be used for TAB completion and determining if a teleport request is valid cross-server.
The other solution would be to implement a bungee plugin to do this, but that's not worthwhile or practical.

from huskhomes.

WiIIiam278 avatar WiIIiam278 commented on August 30, 2024

Partially implemented; doesn't restrict players you can teleport to but it now updates a tab list every 60 seconds (configurable/toggle-able). Closing for now.

from huskhomes.

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.