Search in sources :

Example 1 with LanternBanType

use of org.lanternpowered.server.config.user.ban.LanternBanType in project LanternServer by LanternPowered.

the class BanTypeRegistryModule method registerDefaults.

@EarlyRegistration
@Override
public void registerDefaults() {
    register(new LanternBanType("profile", Ban.Profile.class));
    register(new LanternBanType("ip", Ban.Ip.class));
}
Also used : LanternBanType(org.lanternpowered.server.config.user.ban.LanternBanType) EarlyRegistration(org.lanternpowered.server.game.registry.EarlyRegistration)

Aggregations

LanternBanType (org.lanternpowered.server.config.user.ban.LanternBanType)1 EarlyRegistration (org.lanternpowered.server.game.registry.EarlyRegistration)1