• 欢迎来到Minecraft插件百科!
  • 对百科编辑一脸懵逼?帮助:快速入门带您快速熟悉百科编辑!
  • 因近日遭受攻击,百科现已限制编辑,有意编辑请加入插件百科企鹅群:223812289

讨论:React

来自Minecraft插件百科
跳转至: 导航搜索

BUG&问题提交中心

这些BUG&问题将会上传到作者的Github上,请大家有问题的提问题,没有问题的继续用!

问题提交格式

插件版本:

服务端:Spigot/CraftBukkit/PaperSpigot/TacoSpigot

服务器版本:

报错内容:

其它:

问题&BUG 专栏

新的配置文件

New!

崭新的配置文件,已上线,正在汉化中!

features:
  react:
    style:

      # 后台性能管家前缀有颜色
      # 譬如——黄色等...
      console-strip-color: true

      # 更改性能管家提示文本的颜色
      text-color: GRAY

      # 使用性能管家使在聊天栏提示时的颜色代码全部失效
      # 注意:某些性能管家的功能将会失效
      strip-color: false

      # 将性能管家主要文本的颜色更改为其它颜色,例如RGB
      theme-color: AQUA

      # 将性能管家深色文本的颜色更改为其它颜色
      dark-color: DARK_GRAY
    datalogging:

      # 是否启用性能管家数据保存,并且这些数据将会保存到
      # \cache中
      enabled: true

      # 最大的数据保存的内存为MB为单位,下面就是可以保存的量(100MB)
      max-mb: 100
    modes:

      # 禁用所有关于方块更新的功能
      safemode-unload-chunks: false

      # 禁用所有关于多世界编辑的功能
      safemode-fawe: false

      # 禁用所有与网络有关的功能。
      # 也就是无法上传pastebin报告,和保存数据.
      safemode-networking: false

      # 禁用所有游戏中与网络有关的功能
      # 如:发送&拦截数据包,Ping值和网络连接
      safemode-protocol: false

      # 禁用所有有关于Craft Bukkit使用的NMS类的功能
      # 如果你遇到了严重问题,亦或是正在使用
      # Sponge,MCPC+,KCauldron, 甚至是 Glowkit
      safemode-nms: false
    spikes:

      # Monitor the main thread and warn the chat AND console if the server is
      # locked. Please note that there is no way of knowing if the server is during a
      # garbage collection. This means there WILL BE false positives. Especially with
      # react.
      report-spikes: true

      # Due to word wrapping and hover elements, react hides the full package names
      # by default.
      # For example net.minecraft.server.V1_12R2 would be converted to
      # n.m.s.V
      show-fully-qualified-names: false
    monitor:

      # Double crouching quickly locks and unlocks the monitor. Turn this off if you
      # have a plugin such as vanish that uses this kind of mechanic. (/re mon -lock
      # still works)
      double-sneak-lock: true

      # Use protocollib to monitor keep alive packets to get super accurate (non
      # averaged) ping values. Most ping plugins just grab the value from bukkit, but
      # that value is usually inaccurate due to intense averaging paired with the
      # slow ping update speed.
      fast-ping: true
    command-overrides:

      # Override the /tps and /lag commands to add additional information
      tps: true

      # Override the '/killall all' command to instead use react to remove entities.
      killall: false

      # Interpret '/killall all -f' as /re a pe -f (force kill everything but
      # players)
      killall-force: false

      # Override /mem with additional information
      memory: true
    collision:

      # Disables collision for entities about to be culled.
      disable-collide-on-pre-cull: true

      # Disables collision for certain entities based on lag and conditions.
      collision-tweaks-enabled: true
      disable-collide-always:
      - BAT
      disable-collide-spawner:
      - ELDER_GUARDIAN
      - WITHER_SKELETON
      - STRAY
      - PAINTING
      - FALLING_BLOCK
      - HUSK
      - ZOMBIE_VILLAGER
      - SKELETON_HORSE
      - ZOMBIE_HORSE
      - DONKEY
      - MULE
      - EVOKER
      - VEX
      - VINDICATOR
      - ILLUSIONER
      - MINECART_COMMAND
      - MINECART
      - MINECART_CHEST
      - MINECART_FURNACE
      - MINECART_TNT
      - MINECART_HOPPER
      - MINECART_MOB_SPAWNER
      - CREEPER
      - SKELETON
      - SPIDER
      - GIANT
      - ZOMBIE
      - SLIME
      - GHAST
      - PIG_ZOMBIE
      - ENDERMAN
      - CAVE_SPIDER
      - SILVERFISH
      - BLAZE
      - MAGMA_CUBE
      - ENDER_DRAGON
      - WITHER
      - BAT
      - WITCH
      - ENDERMITE
      - GUARDIAN
      - SHULKER
      - PIG
      - SHEEP
      - COW
      - CHICKEN
      - SQUID
      - WOLF
      - MUSHROOM_COW
      - SNOWMAN
      - OCELOT
      - IRON_GOLEM
      - HORSE
      - RABBIT
      - POLAR_BEAR
      - LLAMA
      - LLAMA_SPIT
      - PARROT
      - VILLAGER
      - FISHING_HOOK
    queue:

      # Learns the 'gist' of repeated executions and attempts to grab low cpu tasks
      # and burn through them to improve low ms latency.
      group-suppression: true
    map:

      # Cap the framerate of the map. Bukkit hard caps at 60, anything higher than 60
      # will do nothing. Keep in mind that the higher the frame rate, the more bukkit
      # will spawn craft scheduler threads. Keeping this low reduces memory, cpu
      # usage and allows more people to use the map at the same time.
      max-framerate: 15

      # Cap the framerate of the individual graphs in the react map. Keep this value
      # low as there are many graphs to map.
      max-graph-framerate: 10

    # Disable all automatic actions, including RAI. Will still purge chunks if
    # enabled.
    monitoring-only: false
    rai:

      # Should Datalogging be enabled? React will monitor samplers and save them to
      # the cache.
      enabled: true

      # RAI will do nothing unless the tps drops below this value for more than 20
      # ticks. It does, rai will look for issues to fix.
      activation-threshold: 18.5
    sampler:

      # Modify the average radius of the server tps sampler
      tps-average-radius: 7

      # Sample time viewport. Higher means more visible data in graphs over time. Due
      # to lossy compression however, data may look weird near the beginning of a
      # large graph.
      sample-viewport: 12000

      # Modify the average radius of server tick time sampler
      tick-time-average-radius: 3

      # Sample points per sampler type
      sample-points: 250

    # Use Fast Async World Edit if it is installed.
    use-fawe: true
    purge:

      # Allow the purger to purge named entities
      allow-purge-named: false

      # Allow the purger to purge item drops
      allow-purge-drops: false

      # Allow the purger to purge tamed entities
      allow-purge-tamed: false

    # Language to use. Languages are downloaded from
    # https://github.com/VolmitSoftware/React/tree/master/language
    language: enUS

    # Enable the ability for players to request temporary access to react. Admins
    # must accept the request. Admins are always able to revoke access too.
    allow-tempaccess: true

    # Use NMS Adapters. Disabling this will basically make any nms or fast options
    # do nothing either way. This may fix issues with FAWE and chunks on 1.8.8
    # though
    nms-adapters: true

    # Play sounds during react's usage (chat, monitor, map, etc)
    interaction-sounds: true
    actions:

      # Actions such as lock-redstone, lock-hoppers, and lock-fluids. Should they
      # ever be un-frozen (using the time field)
      unlock-locked-actions: true
    legacy:
      remote-server:

        # Use the legacy remote server (for react remote)
        enable-react-remote-server: false

        # The port to bind to when the remote server is enabled. This cannot be your
        # server port or an already used port.
        remote-port: 8147
    worlds:

      # Generate configurations for each world (disable this if you have over 100
      # worlds)
      world-configs: true
  mythic-mobs:

    # If mythic mobs is enabled, use mob stacking on them
    allow-stacking: false

    # If mythic mobs is enabled, allow purging of them with /re a pe
    allow-purging: true
    allow-culling: true
  entity-stacker:
    options:

      # Format for nametags
      # %size% = Number of entities in stack
      # %type% = Entity type
      # i.e. Pig
      # %hp% = Health
      # Color codes and formatting supported.
      nametag-format: '&e%size%x &a%type% &c%hp%'

      # Show a nametag of the stacked entity
      show-nametag: false

      # Show particles on stacked entities. More particles = bigger stack. This is if
      # you don't want to directly show players the stack size.
      show-particles: true

    # Try to stack entities in different locations on an interval.
    stack-on-interval: true

    # Speed up interval stacking by queueing each entity to stack as often as
    # possible in a 1 second time window.
    fast-intervals: false

    # The radius (in blocks) to search for entities to stack together.
    search-radius: 6
    enabled: false

    # Scale all damage causes except for player x entity damage with the stack
    # size. This means a stacked pig would have the same effective health by
    # scaling damage to that pig. Excludes player damage.
    non-player-damage-normalization: true

    # The maximum size an entity stack can have
    max-stack-size: 16

    # The minimum number of entities required in a search radius to actually create
    # a stack. Setting this lower will create frequent small-stacks, higher will
    # make larger stacks less often.
    minimum-group-size: 6
    stack-reasons:
    - natural
    - jockey
    - chunk_gen
    - spawner
    - egg
    - spawner_egg
    - lightning
    - build_snowman
    - build_irongolem
    - build_wither
    - village_defense
    - village_invasion
    - breeding
    - slime_split
    - reinforcements
    - nether_portal
    - dispense_egg
    - infection
    - cured
    - ocelot_baby
    - silverfish_block
    - mount
    - trap
    - ender_pearl
    - shoulder_entity
    - custom
    - default

    # The maximum health a stacked entity can have. (make sure this is below
    # spigots limits if you changed them)
    max-health: 1600

    # Try to stack entities around a newly spawned entity.
    stack-on-spawn: false

    # Cache stack data through reboots, unloads and reloads.
    persist-stacks: true
  culling:
    mark-for-death:

      # Use particles to indicate an entity has been marked for death, and when they
      # are removed (village angry & explosion)
      particles: true
      name-tags:
        enabled: false

        # Use nametags for a countdown
        format: '&6锟?? &7%time%'

      # The time between an entity being marked for death and actually being
      # killed.
      # In ticks. Setting this to 100 would mark an entity for death, then
      # actually kill it 5 seconds later.
      death-time: 200
  tick-smearing:
    tiles:

      # Allow the tile tick throttle to be X higher than the current time to prevent
      # odd skipping of entities, and to allow room for error.
      seperation-bias: 0.07

      # How many ticks should the tick time be averaged across to compute biases
      smear-factor: 50.0

      # The maximum tile tick time before throttling
      max-time: 35.0

      # Enable entity tick throttling
      enable: true
    entities:

      # How many ticks should the tick time be averaged across to compute biases
      smear-factor: 50.0

      # Enable entity tick throttling
      enable: true

      # The maximum tile tick time before throttling
      max-time: 25.0

      # Allow the tile tick throttle to be X higher than the current time to prevent
      # odd skipping of entities, and to allow room for error.
      seperation-bias: 0.65
  glass:

    # The maximum amount of events to capture per tick before ignoring the rest to
    # prevent lag from glass.
    max-queue: 256

    # Display particles instead of block packets to visualize physics (better
    # framerates than block packets)
    display-particles: true

    # Display glass-block packets to visualize physics
    display-blocks: false
  entity-culler:
    enabled: true
  console:

    # 使用监察模式,并将这些东西发送至后台
    # Channels:
    # -rai
    # -spikes
    # -verbose
    # -action
    # -gc 
    listen-channels-enabled: false
    listen-channels:
    - rai
    - verbose
    - spikes
    - action
    - gc
