Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 575 Bytes

README.md

File metadata and controls

20 lines (15 loc) · 575 Bytes

🥾 Lite-AntiLegs

Plugin "Anty-nogi" na serwer minecraft spigot.

Download [link]

Przykładowe użycie API

LiteAntiLegs liteAntiLegs = LiteAntiLegs.getInstance();
AntiLegsManager manager = liteAntiLegs.getAntiLegsManager();

manager.getAntiLegs("standard").peek(standardAntiLegs -> {
    standardAntiLegs.setDistance(40);
    standardAntiLegs.setCooldown(5);

    ItemStack item = standardAntiLegs.getItem().build();
    // [ ... ]
});

manager.registerAntiLeg(new YourCustomAntiLegs());