All versions
1.2.3
Release
[RCSSP]A Server Login Mod 1.2.33 months ago 28
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Fabric
Supported environments
Client and server
Required content
Any compatible version
Changes
- 添加 /credit 指令 ( LoginCommands.java )
- 新增 creditCommand 方法,登录后输入 /credit 即可查询当前积分
- 返回消息格式: "您现在有xxx个积分!"
- 登录消耗1积分机制 ( LoginCommands.java )
- 普通玩家登录时扣除1积分(OP玩家不受此限制)
- 如果积分不足1,则提示充值信息但仍允许登录
- 登录成功后显示扣除后的剩余积分
- 资料存储位置变更 ( DataManager.java )
- 将原来的 yrc-login/players.json 和 yrc-login/warps.json 合并为 userdata/data.json
- 新文件包含 players 和 warps 两个顶级节点
- 开服时如果 userdata 目录或 data.json 文件不存在,会自动创建
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:AiyaXQLk:VSNcpRXb"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:AiyaXQLk:VSNcpRXb"
}![[RCSSP]Yingruochu's Server Login Mod](https://cdn.modrinth.com/data/AiyaXQLk/2c2a5c3bfe147a6575b8aedb035c12a3d01a87ab_96.webp)

