/SwitchElementTraveller

A simple GC plugin made with PluginTemplate

Primary LanguageJava

If you have error like this below with plugin then use this version without constellation picker and use /setconst to set constellations.

unknown

For cultivation users:

Currently resources are broken and you can't download the newest version of Grasscutter resources. Because of that dendro traveller won't work (it changes, but skill and normal attacks won't work). For that here's guide how to fix it:

  • Use win+r and paste this: %appdata%\cultivation\grasscutter\resources\BinOutput\AbilityGroup\AbilityGroup_Other_PlayerElementAbility.json

(for non-windows server look into grasscutter folder\resources\BinOutput\AbilityGroup\ for AbilityGroup_Other_PlayerElementAbility.json file)

If you have any question then dm me: Penelopeep#7963

Looking for help:

Since with the newest update I added multi-language support now I need translators for missing languages:

  • ro-RO
  • zh-TW

The task is simple, I just need you to translate 6 lines of text
The file to translate is this and translated one send me on discord Penelopeep#7963, or make pull request if you want ¯\(ツ)
You'll be included in this readme
Also, I updated one command and translated it with Google Translator, let me know if it's bad.

SwitchElement

Simple, mostly stolen script from one of pr in official gc, which allows to quickly change traveller element.
I just changed it to plugin and added multilanguage support.

Credits:

  • hartie95#8966 for amazing help with rewriting code

  • RomanF#0609 for Russian translation

  • tingtong#5633 and millet6 for Chinese translation

  • Praë#0009 for French translations, help with traveller constellation and for being awesome!

  • Dark master#9831 for Arabic translations

  • RBNXI for Spanish translation

  • 924-YE and 2211010617 for motivating me to finally making constellation picker

  • Original pr: Grasscutters/Grasscutter#1287

Usage

Use /se {element} or /switchelement {element} <constellation number[0-6]>
Elements: white/anemo/geo/electro/dendro
white = no element
Also you can use alternative names:

  • Anemo: Air, Wind
  • Cryo: Ice
  • Dendro: Grass, Plant
  • Geo: Rock
  • Hydro: Water
  • Pyro: Fire
  • White: Common

Building

I don't know why would you want to build it but:

  1. Clone project with git clone https://github.com/Penelopeep/SwitchElementTraveller.git
  2. Download maven from apache website
  3. Open command prompt/powershell in your project folder (Sorry Linux and MacOS users, you'll need to find your own way for this)
  4. Run mvn package
  5. Now jar file should be in new target folder

Version

The plugin is based on plugin template from Grasscutters GitHub.

Also this code is ugly, don't look, it's my first time trying things is java

If you have any question then dm me: Penelopeep#7963