An anime game server file backup

jie65535 d340758614 Fix cannot stop in dispatch-only mode (#2534) 4 天之前
.github f1f5b54939 (fix:docker) Fix uploading to container registry 8 月之前
buildSrc 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
docs 76fd5b2e9c Update README_ja-JP.md (#2516) 5 月之前
gradle 944bfb76f3 Update gradle wrapper (closes #1076) 2 年之前
lib 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
scripts 0f0e7aca68 use pretty_host in domain filtering (#2382) 1 年之前
src d340758614 Fix cannot stop in dispatch-only mode (#2534) 4 天之前
.editorconfig 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
.gitattributes 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
.gitignore f871f261e1 Add Docker Support (#2486) 8 月之前
.gitmodules 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
CODE_OF_CONDUCT.md 4c7051bb6a Update CODE_OF_CONDUCT.md 2 年之前
CONTRIBUTING.md 767e598bea Update banners (closes #1760) 2 年之前
Dockerfile f871f261e1 Add Docker Support (#2486) 8 月之前
LICENSE 3c20f2b032 Change LICENSE to GNU Affero 2 年之前
README.md eeaccf32c4 add some client download link and fix readme (#2475) 8 月之前
build.gradle 5ebad71e9d Bump to version `1.7.4` 11 月之前
entrypoint.sh f871f261e1 Add Docker Support (#2486) 8 月之前
gradle.properties 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
gradlew 944bfb76f3 Update gradle wrapper (closes #1076) 2 年之前
gradlew.bat 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
keystore.p12 b98860c480 Update the keystore 2 年之前
plugin-schema.json 9e5b57a043 Merge `unstable` into `development` (#2173) 1 年之前
settings.gradle 7925d1cda3 Initial commit 2 年之前
start.cmd 269f7b4fbf Fix typo in start.cmd (#2415) 1 年之前
start_config.cmd 39526cf090 fix java search in start.cmd 2 年之前

README.md

Grasscutter

Documentation GitHub release (latest by date) GitHub GitHub last commit GitHub Workflow Status

Discord - Grasscutter

EN | 简中 | 繁中 | FR | ES | HE | RU | PL | ID | KR | FIL/PH | NL | JP | IT | VI

Attention: We always welcome contributors to the project. Before adding your contribution, please carefully read our Code of Conduct.

Current features

  • Logging in
  • Combat
  • Friends list
  • Teleportation
  • Gacha system
  • Co-op partially works
  • Spawning monsters via console
  • Inventory features (receiving items/characters, upgrading items/characters, etc)

Quick setup guide

Note: For support please join our Discord.

Quick Start (automatic)

  • Get Java 17
  • Get MongoDB Community Server
  • Get game version REL4.0.x (If you don't have a 4.0.x client, you can find it here and open any of the links to download it): 4.0.x Client-github 4.0.x Client-cloud drive

  • Download the latest Cultivation version. Use the .msi installer.

  • After opening Cultivation (as admin), press the download button in the upper right corner.

  • Click Download All-in-One

  • Click the gear in the upper right corner

  • Set the game Install path to where your game is located.

  • Set the Custom Java Path to C:\Program Files\Java\jdk-17\bin\java.exe

  • Leave all other settings on default

  • Click the small button next to launch.

  • Click the launch button.

  • Log in with whatever username you want. Password can be anything.

Building

Grasscutter uses Gradle to handle dependencies & building.

Requirements:

Clone
git clone --recurse-submodules https://github.com/Grasscutters/Grasscutter.git
cd Grasscutter
Compile

Note: Handbook generation may fail on some systems. To disable the handbook generation, append -PskipHandbook=1 to the gradlew jar command.

Windows:

.\gradlew.bat # Setting up environments
.\gradlew jar

Linux (GNU):

chmod +x gradlew
./gradlew jar
Compiling the Handbook (Manually)

With Gradle:

./gradlew generateHandbook

With NPM:

cd src/handbook
npm install
npm run build

You can find the output jar in the root of the project folder.

Troubleshooting

For a list of common issues and solutions and to ask for help, please join our Discord server and go to the support channel.