diff --git a/core/src/main/kotlin/matterlink/config/BaseConfig.kt b/core/src/main/kotlin/matterlink/config/BaseConfig.kt index f9cb881..1e7b50f 100644 --- a/core/src/main/kotlin/matterlink/config/BaseConfig.kt +++ b/core/src/main/kotlin/matterlink/config/BaseConfig.kt @@ -19,7 +19,7 @@ abstract class BaseConfig(rootDir: File) { data class CommandOptions( - val prefix: String = "$", + val prefix: String = "!", val enable: Boolean = true ) diff --git a/core/src/main/kotlin/matterlink/config/CommandConfig.kt b/core/src/main/kotlin/matterlink/config/CommandConfig.kt index 59a0158..c0d1237 100644 --- a/core/src/main/kotlin/matterlink/config/CommandConfig.kt +++ b/core/src/main/kotlin/matterlink/config/CommandConfig.kt @@ -21,7 +21,8 @@ object CommandConfig { type = CommandType.EXECUTE, execute = "forge tps", help = "Print server tps", - allowArgs = false + allowArgs = false, + timeout = 200 ), "list" to CustomCommand( type = CommandType.EXECUTE, @@ -41,6 +42,13 @@ object CommandConfig { response = "{uptime}", help = "Print server uptime", allowArgs = false + ), + "whoami" to CustomCommand( + type = CommandType.RESPONSE, + response = "server: `{server}` userid: `{userid}` user: `{user}`", + help = "Print debug user data", + allowArgs = false, + timeout = 200 ) ) diff --git a/gradle.properties b/gradle.properties index 6c4a0f0..c3601cd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,5 +1,5 @@ mod_name = MatterLink -mod_version = 1.5.5 +mod_version = 1.5.6 forgelin_version = 1.6.0 curse_id = 287323 curse_release_type = beta \ No newline at end of file