entity-types:
  culling-rules:
  - '@Refuse Tamed'
  - '@Defer Named'
  - '@Defer Leashed'
  - '@Defer Stacked'
  - '@Defer Ridden'
  - '@Defer Mythic'
  - '@Defer Young'
  - '@Defer Non-Living'
  - '@Defer Grounded'
  - '@Defer Passive'
  - '@Defer Lit'
  - '@Prefer Living'
  - '@Prefer Hostile'
  - '@Prefer Mature'
  - '@Prefer Underwater'
  - '@Prefer Airborne'
  - '@Prefer Projectiles'
  - '@Prefer Caves'
  - '@Restrict Pig,Cow,Sheep,Chicken = 14'
  - '@Restrict Zombie,Spider,Skeleton,Creeper = 14'
  - '@Restrict Wolf,Ocelot,Horse = 9'
  - '@Restrict Dropped Item = 30'
  - '@Restrict Experience Orb = 28'
  - '@Restrict Area Effect Cloud = 28'
  - '@Restrict Elder Guardian = 28'
  - '@Restrict Wither Skeleton = 28'
  - '@Restrict Stray = 28'
  - '@Restrict Egg = 28'
  - '@Restrict Leash Hitch = 28'
  - '@Restrict Painting = 28'
  - '@Restrict Arrow = 28'
  - '@Restrict Snowball = 28'
  - '@Restrict Fireball = 28'
  - '@Restrict Small Fireball = 28'
  - '@Restrict Ender Pearl = 28'
  - '@Restrict Ender Signal = 28'
  - '@Restrict Splash Potion = 28'
  - '@Restrict Thrown Exp Bottle = 28'
  - '@Restrict Item Frame = 28'
  - '@Restrict Wither Skull = 28'
  - '@Restrict Primed Tnt = 28'
  - '@Restrict Falling Block = 28'
  - '@Restrict Firework = 28'
  - '@Restrict Husk = 28'
  - '@Restrict Spectral Arrow = 28'
  - '@Restrict Shulker Bullet = 28'
  - '@Restrict Dragon Fireball = 28'
  - '@Restrict Zombie Villager = 28'
  - '@Restrict Skeleton Horse = 28'
  - '@Restrict Zombie Horse = 28'
  - '@Restrict Armor Stand = 28'
  - '@Restrict Donkey = 28'
  - '@Restrict Mule = 28'
  - '@Restrict Evoker Fangs = 28'
  - '@Restrict Evoker = 28'
  - '@Restrict Vex = 28'
  - '@Restrict Vindicator = 28'
  - '@Restrict Illusioner = 28'
  - '@Restrict Minecart Command = 28'
  - '@Restrict Boat = 28'
  - '@Restrict Minecart = 28'
  - '@Restrict Minecart Chest = 28'
  - '@Restrict Minecart Furnace = 28'
  - '@Restrict Minecart Tnt = 28'
  - '@Restrict Minecart Hopper = 28'
  - '@Restrict Minecart Mob Spawner = 28'
  - '@Restrict Creeper = 28'
  - '@Restrict Skeleton = 28'
  - '@Restrict Spider = 28'
  - '@Restrict Giant = 28'
  - '@Restrict Zombie = 28'
  - '@Restrict Slime = 28'
  - '@Restrict Ghast = 28'
  - '@Restrict Pig Zombie = 28'
  - '@Restrict Enderman = 28'
  - '@Restrict Cave Spider = 28'
  - '@Restrict Silverfish = 28'
  - '@Restrict Blaze = 28'
  - '@Restrict Magma Cube = 28'
  - '@Restrict Ender Dragon = 28'
  - '@Restrict Wither = 28'
  - '@Restrict Bat = 28'
  - '@Restrict Witch = 28'
  - '@Restrict Endermite = 28'
  - '@Restrict Guardian = 28'
  - '@Restrict Shulker = 28'
  - '@Restrict Pig = 28'
  - '@Restrict Sheep = 28'
  - '@Restrict Cow = 28'
  - '@Restrict Chicken = 28'
  - '@Restrict Squid = 28'
  - '@Restrict Wolf = 28'
  - '@Restrict Mushroom Cow = 28'
  - '@Restrict Snowman = 28'
  - '@Restrict Ocelot = 28'
  - '@Restrict Iron Golem = 28'
  - '@Restrict Horse = 28'
  - '@Restrict Rabbit = 28'
  - '@Restrict Polar Bear = 28'
  - '@Restrict Llama = 28'
  - '@Restrict Llama Spit = 28'
  - '@Restrict Parrot = 28'
  - '@Restrict Villager = 16'
  - '@Restrict Ender Crystal = 28'
  - '@Restrict Lingering Potion = 28'
  - '@Restrict Fishing Hook = 28'
  - '@Restrict Lightning = 28'
  - '@Restrict Weather = 28'
  - '@Restrict Complex Part = 28'
  - '@Restrict Tipped Arrow = 28'
  - '@Restrict Unknown = 28'
  allow-stacking:
  - ELDER_GUARDIAN
  - WITHER_SKELETON
  - STRAY
  - PAINTING
  - FALLING_BLOCK
  - HUSK
  - ZOMBIE_VILLAGER
  - SKELETON_HORSE
  - ZOMBIE_HORSE
  - DONKEY
  - MULE
  - EVOKER
  - VEX
  - VINDICATOR
  - ILLUSIONER
  - MINECART_COMMAND
  - MINECART
  - MINECART_CHEST
  - MINECART_FURNACE
  - MINECART_TNT
  - MINECART_HOPPER
  - MINECART_MOB_SPAWNER
  - CREEPER
  - SKELETON
  - SPIDER
  - GIANT
  - ZOMBIE
  - SLIME
  - GHAST
  - PIG_ZOMBIE
  - ENDERMAN
  - CAVE_SPIDER
  - SILVERFISH
  - BLAZE
  - MAGMA_CUBE
  - ENDER_DRAGON
  - WITHER
  - BAT
  - WITCH
  - ENDERMITE
  - GUARDIAN
  - SHULKER
  - PIG
  - SHEEP
  - COW
  - CHICKEN
  - SQUID
  - WOLF
  - MUSHROOM_COW
  - SNOWMAN
  - OCELOT
  - IRON_GOLEM
  - HORSE
  - RABBIT
  - POLAR_BEAR
  - LLAMA
  - LLAMA_SPIT
  - PARROT
  - VILLAGER
  - FISHING_HOOK
  allow-culling:
  - DROPPED_ITEM
  - EXPERIENCE_ORB
  - AREA_EFFECT_CLOUD
  - ELDER_GUARDIAN
  - WITHER_SKELETON
  - STRAY
  - EGG
  - LEASH_HITCH
  - PAINTING
  - ARROW
  - SNOWBALL
  - FIREBALL
  - SMALL_FIREBALL
  - ENDER_PEARL
  - ENDER_SIGNAL
  - SPLASH_POTION
  - THROWN_EXP_BOTTLE
  - ITEM_FRAME
  - WITHER_SKULL
  - PRIMED_TNT
  - FALLING_BLOCK
  - FIREWORK
  - HUSK
  - SPECTRAL_ARROW
  - SHULKER_BULLET
  - DRAGON_FIREBALL
  - ZOMBIE_VILLAGER
  - SKELETON_HORSE
  - ZOMBIE_HORSE
  - ARMOR_STAND
  - DONKEY
  - MULE
  - EVOKER_FANGS
  - EVOKER
  - VEX
  - VINDICATOR
  - ILLUSIONER
  - MINECART_COMMAND
  - BOAT
  - MINECART
  - MINECART_CHEST
  - MINECART_FURNACE
  - MINECART_TNT
  - MINECART_HOPPER
  - MINECART_MOB_SPAWNER
  - CREEPER
  - SKELETON
  - SPIDER
  - GIANT
  - ZOMBIE
  - SLIME
  - GHAST
  - PIG_ZOMBIE
  - ENDERMAN
  - CAVE_SPIDER
  - SILVERFISH
  - BLAZE
  - MAGMA_CUBE
  - ENDER_DRAGON
  - WITHER
  - BAT
  - WITCH
  - ENDERMITE
  - GUARDIAN
  - SHULKER
  - PIG
  - SHEEP
  - COW
  - CHICKEN
  - SQUID
  - WOLF
  - MUSHROOM_COW
  - SNOWMAN
  - OCELOT
  - IRON_GOLEM
  - HORSE
  - RABBIT
  - POLAR_BEAR
  - LLAMA
  - LLAMA_SPIT
  - PARROT
  - VILLAGER
  - ENDER_CRYSTAL
  - LINGERING_POTION
  - FISHING_HOOK
  - LIGHTNING
  - WEATHER
  - COMPLEX_PART
  - TIPPED_ARROW
  - UNKNOWN
  allow-purging:
  - DROPPED_ITEM
  - AREA_EFFECT_CLOUD
  - ELDER_GUARDIAN
  - WITHER_SKELETON
  - STRAY
  - EGG
  - PAINTING
  - ARROW
  - SNOWBALL
  - FIREBALL
  - SMALL_FIREBALL
  - ENDER_PEARL
  - ENDER_SIGNAL
  - SPLASH_POTION
  - THROWN_EXP_BOTTLE
  - WITHER_SKULL
  - FALLING_BLOCK
  - FIREWORK
  - HUSK
  - SPECTRAL_ARROW
  - SHULKER_BULLET
  - DRAGON_FIREBALL
  - ZOMBIE_VILLAGER
  - SKELETON_HORSE
  - ZOMBIE_HORSE
  - ARMOR_STAND
  - DONKEY
  - MULE
  - EVOKER_FANGS
  - EVOKER
  - VEX
  - VINDICATOR
  - ILLUSIONER
  - MINECART_COMMAND
  - BOAT
  - MINECART
  - MINECART_CHEST
  - MINECART_FURNACE
  - MINECART_TNT
  - MINECART_HOPPER
  - MINECART_MOB_SPAWNER
  - CREEPER
  - SKELETON
  - SPIDER
  - GIANT
  - ZOMBIE
  - SLIME
  - GHAST
  - PIG_ZOMBIE
  - ENDERMAN
  - CAVE_SPIDER
  - SILVERFISH
  - BLAZE
  - MAGMA_CUBE
  - ENDER_DRAGON
  - WITHER
  - BAT
  - WITCH
  - ENDERMITE
  - GUARDIAN
  - SHULKER
  - PIG
  - SHEEP
  - COW
  - CHICKEN
  - SQUID
  - WOLF
  - MUSHROOM_COW
  - SNOWMAN
  - OCELOT
  - IRON_GOLEM
  - HORSE
  - RABBIT
  - POLAR_BEAR
  - LLAMA
  - LLAMA_SPIT
  - PARROT
  - VILLAGER
  - ENDER_CRYSTAL
  - FISHING_HOOK
  - TIPPED_ARROW
tweaks:
  fast-leaf-decay:

    # Use fast block destruction for fast leaf decay. Turn this on if you dont like
    # snow floating above leaves, though you loose most of the performance benefits
    # of fast decay.
    fast-destroy: true

    # The maximum milliseconds react is allowed to use to fast-leaf decay
    max-ms: 0.8
    enabled: true

    # Trigger fast leaf decay when leaves decay normally
    trigger-on-decay: true

    # Saturate the destruction queue as fast as possible, ignoring tick limits.
    instantaneous: false

    # The period of time (in ticks) which a leaf block that is marked for decay
    # will actually decay. If 10 blocks are set to be destroyed, they will be
    # destroyed randomly within 5 ticks (by default)
    decay-period: 5
  chunks:

    # Should chunk purging be enabled? Only chunks OUTSIDE of every player's view
    # distance combined are purged.
    purge-enabled: true

    # The interval at which chunks are purged. Only chunks OUTSIDE of every
    # player's view distance combined are purged.
    purge-interval: 1200
  explosions:

    # The percent of tnt to be removed when tnt is over the max ms limit
    throttled-ratio: 0.65

    # Throttle explosions to a maximum tick time per tick
    max-explosions-milliseconds: 5.0

    # Skip block physics for explosion block damage. Breaks cannons obviously.
    fast-block-destruction: false

    # Throttle explosions by removing a percentage of tnt entities after it has
    # exceeded the max ms set. This obviously breaks cannons.
    throttle-explosions: true
  xp:

    # Fast pickup xp (all at once not sequentially)
    fast-xp-pickup: false

    # Skip spawning xp orbs if the player who caused the xp to drop is known (just
    # give them the xp). Reduces entities.
    fast-drop-xp: false

  # 如果安装了派系插件
  # 那么便会创建一个专属于派系的配置文件
  factions-compat: true
  drops:

    # 将掉落物传送至最近的玩家,防止掉落物过多,而造成卡顿
    # (只能从玩家中丢弃&挖掉)
    fast-drop-items: false

    # Instant teleport drops to the nearest player (only from entities and block
    # drops)
    teleport-to-source: false

    # 让玩家不能捡起凋零箭,
    # 应该是为了小白
    despawn-useless-arrows: true
  hoppers:

    # 是否开启自动清理漏斗垃圾
    # 这样会防止漏斗里充满了物品而造成卡顿
    reduce-overtick-hoppers: true
  redstone:

    # Dynamically change the redstone tick speed depending on redstone tick time
    # (may cause issues with large contraptions)
    # 这个尽量不要更改
    dynamic-clocking: false
  fast-growth:
    enabled: true
rai:
  tps:

    # 如果反应时间超过这个时间,即视为卡顿
    high-tick: 50.0