VelocityGUI icon indicating copy to clipboard operation
VelocityGUI copied to clipboard

Various Improvements

Open Tig3r98 opened this issue 10 months ago • 0 comments

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

  1. 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.

  2. 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.

  3. Added MiniMessage support (did not remove legacy amperstand (&) support)

  4. Add multi-language support (en_us and it_it (italian) integrated, we can remove italian if you don't like that). To select a language, a config file has been created.

  5. improved vgui panel by 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
  1. Dupe protection: inventory clicks now will always get cancelled, even on exceptions.

  2. expand sound support:

  • support for emptysound (expanding sound) in panel options, that sets the sound for empty slots, which can be let as an empty string in order to make empty slot silent.
  • support for sound as command type; for example commands = ["sound=ENTITY_PIGLIN_STEP"].
  • sounds now support specifying volume and pitch in the format SOUND_KEY:VOLUME:PITCH
  1. /hub commands: now panel aliases support being a "hub command" by specifing in config the string list servers; these will be available as a first-argument of the command, connecting the player to the respective server. To keep user friendliness, servers

  2. 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.

Tig3r98 avatar Mar 12 '25 19:03 Tig3r98