feat(game): add a chat command system with /help, /pos, /testbattle and /catch (#125)

This commit is contained in:
Fiereu authored and GitHub committed 2026-08-09 09:11:19 +02:00
1 parent abce0d6eb4
commit 70c746fdc6
24 files changed
+662 -142

No files matched your search

@@ -0,0 +1,8 @@
package de.fiereu.openmmo.common
object CharacterPermissions {
// The codec sends only the low byte, so bits above 0xFF never reach the client.
const val DEVELOPER = 0x100
}
fun CharacterInfo.hasPermission(permission: Int): Boolean = permissions and permission == permission