updated defaults, added whoami

This commit is contained in:
nikky 2018-05-07 08:51:43 +02:00
parent 3de56755be
commit 10ac3bf92b
3 changed files with 11 additions and 3 deletions

View File

@ -19,7 +19,7 @@ abstract class BaseConfig(rootDir: File) {
data class CommandOptions(
val prefix: String = "$",
val prefix: String = "!",
val enable: Boolean = true
)

View File

@ -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
)
)

View File

@ -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