Various Improvements
Hi! We're going Velocity and I ported the additional features of BungeeGUI to VelocityGUI. Let me know if something is wrong with the PR and I can work with it :)
What changed
-
Remove depend (not functionality) on VelocityControl jar by using reflections (this needs an actual test, which I can't do), so that the plugin is easy to compile.
-
Improve placeholders, helps with #6 by adding:
%players_proxy%%players_server_SERVERNAME%%players_proxy_unvanished%%players_server_SERVERNAME_unvanished%%status_SERVERNAME%. Unvanished placeholders only support PremiumVanish at the moment, but they're easily expandable. -
Added MiniMessage support (did not remove legacy amperstand (
&) support) -
Add multi-language support (
en_usandit_it(italian) integrated, we can remove italian if you don't like that). To select a language, aconfigfile has been created. -
improved
vgui panelby letting commands open a panel for a player, very useful for integration with other plugins:
-
vgui panel- list of panels the user have access to -
vgui panel [name]- open a panel -
vgui panel [name] [player]- open panel for a player
-
Dupe protection: inventory clicks now will always get cancelled, even on exceptions.
-
expand sound support:
- support for
emptysound(expandingsound) in panel options, that sets the sound foremptyslots, which can be let as an empty string in order to make empty slot silent. - support for
soundas command type; for examplecommands = ["sound=ENTITY_PIGLIN_STEP"]. - sounds now support specifying volume and pitch in the format
SOUND_KEY:VOLUME:PITCH
-
/hubcommands: now panel aliases support being a "hub command" by specifing in config the string listservers; these will be available as a first-argument of the command, connecting the player to the respective server. To keep user friendliness, servers -
changed version to 1.3.0 to signal breaking changes
I did preliminary tests obviously but a bit of extra testing wouldn't hurt.
Before merging this, it would be better to discuss #7, I do not have conditions for merging this but it's just cleaner, so I'm opening this as a draft.