Interface ViaRewindConfig

All Superinterfaces:
com.viaversion.viaversion.api.configuration.Config
All Known Implementing Classes:
ViaRewindConfig

public interface ViaRewindConfig extends com.viaversion.viaversion.api.configuration.Config
This class is used to get the platform specific config
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static enum 
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Always shows the original mob's name instead of only when hovering over them with the cursor.
    boolean
    If enabled, 1.8 players on 1.9+ servers will also experience the levitation effect by sending velocity packets.
    Specifies how 1.8.x clients should see the cooldown indicator You can choose between TITLE, ACTION_BAR, BOSS_BAR and DISABLED ONLY DISABLE IF YOU HAVE 1.9 COOLDOWN DISABLED ON YOUR SERVER 1.8 PLAYERS MAY ASK WHY PVP IS NOT WORKING OTHERWISE
    int
    Max amount of pages for written books before a client gets kicked
    int
    Max amount of characters in the json (!) string of a book page before a client gets kicked
    Allows to define the offhand command
    The particle to show the world border for the 1.8+ world border for 1.7.x clients
    boolean
    If enabled, 1.8 players will handle the player combat packet added in 1.9 by showing the custom death message above the hotbar.
    boolean
    Whether to emulate the 1.8+ world border for 1.7.x clients
    boolean
    If enabled, 1.8 players on 1.9+ servers can use /offhand to switch items between their main hand and offhand.
    boolean
    Replaces Adventure mode with Survival mode for 1.7.x clients Enable this option if your server is using the 'CanDestroy' or 'CanPlaceOn' flags on items
    boolean
    Whether 1.9 particles should be replaced by similar ones in 1.8 and lower

    Methods inherited from interface com.viaversion.viaversion.api.configuration.Config

    getValues, reload, save, set
  • Method Details

    • getCooldownIndicator

      ViaRewindConfig.CooldownIndicator getCooldownIndicator()
      Specifies how 1.8.x clients should see the cooldown indicator You can choose between TITLE, ACTION_BAR, BOSS_BAR and DISABLED ONLY DISABLE IF YOU HAVE 1.9 COOLDOWN DISABLED ON YOUR SERVER 1.8 PLAYERS MAY ASK WHY PVP IS NOT WORKING OTHERWISE
      Returns:
      the cooldown indicator
    • isReplaceAdventureMode

      boolean isReplaceAdventureMode()
      Replaces Adventure mode with Survival mode for 1.7.x clients Enable this option if your server is using the 'CanDestroy' or 'CanPlaceOn' flags on items
      Returns:
      true if enabled
    • isReplaceParticles

      boolean isReplaceParticles()
      Whether 1.9 particles should be replaced by similar ones in 1.8 and lower
      Returns:
      true if enabled
    • getMaxBookPages

      int getMaxBookPages()
      Max amount of pages for written books before a client gets kicked
      Returns:
      the max amount of pages
    • getMaxBookPageSize

      int getMaxBookPageSize()
      Max amount of characters in the json (!) string of a book page before a client gets kicked
      Returns:
      the max amount of characters
    • isEmulateWorldBorder

      boolean isEmulateWorldBorder()
      Whether to emulate the 1.8+ world border for 1.7.x clients
      Returns:
      true if enabled
    • alwaysShowOriginalMobName

      boolean alwaysShowOriginalMobName()
      Always shows the original mob's name instead of only when hovering over them with the cursor.
      Returns:
      true if enabled
    • getWorldBorderParticle

      String getWorldBorderParticle()
      The particle to show the world border for the 1.8+ world border for 1.7.x clients
      Returns:
      the particle name
    • isEnableOffhand

      boolean isEnableOffhand()
      If enabled, 1.8 players on 1.9+ servers can use /offhand to switch items between their main hand and offhand.
      Returns:
      true if enabled
    • getOffhandCommand

      String getOffhandCommand()
      Allows to define the offhand command
      Returns:
      the offhand command
    • emulateLevitationEffect

      boolean emulateLevitationEffect()
      If enabled, 1.8 players on 1.9+ servers will also experience the levitation effect by sending velocity packets.
      Returns:
      true if enabled
    • handlePlayerCombatPacket

      boolean handlePlayerCombatPacket()
      If enabled, 1.8 players will handle the player combat packet added in 1.9 by showing the custom death message above the hotbar.
      Returns:
      true if enabled