Follow the leader
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
此仓库已存档。您可以查看文件和克隆,但不能推送或创建工单/合并请求。

2.2KB

Leadercraft

Leadercraft Gamecraft Mod. Everybody likes leaderboards, right?

Installation

First, install the Gamecraft Modding API (direct link to install guide). To install the Leadercraft mod, copy the latest release's Leadercraft.dll file into the Plugins folder in Gamecraft's main folder or follow the install guide again for Leadercraft, ignoring the part about unzipping files.

Development

Setup

This project requires most of Gamecraft's .dll files to function correctly. Most, but not all, of these files are stored in Gamecraft's Gamecraft_Data\Managed folder. The project is pre-configured to look in a folder called ref in the solution's main directory or one level up from that.

You can make sure Leadercraft can find all of .dll files it needs by copying your Gamecraft folder here and renaming it to ref, but you'll have to re-copy it after every Gamecraft update. You can also create a symbolic link (look it up) to your Gamecraft install folder named ref in this folder to avoid having to re-copy files.

For any mod to work, you will have to patch your game with GCIPA. Direct link to install guide. !!Download a release from git.exmods.org not github.com!!

This project also requires the GamecraftModdingAPI library to be installed (in ref/Plugins/GamecraftModdingAPI.dll). Direct link to install guide.

Building

After you've completed the setup, open the solution file Leadercraft.sln in your prefered C# .NET/Mono development environment. I'd recommend Visual Studio Community Edition or JetBrains Rider for Windows and Monodevelop for Linux.

If you've successfully completed setup, you should be able to build the Leadercraft project without errors. If it doesn't work and you can't figure out why, ask for help on the Gamecraft Modding Discord server.