Cheshire Posted July 25, 2021 Share Posted July 25, 2021 Custom Web Buttons Plugin  Description: This plugin lets you configure custom buttons that can open a website anywhere* on the existing GUI. It's configured through a relatively simple configuration file that simply stores all the buttons and their properties and will on-runtime create all relevant buttons that it can.  *= Objects that are not named in code (such as the main menu background) or are generated at run-time can not be used as a parent control. Basic rule of thumb is, if you can find the NAME of an object as a Json file or IN a Json file you will be able to use that as a ParentControl!  Features: Add buttons to your GUI anywhere! Configure the website these buttons open at will. Customize the location, alignment, size and image of these buttons.  Media: Spoiler Example button:  Default Configuration File: { "Buttons": [ { "Name": "DiscordInvite", "Url": "https://www.discord.com", "ParentControl": "MenuWindow", "Bounds": { "X": 0, "Y": 0, "Width": 220, "Height": 70, "Left": 0, "Top": 0, "Bottom": 70, "Right": 220 }, "Alignments": [ "Right", "Bottom" ], "Image": "join-our-discord.png", "HoverImage": null, "ClickedImage": null, "HoverSound": null } ], "IsEnabled": true }   Download:  Version 1.0.0:   [Download] Or view the Github repository over [Here]  Installation: Download the above file. Extract the folder into your Intersect Client\resources\plugins directory. Modify the config.json file and add any buttons to your UI as desired! Place the button images in the supplied Assets folder. Place the button sounds in the default Intersect sounds folder Run your client and witness your new buttons!  Objects that are not named in code (such as the main menu background) or are generated at run-time can not be used as a parent control. Basic rule of thumb is, if you can find the NAME of an object as a Json file or IN a Json file you will be able to use that as a ParentControl! Push, Castiel, Daniel Stollmeier and 2 others 4 1 Link to comment Share on other sites More sharing options...
Kamus Posted July 26, 2021 Share Posted July 26, 2021 Working on: 0.7.0.126 Thanks in advance 💗 Link to comment Share on other sites More sharing options...
Cheshire Posted July 27, 2021 Author Share Posted July 27, 2021 Nice!  Note that that's just my example, but you can add more buttons if you need them for other things. 🤫 Kamus 1 Link to comment Share on other sites More sharing options...
Arufonsu Posted July 28, 2021 Share Posted July 28, 2021 This one is gonna be super useful for social media linking, wikis, and such ! Â thanks for this contribution Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now