12/28/2023 0 Comments Runelight duels plugin![]() Choose Compare across forks and select your fork and branch as head and compare. Then go back to the plugin-hub and click New pull request in the upper left. This is the only change you need to make, so commit your changes and push them to your fork. ![]() Create a new file in the plugin-hub/plugins directory with the fields:Ĭommit=9db374fc205c5aae1f99bd5fd127266076f40ec8.Make sure you check the button to directly commit to the master branch. Commit your changes by clicking Commit changes at the bottom of the page.Fill in your details and press Review and submit. Select BSD 2-Clause "Simplified" License from the list to the left.In the file name field type LICENSE and click the Choose a license template button that will appear.Go to your repository on GitHub and select Add file (next to the green Code button), and choose Create new file from the drop-down.Commit your changes and push them to your repository. Write a nice README so your users can see the features of your plugin. Place a file with the name icon.png no larger than 48x72 px at the root of the repository. Optionally, you can add an icon to be displayed alongside with your plugin. If you want to add multiple plugin files, the plugins field allows for comma separated values, but this is not usually needed. tags will make it easier to find your plugin when searching for related words. Move the generated folder to its own git repository and open the adle file in IntelliJ.Įdit runelite-plugin.properties with tags. It will ask you a series of questions, and then generate a folder with the name of your plugin. ![]() Open the runelite-plugin.properties file and add info to each row. Go to your plugin file and set its name in the PluginDescriptor, this can have spaces. Use the same tool, Refactor > Rename, to rename ExamplePlugin, ExampleConfig and ExamplePluginTest to HelmetCheckPlugin etc. I choose to rename it to com.helmetcheck. Rightclick the package in the sidebar and choose Refactor > Rename. Use the refactor tool to rename the package to what you want your plugin to be. ![]() The test requires -ea to be added to your VM options to enable assertions, which can be found in IntellIJ in Run/Debug Configurations under Modify options, Add VM options, and then adding -ea into the input field which appears. In order to make sure everything works correctly, try to start the client with your external plugin enabled by running the test. Paste the link you just copied in the URL field and where you want to save it in the second field. Open IntelliJ and choose Get from Version Control. In the top right, you will see a Clone or download-button. Make sure that your repository is set to public. Name your repository something appropriate, in my case I will name it helmet-check with the description You should always wear a helmet. Generate your own repository with this link. This requires you to have python3 installed There are two methods to create an external plugin, you can either:Ĭlone this repository and run the create_new_plugin.py script. IntelliJ install Java (select Eclipse Temurin) or download it from. We recommend IntelliJ Idea Community Edition as well as Java 11. Provided "as is" we make no guarantees about any plugin in this repo. Plugins that are not supported by the RuneLite Developers. This repository contains markers for RuneLite
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |