ME1312 / SubServers-2

SubServers – The Minecraft Server Management Platform
Apache License 2.0
92 stars 23 forks source link

Signs to start / join server #75

Closed ajh123 closed 2 years ago

ajh123 commented 2 years ago

What Should Be Added

Could probably be a different plugin / already have been done, but can't find it. A sign plugin like bungee signs but can be used to start the server, if not started. Can't seem to find a way to do that with bungee signs (also for 1.18, unlike bungee signs, but that still may work on 1.18)

Why It Should be Added

Big networks normally have signs/npcs (sometimes) which can be used to join servers dynamically but to save system resources they can start the sub server when the sign is clicked, then join the player once ready. The server could be stopped later on by something else (not this).

What's The Alternative

Use bungee signs to join servers, but manually start / stop them

ME1312 commented 2 years ago

Ah, yes. This was one of the features included at launch with SubServers (Classic), although it seems to have mysteriously disappeared after 1.8.8c ...

Anyway, re-adding it to SubServers.Client for Bukkit shouldn't take me too much longer. ¯\_(ツ)_/¯

ajh123 commented 2 years ago

Thank you, it would really help!

ME1312 commented 2 years ago

Alright, the snapshot build and the feature's accompanying wiki section are both up now.

ajh123 commented 2 years ago

Thank you, I'll try them later

ajh123 commented 2 years ago

This works, but can we have the signs able to pick a random server part of a group if available

ajh123 commented 2 years ago

Also can the signs work on servers defined in the bungee's config.yml if they to have the client. For me it seems like the sign is stuck on checking status

ajh123 commented 2 years ago

And how to create groups?

ME1312 commented 2 years ago

Also can the signs work on servers defined in the bungee's config.yml if they to have the client. For me it seems like the sign is stuck on checking status

It kinda defeats the point since we don't have enough control over those to start them, but sure, I can listen for those.

This works, but can we have the signs able to pick a random server part of a group if available

Sure.


And how to create groups?

Groups are created automatically when you tag a (sub)server with one or more of them in their config file. SubCreator can also tag subservers upon creation when defined in template.yml's settings section.

ME1312 commented 2 years ago

The latest snapshot has all of the above additions to signs.

ajh123 commented 2 years ago

Works perfectly! Thank you for great work!