Random

Using random type rules for fake change is meaningless because it will cause the item to constantly change (because each time player interact item, we will start fake change). Suggest using them only in real changes. Even using in real change, you need make sure after random change, the changed item should not be matched otherwise the item will still constantly change because it still match the rule and randomly changed.

Example:

match-item:
  items:
    - 'diamond'
  has-lore: false # This match rule make sure after change, the item will no longer be random changed by this rule.

real-changes:
  random-change:
    1:
      set-lore: 
        - 'Lucky Boy' # After change, the item will has lore, so it will only be changed once, otherwise it will always be changed by this rule.
      rate: 5
    2:
      set-lore: 
        - 'Not Lucky Boy'
      rate: 15

Random Replace Item - Premium

real-changes:
  replace-random-item:
    1:
      material: APPLE
      rate: 5
    2:
      material: DIAMOND
      rate: 15

Random Change - Premium

real-changes:
  random-change:
    1:
      set-lore: 'Lucky Boy'
      rate: 5
    2:
      set-lore: 'Not Lucky Boy'
      rate: 15

Last updated