Permissions
This plugin uses the permission system. To assign a permission, use oxide.grant <user or group> <name or steam id> <permission>. To remove a permission, use oxide.revoke <user or group> <name or steam id> <permission>.customui.openui - Ability to use the OpenUI console command
customui.closeui - Ability to use the CloseUI console command (needed for default group to close a UI)
For custom UI permissions the permission is:
customui.CUSTOMPERMISSION
Replace CUSTOMPERMISSION with the permission in the config.
Console Commands
openui <UI Name> Open a UI (mostly for testing)closeui <UI Name> Forgot to add a close button to your UI? Or looking to? add this to your UI.
Chat Commands
Custom chat commands for each UI, just type / followed with your custom command.Configuration
The settings and options can be configured in the CustomUI file under the config directory. The use of an editor and validator is recommended to avoid formatting issues and syntax errors.Please keep in mind, it might be buggy if you have two UI elements with the same name!
Localization
The default messages are in the CustomUI file under the lang/en directory. To add support for another language, create a new language folder (e.g. de for German) if not already created, copy the default language file to the new folder and then customize the messages.Developers
I have one hook for you developers!FAQ
Q Do I need ImageLibrary?A If you're not using any images, only color, you will not need Image Library.
Q My image isn't loading, why?
A Make sure your image isn't located correctly, for example if you're using URL images: and if you're using files: file://dir/otherdir/picture.png.