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 alyphen closed 1 year ago

alyphen commented 1 year 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.