Skip to content

Config.yml

dniym edited this page Jun 23, 2023 · 4 revisions

The configuration for IllegalStack is dynamically generated, Not ALL protections will show up in every server's config.yml. The plugin will generate the config.yml based on your servers version. For example if you are running a 1.12 minecraft server, then you will not see any protections listed that only apply to 1.13/1.14. If you change your server version the relevant values will be automatically added to config.yml

IMPORTANT

If you edit the config.yml manually with a text editor and save your changes you MUST use the following command to apply the changes: * /istack reload * if you do not use the built in reload command your changes will be lost whenever the server restarts.

We highly recommend using the built in config editor instead of the old-school way of editing config.yml directly as if you make a mistake entering values (like entering words instead of numbers for a specific protection) you might end up with a protection that does not function properly. IllegalStack will try to validate all config values when the plugin starts but the in game editor will prevent you from making a mistake in the first place.

SAMPLE CONFIGURATION FILE (mc 1.20)

Exploits:
  Enchants:
    FixIllegalEnchants: true
    RemoveUnbreakableFlag: false
    OnlyFunctionInWorlds: []
    AllowBypass: false
    RemoveCustomAttributes: false
    DestroyIllegallyEnchantedItemsInstead: false
    CustomEnchantOverride: []
    EnchantedItemWhitelist: []
  Other:
    PreventCommandsInBed: true
    PreventItemSwapLagExploit: true
    PreventBedExplosions: true
    PreventHoppersToUnloadedChunks: true
    PreventBedrockDestruction: true
    PreventNestedShulkers: true
    PreventInvalidPotions: true
    PreventEndPortalDestruction: true
    PreventRailDupe: true
    PreventMinecartsInBoats: true
  PortalDupe:
    NetherWhiteList: []
    NotifyBlockedPortalAttempts: false
    BlockNonPlayersInNetherPortal: true
    NetherWhiteListMode: true
    EndWhiteList: []
    BlockNonPlayersInEndPortal: true
    EndWhiteListMode: true
  OverStack:
    GroupStack: []
    RemoveOverstackedItems: true
    FixOverstackedItemInstead: false
    RemoveItemsOfType:
    - BEDROCK
    StackWhiteListMode: true
    AllowStack:
    - POTION
    PreventOverStackedItemInHoppers: true
  FishMod:
    WatchForAutoFishMod: false
    MaxFishToNotifyStaffThenBlock: 5
    MaxFishAllowedBeforeKick: 5
    WarnPlayerThenKickInsteadOfNotify: false
  Nether:
    BlockPlayersAboveNether: true
    BlockBuildingAboveNether: true
    ExcludeNetherWorldFromHeightCheck: []
    NetherYLevel: 128
    EnsureSafeTeleportLocationIfAboveCeiling: true
    KillPlayersBelowNether: false
  BookExploit:
    DisableBookWriting: false
  EndGateway:
    PreventEndGatewayCrashExploit: true
  1_13_Exploits:
    Entities:
      PreventProjectileExploit2: true
      ProjectileDespawnDelay: 11
  RecordDupe: true
  1_14_Exploits:
    Traders:
      BlockVillagerTradeCheesing: true
      VillagerRestockTime: 10
      ZombieVillagerTransformChance: 65
  3rdParty:
    BlockCMIShulkerStacking: true
  1_15_Exploits:
    Dupes:
      PreventStringDupe: true
      PreventTripwireDupe: true
  Minecart:
    AlsoPreventHeadInside:
    - COMPOSTER
  MineCart:
    PreventMinecartGlitch: true
    MinecartBlockWhiteList: []
    RemoveExistingGlitchedMinecarts: false
    PreventHeadInsideBlocks: false
  Looting:
    PreventLootingExploit: true
  DropperDupe:
    BlockLoopedDroppers: false
  NetherPortal:
    PreventPortalTrap: true
  Fishing:
    KickForAutoClickerFishing: true
  RNGEnchant:
    PreventRNGEnchant: true
  Teleport:
    PearlPhasing: true
  TNTDupe:
    PreventIndirectTNTPowerDupe: true
  SignExploit:
    DestroyBadSignsOnChunkLoad: false
  NegativeDurability: true
Misc:
  ItemScanTimer: 10
  NotifyNearbyPlayers: false
  InGameOffenseNotifications: true
  LogOffensesInSeparateFile: true
  BreakMachinesInsteadOfDroppingItems: true
  DisableInWorlds: []
  Spawners:
    PreventSpawnEggsOnSpawners: true
UserRequested:
  Misc:
    NotifyInsteadOfBlock: []
  Obscure:
    BlockBadItemsFromCreativeTab: false
    HopperCheck:
      IgnoreAllHopperChecks: false
    IgnoreAllShulkerPlaceChecks: false
    HackedShulker:
      DestroyInvalidShulkers: false
      CheckGroundForBadShulkerAtLogin: false
  Spawners:
    ResetSpawnersOfType: []
    SpawnerReset: false
    ResetSpawnersOfTypeOnSpawn: []
  ItemRemoval:
    ItemLoresToRemove: []
    BlockEnchantingInstead: false
    NameLoreStrictMatchMode: false
    BlockRepairsInstead: false
    RemoveItemsMatchingName: false
    ItemNamesToRemove: []
  NetherDamage:
    DamageDelay: 2
    DamagePlayersAboveNether: false
    DamageAmount: 2
  Cobble:
    PreventCobbleGenerators: false
  Mobs:
    PreventZombieItemPickup: false
  Obsure:
    Misc:
      RemoveAllRenamedItems: false
Exploit:
  Teleport:
    CorrectionNotify: false
  LagMachines:
    End Crystal: true
    ArmorStand: true

Clone this wiki locally