Advertisement
Maxlego08

config.yml

Jan 25th, 2024
868
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 7.92 KB | None | 0 0
  1. #########################################################################################################################################################
  2. #
  3. #  ███████╗██████╗░██████╗░░█████╗░░██╗░░░░░░░██╗███████╗██████╗░
  4. #  ╚════██║██╔══██╗██╔══██╗██╔══██╗░██║░░██╗░░██║██╔════╝██╔══██╗
  5. #  ░░███╔═╝██║░░██║██████╔╝███████║░╚██╗████╗██╔╝█████╗░░██████╔╝
  6. #  ██╔══╝░░██║░░██║██╔══██╗██╔══██║░░████╔═████║░██╔══╝░░██╔══██╗
  7. #  ███████╗██████╔╝██║░░██║██║░░██║░░╚██╔╝░╚██╔╝░███████╗██║░░██║
  8. #  ╚══════╝╚═════╝░╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚═╝░░╚══════╝╚═╝░░╚═╝
  9. #
  10. # Commands and permissions:
  11. # - /zdrawer » Main command (Alaises: /drawer) - zdrawer.use
  12. # - /zdrawer reload » Reload config files - zdrawer.reload
  13. # - /zdrawer give » Give commands - zdrawer.craft.use
  14. # - /zdrawer give drawer <player> [<upgrade name>] [<material>] [<amount>] » Give a drawer - zdrawer.give.drawer
  15. # - /zdrawer give craft <player> [<craft name>] » Give a craft item - zdrawer.give.craft
  16. # - /zdrawer place <world name> <x> <y> <z> <block face> [<upgrade name>] [<material>] [<amount>] » Place a drawer - zdrawer.place
  17. # - /zdrawer purge <world name> » Delete all the drawer in a specific world - zdrawer.purge
  18. # - /zdrawer clear » Allows to remove all entities that come from the plugin. In case of a crash of your server or other it is possible that entities are duplicated. This command deletes them. - zdrawer.clear
  19. #
  20. # Placeholders
  21. # - %zdrawer_content% » Displays the contents of the drawer with which the player interacts
  22. # - %zdrawer_amount% » Displays the amount of the drawer with which the player interacts
  23. # - %zdrawer_upgrade% » Displays the upgrade of the drawer with which the player interacts
  24. #
  25. # For item configuration, you can use the zMenu documentation: https://docs.zmenu.dev/configurations/items
  26. #
  27. #########################################################################################################################################################
  28.  
  29. enableDebug: true
  30. enableDebugTime: false
  31.  
  32. drawer:
  33.   limit: 2048 # The global limit for the number of items a single drawer can hold.
  34.  
  35.   # Drawer item, for item configuration, you can use the zMenu documentation: https://docs.zmenu.dev/configurations/items
  36.   item:
  37.     material: BARREL
  38.     name: "#22f54cᴅʀᴀᴡᴇʀ"
  39.     lore:
  40.      - "&8&oStore a large number of the same item"
  41.       - ""
  42.       - "#e3e3e3Content&8: #baffff%zdrawer_content%"
  43.       - "#e3e3e3Amount&8: #baffff%zdrawer_amount%"
  44.       - "#e3e3e3Upgrade&8: #baffff%zdrawer_upgrade%"
  45.  
  46.   # Drawer craft
  47.   craft:
  48.     shade:
  49.      - "ABA"
  50.       - "BCB"
  51.       - "ABA"
  52.     ingredients:
  53.       A:
  54.         material: SPRUCE_WOOD
  55.       B:
  56.         material: SPRUCE_PLANKS
  57.       C:
  58.         material: CHEST
  59.  
  60.   # Allows you to change the investment details of the entities, do not touch it if you do not know how.
  61.   # Even a small change can break the plugin display. Please be very careful.
  62.   entitiesPosition:
  63.     NORTH:
  64.       itemDisplay: { x: 0.5, y: 0.5, z: 1.01, yaw: -180, pitch: 0 }
  65.       upgradeDisplay: { x: 0.5, y: 0.9, z: 1.02,yaw: -180, pitch: 0 }
  66.       textDisplay: { x: 0.5, y: 0.05, z: 1.02, yaw: 0, pitch: 0 }
  67.     EAST:
  68.       itemDisplay: { x: -0.01, y: 0.5, z: 0.5, yaw: -90, pitch: 0 }
  69.       upgradeDisplay: { x: -0.02, y: 0.9, z: 0.5, yaw: -90, pitch: 0 }
  70.       textDisplay: { x: -0.02, y: 0.05, z: 0.5, yaw: 90, pitch: 0 }
  71.     SOUTH:
  72.       itemDisplay: { x: 0.5, y: 0.5, z: -0.01, yaw: 0, pitch: 0 }
  73.       upgradeDisplay: { x: 0.5, y: 0.9, z: -0.03, yaw: 0, pitch: 0 }
  74.       textDisplay: { x: 0.5, y: 0.05, z: -0.02, yaw: 180, pitch: 0 }
  75.     WEST:
  76.       itemDisplay: { x: 1.01, y: 0.5, z: 0.5, yaw: 90, pitch: 0 }
  77.       upgradeDisplay: { x: -1.03, y: 0.9, z: 0.5, yaw: 90, pitch: 0 }
  78.       textDisplay: { x: 1.02, y: 0.05, z: 0.5, yaw: -90, pitch: 0 }
  79.     UP:
  80.       itemDisplay: { x: 0.5, y: -0.02, z: 0.5, yaw: 180, pitch: -90 }
  81.       upgradeDisplay: { x: 0.5, y: -0.03, z: 0.9, yaw: 180, pitch: -90 }
  82.       textDisplay: { x: 0.5, y: -0.03, z: 0.05, yaw: 0, pitch: 90 }
  83.     DOWN:
  84.       itemDisplay: { x: 0.5, y: 1.01, z: 0.5, yaw: 180, pitch: 90 }
  85.       upgradeDisplay: { x: 0.5, y: 1.02, z: 0.11, yaw: 180, pitch: 90 }
  86.       textDisplay: { x: 0.5, y: 1.02, z: 0.97, yaw: 0, pitch: -90 }
  87.  
  88.   # Defines the display sizes for item, upgrade, and text displays associated with the drawer.
  89.   sizes:
  90.     itemDisplay: { x: 0.6, y: 0.6, z: 0.01 } # Size for the item display.
  91.     upgradeDisplay: { x: 0.15, y: 0.15, z: 0.01 } # Size for the upgrade display.
  92.     textDisplay: { x: 0.6, y: 0.6, z: 0.6 } # Size for the text display
  93.  
  94.   # Tools to break a drawer
  95.   breakMaterials:
  96.    - WOODEN_AXE
  97.     - STONE_AXE
  98.     - IRON_AXE
  99.     - GOLDEN_AXE
  100.     - DIAMOND_AXE
  101.     - NETHERITE_AXE
  102.  
  103.   blacklistMaterials:
  104.    - BARREL
  105.     - BEDROCK
  106.  
  107. # Custom crafts provided by the plugin, possibly for upgrades or special drawer-related items.
  108. customCrafts:
  109.   upgradeDisplay:
  110.    # For item configuration, you can use the zMenu documentation: https://docs.zmenu.dev/configurations/items
  111.     result:
  112.       url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOWQxNDlkYzRkNzFmOWE0N2I3MTRhZDgxN2YxNmYzYjU1N2QzMzUzZTBhZTNiY2M0ODExMmFlMmFjZDgyNyJ9fX0="
  113.       name: "#54b2e8Upgrade Frame"
  114.       lore:
  115.        - "&8Upgrade frame for craft Drawer Upgrade"
  116.     shade:
  117.      - "AAA"
  118.       - "BCB"
  119.       - "AAA"
  120.     ingredients:
  121.       A:
  122.         material: STICK
  123.       B:
  124.         material: SPRUCE_PLANKS
  125.       C:
  126.         material: BARREL
  127.  
  128. # Upgrade configurations for drawers, defining various tiers or types of upgrades available.
  129. upgrades:
  130.   woodUpgrade:
  131.     displayName: "Wood Upgrade" # Human-readable name for the upgrade.
  132.     # Item used for display on drawer
  133.     # For item configuration, you can use the zMenu documentation: https://docs.zmenu.dev/configurations/items
  134.     displayItem:
  135.       material: "IRON_BLOCK"
  136.     limit: 4096 # New item limit when this upgrade is applied.
  137.     # Craft for the upgrade
  138.     craft:
  139.       enable: true # Enable the craft
  140.       # For item configuration, you can use the zMenu documentation: https://docs.zmenu.dev/configurations/items
  141.       result:
  142.         url: "eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvNmM3NjI4ZTg5N2NiNGM5MzEyZjgwMmYyOGMyZWM0NjZkN2U3MjFlYzM3MDEwMzc4Y2M0NWRkMmRjNjg4MTBjMyJ9fX0="
  143.         name: "#cc7727Upgrade Wood"
  144.       shade:
  145.        - "AAA"
  146.         - "BCB"
  147.         - "AAA"
  148.       ingredients:
  149.         A:
  150.           material: STICK
  151.         B:
  152.           material: BARREL
  153.         C:
  154.           customCraft: upgradeDisplay
  155.  
  156. # Number formatting settings for displaying large numbers in a more readable format.
  157. numberFormat:
  158.  # Toggle to enable/disable custom number formatting.
  159.   enable: false
  160.   # Documentation for String format: https://www.geeksforgeeks.org/java-string-format-method-with-examples/
  161.   formats:
  162.     - format: "" # Blank format to display text directly
  163.       maxAmount: 1000
  164.     - format: "%.1fK"
  165.       maxAmount: 1000000
  166.     - format: "%.1fM"
  167.       maxAmount: 1000000000
  168.     - format: "%.1fB"
  169.       maxAmount: 1000000000000
  170.     - format: "%.2fT"
  171.       maxAmount: 1000000000000000
  172.     - format: "%.2fQ"
  173.       maxAmount: 1000000000000000000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement