Files
apollo/game/plugin/cmd/src/bank-cmd.plugin.kts
T
2017-09-24 22:35:07 +01:00

5 lines
211 B
Kotlin

import org.apollo.game.model.entity.setting.PrivilegeLevel
// Opens the player's bank if they are an administrator.
on_command("bank", PrivilegeLevel.ADMINISTRATOR)
.then { player -> player.openBank() }