Skip to content

Commit

Permalink
add /townserver
Browse files Browse the repository at this point in the history
  • Loading branch information
acrylic-style committed Jul 18, 2024
1 parent 77a1b50 commit e2d1a70
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ plugins {
}

group = "net.azisaba"
version = "6.12.2"
version = "6.12.3"

java {
toolchain.languageVersion.set(JavaLanguageVersion.of(8))
Expand Down
1 change: 1 addition & 0 deletions src/main/java/com/github/mori01231/lifecore/LifeCore.kt
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ class LifeCore : JavaPlugin() {
registerCommand("life", TransferCommand(this, "life"))
registerCommand("resource", TransferCommand(this, "liferesource"))
registerCommand("event", TransferCommand(this, "lifeevent"))
registerCommand("townserver", TransferCommand(this, "lifetown"))
registerCommand("rank", RankCommand(this))
registerCommand("trash", TrashCommand())
registerCommand("kiai", KiaiCommand())
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ commands:
description: Teleport to LifeEvent server.
permission: lifecore.event
usage: Syntax error! Simply type /event to teleport to LifeEvent server.
townserver:
description: Teleport to life town server.
permission: lifecore.townserver
aliases: [towns]
rank:
description: Show rank.
permission: lifecore.rank
Expand Down Expand Up @@ -242,6 +246,8 @@ permissions:
lifecore.event:
description: Allows you to go to event server.
default: true
lifecore.townserver:
default: true
lifecore.rank:
description: Allows you to show your rank.
default: false
Expand Down

0 comments on commit e2d1a70

Please sign in to comment.