Giter VIP home page Giter VIP logo

bethesda-plugin-template's Introduction

This repository provides a standardized project structure and tooling to develop ESM, ESP and ESL plugins using plain text files. You can edit these files using a simple text editor or IDE, instead of specialized tools like xEdit.

Quickstart

To start off, click the "Use this template" button to create your own repository based on this one.

GitHub's "Use this template" button

You can now customize this newly-generated repository for your mod.

  1. Open the main source file, RecordData.yaml.
  2. Change the value of the ModKey property to your plugin name.
  3. Change the value of the Description property to your plugin description.
  4. Change the value of the Author property to your plugin author name.

Developing your mod

This project comes pre-configured for local development with VS Code. You can also use this as a reference to configure your preferred IDE.

Spriggit is used for building the output plugin files for your mod. You will need to download and unzip the latest Spriggit.CLI.zip from the Releases page.

You will also need to change some additional settings:

  1. Open the project-specific VS Code settings file, settings.json.
  2. Change the value of the tools.spriggit.path property to your Spriggit CLI path (see the Tooling section).
  3. Change the value of the tools.spriggit.compiled-plugin-name property to match your plugin name, as defined in the Quickstart section.

That's it! You are now ready to compile your mod.

  1. Open the repository in VS Code.
  2. Press Ctrl+Shift+B or navigate to Terminal > Run Build Task.
  3. Select the Build Bethesda plugin from YAML task.
  4. If everything is set up correctly, you will see a new plugin generated in the out/ directory. The plugin name will match what you configured above.
  5. If there are any problems during compilation, a window will pop up showing the output and error messages from Spriggit.

bethesda-plugin-template's People

Contributors

metacubed avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.