Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Have HuskHomes track and restrict teleportation to possible target players cross-server and allow them to appear in TAB completion for teleport commands. #13

Closed
Iotados opened this issue Feb 9, 2021 · 2 comments
Labels
type: feature request This issue is about a new feature or request

Comments

@Iotados
Copy link

Iotados commented Feb 9, 2021

Players can do /tpa and still send a tp request (or at least chat displays the "request sent to ...". Probably should have an error if the player isn't online anymore or doesn't actually exist.

@WiIIiam278 WiIIiam278 added the type: feature request This issue is about a new feature or request label Feb 10, 2021
@WiIIiam278
Copy link
Owner

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.

@WiIIiam278 WiIIiam278 reopened this Feb 10, 2021
@WiIIiam278 WiIIiam278 changed the title Players aren't restricted in there tp requests Have HuskHomes track and restrict teleportation to possible target players cross-server and allow them to appear in TAB completion for teleport commands. Feb 12, 2021
WiIIiam278 added a commit that referenced this issue Mar 26, 2021
@WiIIiam278
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature request This issue is about a new feature or request
Projects
None yet
Development

No branches or pull requests

2 participants