Class MainCategory.serverProtection.ModActions

java.lang.Object
br.net.fabiozumbi12.RedProtect.Core.config.Category.MainCategory.serverProtection.ModActions
Enclosing class:
MainCategory.serverProtection

@ConfigSerializable public static class MainCategory.serverProtection.ModActions extends Object
  • Field Details

    • name

      @Setting public String name
    • modId

      @Setting(value="mod-id", comment="MOD id must be as \"modid:modid\" format to listen for in/outcoming packets.") public List<String> modId
    • block

      @Setting(comment="Block this mod on server?") public boolean block
    • action

      @Setting(comment="Use {p} for player name and {mod} for mod name.\nLeave blank to don\'t execute commands.") public String action
    • bytes

      @Setting(comment="Byte array (as string) relative to the mod you is blocking, to send via packet to client") public List<String> bytes
    • validateChannel

      @Setting(value="validate-channel", comment="Check packet channel id?") public boolean validateChannel
    • registerPacket

      @Setting(value="register-packet", comment="Register in/outcoming packets? Modid must be in the format \"modid:modid\".") public boolean registerPacket
  • Constructor Details

    • ModActions

      public ModActions()
    • ModActions

      public ModActions(String _name, List<String> id, boolean _block, String _action, List<String> _bytes, boolean _validateChannel, boolean _registerPacket)