Penelopeep / SwitchElementTraveller

A simple GC plugin made with PluginTemplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looking for help:

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

  • ro-RO

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 multi-language support.

Installation

Download the newest release from releases pages
Or download and extract jar file from zip in the newest package (may include functions not available in release package) from actions
Place jar file inside GrasscutterFolder/Plugins
Restart server if it's running already

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

Credits:

  • hartie95#8966 for amazing help with rewriting code

  • RomanF#0609 for Russian translation

  • tingtong#5633 and millet6 for Chinese translation.

  • Julienraptor01 for correcting French translation.

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

  • Dark master#9831 for Arabic translation.

  • RBNXI for Spanish translation.

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

  • seria#5334 for Traditional Chinese translation.

  • Yuuki for a better way of applying new element

  • Original pr: Grasscutters/Grasscutter#1287

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

About

A simple GC plugin made with PluginTemplate


Languages

Language:Java 100.0%