Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 1.19 KB

CONTRIBUTING.md

File metadata and controls

20 lines (15 loc) · 1.19 KB

Contributing

Code Quality Standards

The standards below are a direct extension to the Java and Kotlin Coding Conventions, and should also be followed during development.

  • Files should be written in Kotlin, excluding mixins and some configs.
  • Use and build upon the Vice Events System.
  • Use DevUtils for error logging and debugging.
  • When possible, avoid using Kotlin's !! feature, in favour of ?:
  • Avoid using Wildcard Imports (especially within Vice.kt)
    • This can be automatically disabled in IntelliJ by entering Settings > Editor > Code Style > Kotlin > Indents and selecting 'Use single name import' for each.

Tips

External Tools

DevAuth

DevAuth enables the ability to log in to Minecraft Accounts using the IntelliJ client. This prevents the need to create jar files, and instead launch directly from your IDE.

Follow this guide from SkyHanni to learn how to set it up.