kami-blue/README.md

117 lines
4.9 KiB
Markdown
Raw Normal View History

2018-07-21 18:52:29 +00:00
# KAMI
2018-10-28 21:25:37 +00:00
[![Build Status](https://travis-ci.com/zeroeightysix/KAMI.svg?branch=master)](https://travis-ci.com/zeroeightysix/KAMI)
2019-08-07 19:50:58 +00:00
[![Maintainability](https://api.codeclimate.com/v1/badges/81228111eb82b7ca391e/maintainability)](https://codeclimate.com/github/zeroeightysix/KAMI/maintainability)
2018-10-03 06:37:13 +00:00
[![Issues](https://img.shields.io/github/issues/zeroeightysix/kami.svg)](https://github.com/zeroeightysix/kami/issues)
2018-10-02 18:59:32 +00:00
[![Discord](https://img.shields.io/badge/chat-on%20discord-brightgreen.svg)](http://discord.gg/9hvwgeg)
2018-08-12 00:41:53 +00:00
2018-08-23 00:48:40 +00:00
A minecraft utility mod for anarchy servers.
2018-07-21 18:52:29 +00:00
2019-08-07 18:35:06 +00:00
<<<<<<< HEAD
2019-10-16 16:59:17 +00:00
Development has slowed down considerably. KAMI will likely no longer be updated. Pull requests are still welcome.
2019-08-07 18:35:06 +00:00
=======
See [forgehax](https://github.com/fr1kin/forgehax) for a more polished equivalent. Some features in KAMI may be based on those of forgehax, as I sometimes used it as reference.
2019-08-07 18:35:06 +00:00
Please note Baritone is no longer included. Download the standalone jar [from here](https://github.com/cabaletta/baritone/releases).
2019-08-07 18:35:06 +00:00
This is by no means a finished project and is still in rapid development.
>>>>>>> 1bfff16... Add section about baritone to intro
2018-07-21 20:00:15 +00:00
2018-12-16 18:53:27 +00:00
## Preview
<details>
<summary>Click to view images</summary>
![GUI](.github/IMAGES/gui.png)
![CrystalAura](.github/IMAGES/crystalAura.png)
</details>
## Installing
KAMI is a forge mod. Start by downloading the latest version of [1.12.2 forge](https://files.minecraftforge.net/).
1. Install forge
2. Navigate to your `.minecraft` directory.
* **Windows**: `%appdata%/.minecraft`
* **Linux**: `~/.minecraft`
3. Navigate to the `mods` directory. If it doesn't exist, create it.
4. Obtain the KAMI `.jar` file.
2018-08-10 13:21:57 +00:00
* By **downloading** it: see [releases](../../releases)
2018-08-10 13:23:05 +00:00
* By **building** it: see [building](#building).
5. Place the `.jar` file in your mods directory.
2018-08-12 18:52:03 +00:00
## How do I
##### Open the GUI
Press Y.
##### Use commands
The default prefix is `.`. Commands are used through chat, use `.commands` for a list of commands.
##### Bind modules
Run `.bind <module> <key>`.
##### Change command prefix
2018-10-14 15:30:44 +00:00
By using the command `prefix <prefix>` or after having ran KAMI (make sure it's closed), editing your configuration file (find it using `config path` in-game) and changing the value of `commandPrefix` to change the prefix.
2018-08-12 18:52:03 +00:00
2018-07-21 21:18:45 +00:00
## Troubleshooting
2018-08-10 13:09:56 +00:00
Please reference the main [troubleshooting page](docs/TROUBLESHOOTING.md)
2018-08-10 13:07:49 +00:00
If you experience an issue and it's not listed there, please [open a new issue](../../issues/new) and a contributor will help you further.
2018-07-21 21:18:45 +00:00
2018-07-21 20:00:15 +00:00
## Contributing
You are free to clone, modify KAMI and make pull requests as you wish. To set up your development environment, make use of the following commands:
```
git clone https://github.com/zeroeightysix/KAMI/
cd KAMI
```
2018-10-03 06:41:36 +00:00
On GNU/Linux, run `chmod +x gradlew` and for the following commands use `./gradlew` instead of `gradlew.bat`
2018-10-03 09:10:23 +00:00
Of-course you can also use a Gradle installation if you for some reason want another version of gradle
2018-07-21 20:00:15 +00:00
```
2018-08-10 13:06:45 +00:00
gradlew.bat setupDecompWorkspace
2018-07-21 20:00:15 +00:00
```
2018-08-10 13:16:03 +00:00
Import KAMI into your IDE of choice. If you use IntelliJ, import from the `build.gradle` file and run `gradlew.bat genIntellijRuns`
2018-07-21 20:00:15 +00:00
2018-08-10 13:06:45 +00:00
If you do not wish to run from an IDE, use `gradlew.bat runClient` to run KAMI.
2018-07-21 20:00:15 +00:00
2018-07-21 21:18:45 +00:00
### Building
#### Windows
2019-08-07 17:35:49 +00:00
You can build by running these commands (without these <>) in a terminal with the current directory being KAMI. (EG. `cd C:\Users\Username\Downloads\KAMI`)
2018-07-21 20:00:15 +00:00
```
2019-08-07 17:35:49 +00:00
gradlew.bat <args>
2018-07-21 20:00:15 +00:00
```
2019-08-07 17:35:49 +00:00
Possible arguments on Windows are `build`.
To copy on windows run `autocopy.bat`
If you prefer copying it manually, find a file in `build/libs` called `KAMI-<minecraftVersion>-<kamiVersion>-**release**.jar` which you can copy to the `mods\1.12.2` folder of a minecraft instance that has forge installed.
Note: This assumes your minecraft folder is in the default location under your home folder.
#### Linux
2019-08-07 17:35:49 +00:00
You can build by running these commands (without these <>) in a terminal with the current directory being KAMI. (EG. `cd ~/Downloads/KAMI`)
```
2019-08-07 17:35:49 +00:00
./gradlew <args>
```
2019-08-07 19:50:58 +00:00
Possible arguments are `build`, `mkdir`, `rmOld` and `copy`, in that order.
2019-08-07 17:35:49 +00:00
2019-08-07 19:50:58 +00:00
Build is required, mkdir makes the mods/1.12.2 directory, rmOld removes old versions of KAMI in that directory, and copy copies the build release to the mods/1.12.2 directory.
2019-08-07 17:35:49 +00:00
If you prefer copying it manually, find a file in `build/libs` called `KAMI-<minecraftVersion>-<kamiVersion>-**release**.jar` which you can copy to the `mods/1.12.2` folder of a minecraft instance that has forge installed.
Note: This assumes your minecraft folder is in the default location under your home folder.
2018-10-10 19:32:02 +00:00
2019-08-07 17:35:49 +00:00
Note: Any argument other then `build` assumes you downloaded KAMI to a nested folder inside your home folder. For example `~/Downloads/KAMI` or `~/Documents/KAMI`
2018-10-10 19:32:02 +00:00
## Thank you
[ZeroMemes](https://github.com/ZeroMemes) for [Alpine](https://github.com/ZeroMemes/Alpine)
[ronmamo](https://github.com/ronmamo/) for [Reflections](https://github.com/ronmamo/reflections)
The [minecraft forge team](https://github.com/MinecraftForge) for [forge](https://files.minecraftforge.net/)