Question How can I register a command in plugin that use paper-plugin.yml

yap241986

New member
May 20, 2023
6
0
1
How can i register a command if i use paper-plugin.yml instead of plugin.yml?
I Searched i've found only person that say "you have to register them yourself"
 

electronicboy

Administrator
Staff member
Dec 11, 2021
226
10
38
28
Basically, either you get the CommandMap (From the Bukkit/Server class) and use the register methods there, or, enjoy it being 2023 and use a command framework such as the cloud command framework
 
  • Like
Reactions: yap241986