Skip to content
Rapid scripting and command aliasees for Minecraft owners
Java MAXScript CSS JavaScript HTML C# Other
Branch: master
Clone or download
LadyCailin Continue work on the language server.
The basic RequestMessage framework is complete, and we succesfully read
in most of the initialize method parameters. It's quite a large method
though, and converting the typescript to java is tedious, so there is
still more work to be done before the request itself is finished, but
the framework is complete and works well, so it's just a matter of
finishing the conversion. After that, I need to work on the framework to
handle responses, and that's the next big task.
Latest commit 642834d Aug 24, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
WindowsLauncher Dev Drop Jul 23, 2018
src Continue work on the language server. Aug 24, 2019
.gitattributes Add cmdline support for Windows. Jun 24, 2019
.gitignore Add exceedingly basic support for annotations. They do nothing yet. Mar 1, 2019
.travis.yml
CONTRIBUTING.txt Update contribution guidelines Mar 1, 2018
LICENSE.txt Update LICENSE.txt Jan 25, 2019
README.md Fix TC build status badge Jul 31, 2019
SPECIAL_LICENSE.txt Update SPECIAL_LICENSE.txt Nov 3, 2016
azure-pipelines.yml Update azure-pipelines.yml Jul 2, 2019
checkstyle.xml Ignore Metrics in checkstyle Jul 23, 2018
checkstyle_suppressions.xml Begin the basic structure of the LanguageServer Aug 22, 2019
dependency-reduced-pom.xml Re-format code with correct spaces in control keywords Mar 5, 2018
nb-configuration.xml Normalize all the line endings Apr 1, 2018
pom.properties Clean up DataSource classes Feb 1, 2019
pom.xml Continue work on localization UI Aug 6, 2019
pom.xml.releaseBackup Documentation updates Jan 27, 2016
release.properties Documentation updates Jan 27, 2016
update_public_suffix_list.ms Update public-suffix data Jan 22, 2019

README.md

CommandHelper

Service Badge
TeamCity TC Build Status
Azure Azure Build Status
Snyk.io Known Vulnerabilities
Discord Discord
Code Size Code Size
Stars Stars
Website Website
Contributors Contributors
Last Commit Last Commit

CommandHelper adds simple command aliases, complex macros, and the ability to script your own commands and events into Minecraft, using the MethodScript scripting language.

Compiling

You need to have Maven installed (http://maven.apache.org). Once installed, simply run:

mvn clean package install

Maven will automatically download dependencies for you. Note: For that to work, be sure to add Maven to your "PATH". If you get a message about tests failing, try running:

mvn -Pprovisional-build clean package install

Contributing

We happily accept contributions. The best way to do this is to fork CommandHelper on GitHub, add your changes, and then submit a pull request. We'll look at it, make comments, and merge it into CommandHelper if everything works out. If you make a PR, and feel your code is being nitpicked to death, don't worry! Whenever a code review is done, it tends to find lots of minor errors, even in a very experienced programmer. Don't get discouraged! We'll work with you to make the changes, and all contributions are appreciated. If the feature you want to add makes a significant change, however, it may be best to discuss the changes with the other contributors before you begin work on the feature.

By submitting code, you agree to dual license your code under the the MIT License and GPL, barring the special restriction regarding code submissions, explained in the SPECIAL_LICENSE.txt file, which is attached.

For details about code formatting standards, and other basic information for contributors, please see the CONTRIBUTING.txt file.

Portions of CommandHelper are copyright by various contributors.

This project uses BrowserStack (https://www.browserstack.com) for testing the website.

Installing

There are two modes of installation, both first require obtaining the MethodScript jar. You can build it yourself, or download the official builds from here.

Minecraft: Installation in Minecraft is simple. Simply drop the jar in the plugins folder.

Standalone Programming: MethodScript is a fledgling general purpose programming language, and can be used from the command line, much like python, node, or other programming languages. To install, place the jar file in whatever location you like, (noting that it will create a folder at the same level which contains the configuration files, so it's probably easiest to put this in your user directory), then run java -jar MethodScript.jar install-cmdline as root/Administrator. This will install the mscript program and add it to your path, which can be used to start a REPL shell for quick tasks, execute a script file, or easily run the commandline tools. On Windows, this also installs a PowerShell module, which can be used with Import-Module -Name MethodScript and Invoke-MethodScript. On Windows, you must reboot your system after installatation to use the mscript command in cmd.exe. You can install MethodScript using the same jar that is used in the Minecraft server, though two different environments are used, with separate folders for the CommandHelper installation, and the MethodScript installation. You can symlink these folders together if you wish your configuration to be the same for both environments.

Commandline Tools: Various command line tools are available for use, and are useful both for those that use the jar as a plugin, or as a general purpose language. Run java -jar MethodScript.jar help for a list of these tools, or if you have installed the commandline version, you can use mscript -- help on unix, or mscript -Tool help on Windows.

You can’t perform that action at this time.