Simplex Help

Create check

When creating a check, extend ac.simplex.checks.api.Check. Your development environment should prompt you to implement the abstract method check and highlight the error. Implement it. Then, add the annotation at the beginning of the class to store the parameters name and description. Note that the description will be translated to the target language upon loading. Therefore, it should not contain spaces. You must create the translation in the resources at the path languages/en.properties.

Example check:

package ac.simplex.example; import ac.simplex.checks.api.Check; import ac.simplex.checks.api.annotations.CheckInfo; import ac.simplex.events.internal.EventContext; import ac.simplex.events.internal.list.MouseEvent; @CheckInfo(name = "ExampleCheck", description = "checks.example") public class ExampleCheck extends Check { @Override public void check(EventContext<?> eventContext) { if (eventContext.event() instanceof MouseEvent) System.out.println(eventContext.player().getDeltaRotation()); } }

Example translation:

# =============================== # Checks # =============================== # Example checks.example=Example check

After completing all the steps above, create a file at the path /resources/META-INF/services/ac.simplex.checks.api.Check and write the full path to your check in it: ac.simplex.example.ExampleCheck

19 September 2025