updated defaults, added whoami
This commit is contained in:
parent
3de56755be
commit
10ac3bf92b
|
@ -19,7 +19,7 @@ abstract class BaseConfig(rootDir: File) {
|
||||||
|
|
||||||
|
|
||||||
data class CommandOptions(
|
data class CommandOptions(
|
||||||
val prefix: String = "$",
|
val prefix: String = "!",
|
||||||
val enable: Boolean = true
|
val enable: Boolean = true
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,8 @@ object CommandConfig {
|
||||||
type = CommandType.EXECUTE,
|
type = CommandType.EXECUTE,
|
||||||
execute = "forge tps",
|
execute = "forge tps",
|
||||||
help = "Print server tps",
|
help = "Print server tps",
|
||||||
allowArgs = false
|
allowArgs = false,
|
||||||
|
timeout = 200
|
||||||
),
|
),
|
||||||
"list" to CustomCommand(
|
"list" to CustomCommand(
|
||||||
type = CommandType.EXECUTE,
|
type = CommandType.EXECUTE,
|
||||||
|
@ -41,6 +42,13 @@ object CommandConfig {
|
||||||
response = "{uptime}",
|
response = "{uptime}",
|
||||||
help = "Print server uptime",
|
help = "Print server uptime",
|
||||||
allowArgs = false
|
allowArgs = false
|
||||||
|
),
|
||||||
|
"whoami" to CustomCommand(
|
||||||
|
type = CommandType.RESPONSE,
|
||||||
|
response = "server: `{server}` userid: `{userid}` user: `{user}`",
|
||||||
|
help = "Print debug user data",
|
||||||
|
allowArgs = false,
|
||||||
|
timeout = 200
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
mod_name = MatterLink
|
mod_name = MatterLink
|
||||||
mod_version = 1.5.5
|
mod_version = 1.5.6
|
||||||
forgelin_version = 1.6.0
|
forgelin_version = 1.6.0
|
||||||
curse_id = 287323
|
curse_id = 287323
|
||||||
curse_release_type = beta
|
curse_release_type = beta
|
Loading…
Reference in New Issue