Skip to content

LiteDevelopers/Lite-AntiLegs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🥾 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());