跳到正文

Team Stages

作者:SCsupercraft

Team Stages is an addon for Game Stages, allowing stages to be given to both players and teams.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

About Team Stages

Team Stages is an addon for Game Stages, allowing stages to be given to both players and teams.

Team Stages adds a new command, /teamstage, which can be used to give stages to and remove stages from the specified player or team. The Game Stages API and the /gamestage command by default only affects the player’s team but this can be changed in the config to affect just the player or both the player and the team.


FTB Quests Integration

Team Stages integrates with FTB Quests adding one new task and reward.

Stage Task

The stage task has 2 settings, stage, and effect.

Stage is the stage you want to check for.

Effect is one of three options and changes whose stages are being checked. Allowed options: player, team, or both. If set to both either the player or the team has to have the stage.

Stage Reward

The stage reward has 3 settings, stage, effect, and remove.

Stage is the stage you want to grant or remove.

Effect is one of three options and changes who stages are granted to or removed from. Allowed options: player, team, or both.

Remove determines whether stages will be granted or removed, with true removing a stage.


Team Stages API

Getting Started

To start using the Team Stages API in your mod add the following to your build script (build.gradle):

Repositories

repositories {
    maven {
        url "https://maven.scsupercraft.dev"
    }
}

Dependencies

dependencies {
    implementation fg.deobf("dev.scsupercraft.teamstages:teamstages-${minecraft_version}:${teamstages_version}")
}

Choose a Version

For a list of available versions, see CurseForge.

In your gradle.properties file add the following:

teamstages_version = 1.2.0

Using the API

The TeamStageHelper class contains all the APIs you’ll need.

It has two static methods called player and team, which you call to get either the player stage helper or the team stage helper.

These helpers send events and sync data for you, so you don’t have to.

常见问题

Team Stages 支持哪些 Minecraft 版本?

Team Stages 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。

Team Stages 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

SCsupercraft 的其他作品

查看全部 →