Skip to content
This repository was archived by the owner on Jan 23, 2024. It is now read-only.

Latest commit

 

History

History
41 lines (31 loc) · 1.43 KB

File metadata and controls

41 lines (31 loc) · 1.43 KB

Hectus BlockBattles

This is not affiliated with Austin's Block Battles in any way.

Important Note!

You will have to use gradle shadowJar instead of gradle build to build the structure from now on!

Developing

Important

  • Use correct spacing:
    public class TextClass() {
      public static void test(Stuff stuff) {
          if (stuff) {
              // Do stuff
          } else {
              // Do other stuff
          }
      }
    }
  • Please don't check if the command was executed from the console. There is only one person using the console, that's me, and I know how to use the commands, so stop doing these unnecessary checks.
  • Please don't check if the command executor has op, you can just use permissions in the plugin.yml file.
  • If IntelliJ wants you to do a null check, then just do it.
  • Adding comments in unreadable code won't kill you. (or just make readable code)
  • The database doesn't require anything special, except the connect() and disconnect() in the startup logic and shutdown logic.
  • Please use TODOs in your code, just do // TODO: ...

Dependencies

If you add Dependencies, please add a comment what the dependency does, if it's not commonly used.

Committing

If you make any changes or add things, then please use the schema:

Title: Short and should contain the biggest feature that you added.
Description: A list with most of the features that you added and/or changed.