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(
|
||||
val prefix: String = "$",
|
||||
val prefix: String = "!",
|
||||
val enable: Boolean = true
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
||||
)
|
||||
)
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue