Skip to content

Setup File Types

Tomm edited this page May 24, 2019 · 5 revisions

Before you begin writing your very own content, you should do a few things to help you along the way.

Create New File Types

As RS Mod uses special file types, it will be easier for you to inform IntelliJ what they are. Right-click on any folder in the project and navigate to the following:

  • New -> Edit File Templates...
  • Focus the Files tab
  • On the top left click on the + button
  • Tab with an Unnamed file type should appear
  • Set Name to RSMod Plugin
  • Set Extension to plugin.kts
  • Set the big box underneath to the following text:
#if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME}
#end
  • Hit Apply

All done! You should now have an RSMod Plugin file on the New right-click menu

Table of Contents

Clone this wiki locally