RP-Kit / RPKit

RPKit plugin suite
Apache License 2.0
21 stars 12 forks source link

Use reflection to add chat commands to command map #623

Closed renbinden closed 1 year ago

renbinden commented 2 years ago

Chat should add commands directly to the command map via reflection instead of using the PlayerCommandPreProcessEvent. This allows players to see the commands in autocomplete so they are aware of their presence.

Players have tried to write the command and given it doesn't autocomplete, assumed it didn't exist.