Klasse CommonConfig

java.lang.Object
de.mrjulsen.dragnsounds.config.CommonConfig

public class CommonConfig extends Object
  • Felddetails

    • BUILDER

      public static final net.minecraftforge.common.ForgeConfigSpec.Builder BUILDER
    • SPEC

      public static final net.minecraftforge.common.ForgeConfigSpec SPEC
    • ADVANCED_LOGGING

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Boolean> ADVANCED_LOGGING
    • USE_SOUND_COMMAND_PERMISSION

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Integer> USE_SOUND_COMMAND_PERMISSION
    • MANAGE_SOUND_COMMAND_PERMISSION

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Integer> MANAGE_SOUND_COMMAND_PERMISSION
    • AUTO_CLEANUP

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Boolean> AUTO_CLEANUP
    • MAX_FILES_PER_USER

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Integer> MAX_FILES_PER_USER
    • MAX_FILE_STORAGE_SPACE

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Long> MAX_FILE_STORAGE_SPACE
    • MAX_FILE_SIZE

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Long> MAX_FILE_SIZE
    • MAX_AUDIO_DURATION

      public static final net.minecraftforge.common.ForgeConfigSpec.ConfigValue<Long> MAX_AUDIO_DURATION
    • MAX_FILE_SIZE_BYTES

      public static final int MAX_FILE_SIZE_BYTES
      Siehe auch:
  • Konstruktordetails

    • CommonConfig

      public CommonConfig()
  • Methodendetails

    • checkFilePermissions

      public static de.mrjulsen.mcdragonlib.data.StatusResult checkFilePermissions(int fileSize, net.minecraft.server.level.ServerPlayer player)
    • checkAudioPermissions

      public static de.mrjulsen.mcdragonlib.data.StatusResult checkAudioPermissions(SoundFile file, UUID player)