mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-01-24 15:13:22 +08:00
Rename troubleshoot
to info
to allow for credits placement
This commit is contained in:
parent
8cac8d13f4
commit
1bcb79840c
@ -9,10 +9,11 @@ import emu.grasscutter.tools.Tools;
|
|||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@Command(label = "troubleshoot", aliases = {"helpme"},
|
@Command(label = "info", aliases = {"info", "helpme"},
|
||||||
usage = "/troubleshoot", permission = "grasscutter.command.troubleshoot",
|
usage = "/info", targetRequirement = Command.TargetRequirement.NONE)
|
||||||
targetRequirement = Command.TargetRequirement.NONE)
|
public final class InfoCommand implements CommandHandler {
|
||||||
public final class TroubleshootCommand implements CommandHandler {
|
// This command can use the 'grasscutter.command.troubleshoot' permission to show sensitive information.
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
public void execute(Player sender, Player targetPlayer, List<String> args) {
|
||||||
// Collect server information.
|
// Collect server information.
|
||||||
@ -30,7 +31,12 @@ public final class TroubleshootCommand implements CommandHandler {
|
|||||||
|
|
||||||
// TODO: Send to remote server (Grasscutter API) and send dump link.
|
// TODO: Send to remote server (Grasscutter API) and send dump link.
|
||||||
CommandHandler.sendMessage(sender, """
|
CommandHandler.sendMessage(sender, """
|
||||||
Troubleshooting/Debug Information
|
Credits
|
||||||
|
- Slushy Team (akio, azzu, Areha11Fz, tamilp)
|
||||||
|
- Yuki (resource minifying & packaging)
|
||||||
|
- Dimbreath (dumping most resources)
|
||||||
|
|
||||||
|
Server Information
|
||||||
Revision: %s
|
Revision: %s
|
||||||
Player Count: %d
|
Player Count: %d
|
||||||
Questing Enabled: %s
|
Questing Enabled: %s
|
Loading…
Reference in New Issue
Block a user