Advertisement
yapzhenyie

Untitled

Jun 28th, 2020 (edited)
2,264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 10.40 KB | None | 0 0
  1. # This option allows you to set where
  2. # player's data do you want to save.
  3. #
  4. # Storages: 'sqlite' or 'mysql'.
  5. #
  6. # If you enable mysql, you need to setup MySQL infos.
  7. Player-Data:
  8.   Storage: sqlite
  9.   MySQL:
  10.     hostname: localhost
  11.     username: root
  12.     database: minecraft
  13.     port: '3306'
  14.     password: password
  15.     useSSL: false
  16.  
  17. Cosmetic-Item-Purchase:
  18.  # Set to true allows player to purchase cosmetic items.
  19.   Enabled: true
  20.   # Set the storage where do you want to save mystery dust.
  21.   # Available storages: 'default', 'coinsapi', 'playerpoints', 'vault'.
  22.   # 'default' represent follow player data storage.
  23.   Mystery-Dust-Storage: default
  24.   # Set to true will allows player to purchase specified cosmetic.
  25.   Enabled-Cosmetics:
  26.     Hats: true
  27.     Animated Hats: true
  28.     Particles: true
  29.     Suits: true
  30.     Gadgets: true
  31.     Pets: true
  32.     Miniatures: true
  33.     Morphs: true
  34.     Banners: true
  35.     Emotes: true
  36.     Cloaks: true
  37.   # Reopen GUI menu after player purchase item.
  38.   Reopen-GUI-Menu-After-Purchase: true
  39.   Execute-Command:
  40.    # Set to true will use 3rd plugin to store purchased cosmetic items,
  41.     # otherwise will saved in built-in storage.
  42.     Enabled: false
  43.     Command: pex user {PLAYER} add {PERMISSION}
  44.  
  45. # General settings.
  46. Settings:
  47.  # The mystery dust amount of the player who join the server first time.
  48.   Starting-Mystery-Dust: 0
  49.   # The maximum characters that player can set the pet name.
  50.   Max-Pet-Name-Characters: 20
  51.   # The slot when player equip gadget, emote or morph.
  52.   Gadget-Slot: 5
  53.   # Set how items are sorted in the menus.
  54.   # Sorting Types: DEFAULT, RARITY, NAME
  55.   Inventory-Sorting: DEFAULT
  56.   # The default value of Mystery Vault animation.
  57.   # The animation for the player who join the server first time.
  58.   # Animation: None, Normal, CountDown, Star, Crafting, Summer, Halloween, Holiday
  59.   Default-Mystery-Vault-Animation: NORMAL
  60.   # The default self morph view setting.
  61.   Default-Self-Morph-View: true
  62.   # Do you want to enable self morph view?
  63.   Enabled-Self-Morph-View: true
  64.   # Display player name above the mob disguise.
  65.   Show-Name-For-Mob-Disguise: true
  66.   # Do you want to enable mob disguise damage?
  67.   # Set to false will disable damage if disguised.
  68.   Enabled-Mob-Disguise-Damage: false
  69.   # Auto equip cosmetic after player purchased.
  70.   Auto-Equip-After-Purchase: true
  71.   # Auto equip cosmetic when player found loot from mystery box.
  72.   Auto-Equip-On-Loot-Found: true
  73.   # Set to true will shows particle effect to everyone,
  74.   # otherwise will only show to the player itself.
  75.   Show-Particle-Effect-To-Everyone: true
  76.   # Set to true will shows cloak effect to everyone,
  77.   # otherwise will only show to the player itself.
  78.   Show-Cloak-Effect-To-Everyone: true
  79.   # Set to true will hide particle effect for vanished player.
  80.   Hide-Particle-Effect-For-Vanished-Player: true
  81.   # Set to true will hide cloak effect for vanished player.
  82.   Hide-Cloak-Effect-For-Vanished-Player: true
  83.   # Do action when player equip cosmetic.
  84.   # Equip Type: REPLACE, WARN, DROP
  85.   # Replace: Replace the old item with equipped cosmetic.
  86.   # Warn: Send a warning message to the player and reject to equip cosmetic.
  87.   # Drop: Drop the old item on the ground and equip cosmetic.
  88.   Equip-Cosmetic-Item-To-Slot: WARN
  89.   # Sync player's selected cosmetics when they join the server.
  90.   Sync-Cosmetics-On-Join: true
  91.  
  92. # The menu selector settings.
  93. Menu-Item:
  94.  # The name of the selector.
  95.   Name: '&aGadgetsMenu'
  96.   # The material of the selector.
  97.   # Material: https://github.com/OnlyNoobDied/GadgetsMenu/wiki/Material-Syntax
  98.   Material: NETHER_STAR
  99.   # Slot: 0-8
  100.   Slot: 4
  101.   # Should give player menu selector when they join the server.
  102.   Give-On-Join: true
  103.   # The way to open menu selector.
  104.   # Click Type: LEFT, RIGHT, LEFT_AND_RIGHT
  105.   Click-Type: LEFT_AND_RIGHT
  106.   # Set to true allows player to move menu selector to another slot.
  107.   Able-To-Move: false
  108.   Lore:
  109.   - '&7Mystery Dust: &b{MYSTERY_DUST}'
  110.   - ''
  111.   - '&7Enjoy fun cosmetic features!'
  112.   - '&7More stuff will be added over time,'
  113.   - '&7make sure to check our update forums!'
  114.   - '&7Thanks you for supporting our server.'
  115.  
  116. # List of the worlds where cosmetics are enabled!
  117. Enabled-Worlds:
  118. - '*'
  119. - world
  120. - world_nether
  121. - world_the_end
  122.  
  123. # List of the disabled cosmetics.
  124. # Set to true to disable it.
  125. Disabled-Cosmetics:
  126.   Hats: false
  127.   Animated Hats: false
  128.   Particles: false
  129.   Suits: false
  130.   Gadgets: false
  131.   Pets: false
  132.   Miniatures: false
  133.   Morphs: false
  134.   Banners: false
  135.   Emotes: false
  136.   Cloaks: false
  137.  
  138. # Sync the last equipped cosmetics when player join the server.
  139. Cosmetics-Sync-On-Join:
  140.   Hats: true
  141.   Animated Hats: true
  142.   Particles: true
  143.   Suits: true
  144.   Gadgets: true
  145.   Pets: true
  146.   Miniatures: true
  147.   Morphs: true
  148.   Banners: true
  149.   Emotes: true
  150.   Cloaks: true
  151.  
  152. Permission:
  153.  # When player doesn't have the permission of that item.
  154.   No-Permission:
  155.    # Set to true will show the lore.
  156.     Show-In-Lore: false
  157.     # Should close GUI menu when player selected
  158.     # an item which he doesn't have the permission.
  159.     Close-GUI-Menu-After-Select: true
  160.     Lore:
  161.    - ''
  162.     - '&7Status: &c&lLOCKED'
  163.     # Set to true, will play sound
  164.     # when player select the item.
  165.     #
  166.     # Sounds: https://github.com/OnlyNoobDied/GadgetsMenu/wiki/Sounds
  167.     Play-Sound:
  168.       Enabled: true
  169.       Sound: ENTITY_ENDERMAN_TELEPORT
  170.     Show-Custom-Item:
  171.       Enabled: true
  172.       Material: GRAY_DYE
  173.  # When player have the permission of that item.
  174.   Has-Permission:
  175.    # Set to true will show the lore.
  176.     Show-In-Lore: false
  177.     Close-GUI-Menu-After-Select: true
  178.     Lore:
  179.    - ''
  180.     - '&7Status: &a&lUNLOCKED'
  181.     # Set to true, will play sound
  182.     # when player select the item.
  183.     #
  184.     # Sounds: https://github.com/OnlyNoobDied/GadgetsMenu/wiki/Sounds
  185.     Play-Sound:
  186.       Enabled: true
  187.       Sound: ENTITY_EXPERIENCE_ORB_PICKUP
  188.  
  189. # Discount the cost of an item when player purchase.
  190. Item-Cost-Discount:
  191.  # Set to true will enable item cost discount.
  192.   Enabled: true
  193.   # Which item do you want to enable item cost discount?
  194.   Discount:
  195.     Cosmetic-Item: true
  196.     Crafting-Mystery-Box: true
  197.   # You can add more discount rate by reference example.
  198.   Discount-Rates:
  199.    # The name of the discount group.
  200.     # This name is use for placeholder to get the cost after discount.
  201.     # Placeholder Syntax: {<name>_COST}
  202.     # Example: The placeholder for 'Default' is {DEFAULT_COST}.
  203.     # {COST}: Get the original price.
  204.     # {COST_LEFT}: How many cost left you need.
  205.     Default:
  206.      # Higher numbers override lower number groups.
  207.       Priority: 1
  208.       # The permission to grant cost discount.
  209.       Permission: gadgetsmenu.discount.default
  210.       # Discount rates.
  211.       # Range: 0 - 100
  212.       # If you purchase an item with 100 cost and 20% off,
  213.       # your final price will be 80.
  214.       Rate: 0
  215.       Lore:
  216.         Enough-Mystery-Dust:
  217.        - ''
  218.         - "&aRegular&7: &a{COST} &7Mystery Dust! &e\u25C0"
  219.        - '&cVIP: {VIP_COST} Mystery Dust (20% OFF!)'
  220.        - '&cMVP: {MVP_COST} Mystery Dust (40% OFF!)'
  221.        - ''
  222.        - '&7Your Cost: &a{DEFAULT_COST} &7Mystery Dust'
  223.        - '&eClick to craft!'
  224.        Not-Enough-Mystery-Dust:
  225.        - ''
  226.        - "&aRegular: {COST} Mystery Dust! &e\u25C0"
  227.        - '&cVIP: {VIP_COST} Mystery Dust (20% OFF!)'
  228.        - '&cMVP: {MVP_COST} Mystery Dust (40% OFF!)'
  229.        - ''
  230.        - '&7Your Cost: &c{DEFAULT_COST} &7Mystery Dust'
  231.        - '&cYou need &b{COST_LEFT} &cmore mystery dust!'
  232.    VIP:
  233.      Priority: 2
  234.      Permission: gadgetsmenu.discount.VIP
  235.      Rate: 20
  236.      Lore:
  237.        Enough-Mystery-Dust:
  238.        - ''
  239.        - '&8&mRegular: {COST} Mystery Dust!'
  240.        - "&aVIP&7: &a{VIP_COST} &7Mystery Dust (&a20% &7OFF!) &e\u25C0"
  241.         - '&cMVP: {MVP_COST} Mystery Dust (40% OFF!)'
  242.         - ''
  243.         - '&7Your Cost: &a{VIP_COST} &7Mystery Dust'
  244.         - '&eClick to craft!'
  245.         Not-Enough-Mystery-Dust:
  246.        - ''
  247.         - '&8&mRegular: {COST} Mystery Dust!'
  248.         - "&aVIP&7: &a{VIP_COST} &7Mystery Dust (&a20% &7OFF!) &e\u25C0"
  249.         - '&cMVP: {MVP_COST} Mystery Dust (40% OFF!)'
  250.         - ''
  251.         - '&7Your Cost: &c{VIP_COST} &7Mystery Dust'
  252.         - '&cYou need &b{COST_LEFT} &cmore mystery dust!'
  253.     MVP:
  254.       Priority: 3
  255.       Permission: gadgetsmenu.discount.MVP
  256.       Rate: 40
  257.       Lore:
  258.         Enough-Mystery-Dust:
  259.        - ''
  260.         - '&8&mRegular: {COST} Mystery Dust!'
  261.         - '&8&mVIP: {VIP_COST} Mystery Dust (20% OFF!)'
  262.         - "&bMVP&7: &a{MVP_COST} &7Mystery Dust (&a40% &7OFF!) &e\u25C0"
  263.         - ''
  264.         - '&7Your Cost: &a{MVP_COST} &7Mystery Dust'
  265.         - '&eClick to craft!'
  266.         Not-Enough-Mystery-Dust:
  267.        - ''
  268.         - '&8&mRegular: {COST} Mystery Dust!'
  269.         - '&8&mVIP: {VIP_COST} Mystery Dust (20% OFF!)'
  270.         - "&bMVP&7: &a{MVP_COST} &7Mystery Dust (&a40% &7OFF!) &e\u25C0"
  271.         - ''
  272.         - '&7Your Cost: &a{MVP_COST} &7Mystery Dust'
  273.         - '&cYou need &b{COST_LEFT} &cmore mystery dust!'
  274.  
  275. # When player clicks 'Go Back' button will execute these commands.
  276. # If you enabled this option, it won't open the main menu of GadgetsMenu.
  277. # Placeholders: {PLAYER}
  278. Back-To-Main-Menu:
  279.   Execute-Commands:
  280.     Enabled: false
  281.     Commands:
  282.    - cc open menu.yml {PLAYER}
  283.  
  284. # Set to true will fill the blank slots of inventories with the item you set.
  285. Fill-Empty-Slot-With-Item:
  286.   Enabled: false
  287.   Material: BLACK_STAINED_GLASS_PANE
  288.  
  289. # List of commands that won't work when equip a cosmetic.
  290. # Type commands in lowercase without slashes.
  291. Disabled-Commands:
  292. - hat
  293. - ah sell
  294.  
  295. # Anti Lag System.
  296. # Activate these actions if server TPS is below the minimum TPS.
  297. Anti-Lag:
  298.   Enabled: true
  299.   Minimum-TPS: 17
  300.   Action:
  301.    # Unequip online players cosmetics.
  302.     Clear-Cosmetics: true
  303.     # Disable the usage of cosmetics.
  304.     Disable-Usage: true
  305.  
  306. # Player does not allow to use cosmetics in these regions. (Require WorldGuard)
  307. Blacklisted-Regions:
  308.   Disable-All-Cosmetics:
  309.  - region1
  310.   - region2
  311.   - region3
  312.   Disable-Hats: ''
  313.   Disable-Animated-Hats: ''
  314.   Disable-Particles: ''
  315.   Disable-Suits: ''
  316.   Disable-Gadgets: ''
  317.   Disable-Pets: ''
  318.   Disable-Miniatures: ''
  319.   Disable-Morphs: ''
  320.   Disable-Banners: ''
  321.   Disable-Emotes: ''
  322.   Disable-Cloaks: ''
  323.   Disable-Pet-Riding: ''
  324.  
  325. # Check for updates if you set to true.
  326. Check-Update: true
  327.  
  328. # Do not edit this.
  329. Config-Version: 2.0.3
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement