Penelopeep / ToggleConstellation

Rewrite of old SetConstellation Plugin, allows for turning individual constellation on/off

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ToggleConstellation plugin

Allows you to toggle constellation with simple command

SetConstellation.demo.mp4

Note: demo uses old command but functionality is still the same

Usage:

/toggleconstellation, /tc, /togcons or /togglecons [constellation number 1-6]
Alternatively you can use /tc all to add every available constellation

FAQ:

  1. How to install plugin?
    • Add the newest jar file from here, and put it in GrasscutterFolder/Plugins (make one if you don't have)
  2. My C0 character stays at C0 after /tc!!!
    • It's weird bug which occurs on characters that never unlocked that/any constellation. If you read carefully plugin says:

      Successfully deactivated C{number}, but some constellations may require relog

      Just use /tc 2nd time.

  3. I found a bug, where to report it?
  4. Your error handling sucks
    • You're right, if you know how to make proper error handling then make pull request or dm me on discord Penelopeep#7963

Credits:

  • Grasscutter team for making PluginTemplate and Grasscutter itself
  • Me for everything else
  • hartie95#8966 for VersionSupportHelper (which is now deleted btw)
  • juuyokka .#9097 for letting me know that I'm dumb, and I could use getTalents() in first place
  • Lurius#2569 for fixing all function

Plugin made for 1.4.1 version of Grasscutter

About

Rewrite of old SetConstellation Plugin, allows for turning individual constellation on/off


Languages

Language:Java 100.0%