Commands and local pictures - PluginsCDTribe/VexView GitHub Wiki
Commands
Plugins support the use of commands to open a GUI menu, so you can use this feature to open a custom GUI for the player, depending on how you use it.
The command to open the GUI is:
- /opengui
- Permission: vexview.admin
If you want to reload plugins, you can use:
- /vexreload - Reload plugin
- Permission: vexview.admin
Local pictures
For some players, due to network reasons, there may be problems with the resolution of the image URL. However, we provide a local image loading method. Simply put the image into the MOD to display the local image.
- First, open the MOD body as a compressed file and find the following path: VexView_MOD.jar\assets\vexview\textures\custom
- Then put the picture you made into it and place the local picture.
- The url link in the plug-in configuration file can be filled with the form "[local] + image name" to tell the plug-in that this is a local image and use the local one directly. For example: [local]gui.png
- Finally, entering the server can display custom local pictures.