Advertisement
norskaaa

DeluxeSellwands / Default Config

Aug 9th, 2021 (edited)
2,268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 16.12 KB | None | 0 0
  1. #########################################################################################
  2. #                                                                                       #
  3. # DeluxeSellwands, a premium resource by Norska @ https://norska.dev                    #
  4. #                                                                                       #
  5. # Wiki: https://norska.dev/docs/welcome/                                                #
  6. # Support: https://norska.dev/discord/                                                  #
  7. #                                                                                       #
  8. # You are editing the config.yml file of DeluxeSellwands.                               #
  9. #                                                                                       #
  10. #########################################################################################
  11.  
  12. #########################################################################################
  13. #                                                                                       #
  14. # NOTE: PLEASE READ BEFORE CONFIGURING!                                                 #
  15. #                                                                                       #
  16. # Please consult the wiki for any questions regarding the setup of this plugin, if you  #
  17. # still require help, open a ticket on my discord server!                               #
  18. #                                                                                       #
  19. #########################################################################################
  20.  
  21. ##################################
  22. #                                #
  23. #          ITEM PRICES           #
  24. #                                #
  25. ##################################
  26.  
  27. # Note: Only one set to true at a time.
  28. priceHandlers:
  29.    deluxesellwands: true
  30.    shopguiplus: false
  31.    essentialsworth: false
  32.    cmi: false
  33.    onestopshop: false
  34.    guishop: false
  35.    zshop: false
  36.    economyshopgui: false
  37.    deluxebazaar: false
  38.    shops: false
  39.    autosell: false
  40.    
  41. priceHandlerSettings:
  42.   # Note: What to display in sell messages
  43.    currencyName: "$"
  44.    # Note: 1 -> Will display currencyName before currency (e.g $50). 2 -> Will display currencyName after currency (e.g 50$)
  45.    format: 1
  46.      
  47. # Note: Format -> '<MATERIAL>;<DATA>;<PRICE>.' CAN ONLY BE USED IF DELUXESELLWANDS IS THE PRICE HANDLER!
  48. prices:
  49. - 'DIAMOND;0;5.0'
  50. - 'EMERALD;0;10.0'
  51.  
  52. # Note: CAN ONLY BE USED IF DELUXESELLWANDS IS THE PRICE HANDLER!
  53. # The system works by comparing materials and display names, those two must match 100%.
  54. # You can also define the world for which the custom item is sellable. You can also have
  55. # different prices per world for the same custom item.
  56. # Use "IGNORE" in name or worlds if you want to skip that specific check.
  57. customItemPrices:
  58.    example1:
  59.       material: "DIAMOND;0"
  60.       name: "&bShiny Diamond"
  61.       worth: 10.0
  62.       worlds:
  63.      - 'IGNORE'
  64.    example2:
  65.       material: "EMERALD;0"
  66.       name: "&aShiny EMERALD"
  67.       worth: 20.0
  68.       worlds:
  69.      - 'IGNORE'
  70.    example3:
  71.       material: "EMERALD;0"
  72.       name: "IGNORE"
  73.       worth: 20.0
  74.       worlds:
  75.      - 'world_nether'
  76.  
  77. ##################################
  78. #                                #
  79. #           HOLOGRAMS            #
  80. #                                #
  81. ##################################
  82.            
  83. holograms:
  84.    settings:
  85.      # Handlers: HolographicDisplays, CMI, DecentHolograms
  86.       # Note: CMI uses a different RGB format -> {#8b4726}
  87.       handler: "HolographicDisplays"
  88.    sale:
  89.       enabled: true
  90.       displayTime: 3
  91.       layouts:
  92.         # Placeholders: {0} = money, {1} = amount
  93.          success:
  94.         - '&a✔ <SOLID:77ff00>&nSALE'
  95.          - '&f→ <SOLID:9cff6b>Value: &f{0}'
  96.          - '&f→ <SOLID:ffb56b>Items: &fx{1}'
  97.          failure:
  98.         - '&4❌ <SOLID:fc0384>&nWARN'
  99.          - '&f(<SOLID:ff6984>&oNo valuables found!&f)'
  100.       offset:
  101.          X: 0.5
  102.          Y: 1
  103.          Z: 0.5
  104.    inspection:
  105.       enabled: true
  106.       displayTime: 3
  107.       layouts:
  108.         # Placeholders: {0} = money, {1} = amount
  109.          success:
  110.         - '&e⭐ <SOLID:fff873>&nINSPECTION'
  111.          - '&f→ <SOLID:9cff6b>Value: &f{0}'
  112.          - '&f→ <SOLID:ffb56b>Items: &fx{1}'
  113.          failure:
  114.         - '&4❌ <SOLID:fc0384>&nWARN'
  115.          - '&f(<SOLID:ff6984>&oNo valuables found!&f)'
  116.       offset:
  117.          X: 0.5
  118.          Y: 1
  119.          Z: 0.5
  120.    toggleCommand:
  121.       enabled: true
  122.       # Commands must be in CAPS and have a / in front of them
  123.       commands:
  124.      - '/SELLWANDS TOGGLE HOLOGRAMS'
  125.       - '/SELLWAND TOGGLE HOLOGRAM'
  126.       affects:
  127.          sale: true
  128.          inspection: true
  129.          errors: true
  130.  
  131. ##################################
  132. #                                #
  133. #      INSPECTION & EXTRAS       #
  134. #                                #
  135. ##################################
  136.      
  137. # Note: Here you can toggle the inspection feature, look at other sections for deeper customization regarding this feature.
  138. inspect:
  139.    enabled: true
  140.    
  141. extra:
  142.    usableOnHoppers: true
  143.    usableOnShulkers: true
  144.    usableOnBarrels: true
  145.    # Note: Whether or not to skip items with display names (which might be special items, etc).
  146.    skipItemsWithDisplayName: true
  147.    # Note: Whether or not to sell items inside shulkers which are inside another container.
  148.    sellShulkerContent: true
  149.  
  150. ##################################
  151. #                                #
  152. #    VALUE DISPLAY SETTINGS      #
  153. #                                #
  154. ##################################
  155.  
  156. # Note: Here you can configure how the infinite placeholder & numbers show in messages/lores.
  157. other:
  158.    infiniteDisplay: "∞"
  159.    # Note: Format can be 1 or 2. 1 = Display 10000 as 10,000. 250000 as 250,000 etc. // 2 = Display 10000 as 10k. 1000000 as 1M etc.
  160.    numberFormat: 1  
  161.  
  162. ##################################
  163. #                                #
  164. #          STATISTICS            #
  165. #                                #
  166. ##################################
  167.    
  168. # Note: Here you can configure the statistics tracking feature for sellwands.
  169. statistics:
  170.    trackMoneyMade: true
  171.    trackItemsSold: true
  172.  
  173. ##################################
  174. #                                #
  175. #           COOLDOWNS            #
  176. #                                #
  177. ##################################
  178.  
  179. # Note: The interval must be a positive integer (e.g 10) and is counted in seconds.
  180. # Note: You can find bypass permissions on the wiki.
  181. cooldowns:
  182.    usageCooldown:
  183.       enabled: false
  184.       cooldown: 3
  185.    inspectCooldown:
  186.       enabled: false
  187.       cooldown: 3
  188.    toggleHolograms:
  189.       enabled: true
  190.       cooldown: 15
  191.    toggleConfirmDrop:
  192.       enabled: true
  193.       cooldown: 15
  194.    toggleConfirmSell:
  195.       enabled: true
  196.       cooldown: 15
  197.    sellHand:
  198.       enabled: true
  199.       cooldown: 10
  200.    sellHandAll:
  201.       enabled: true
  202.       cooldown: 30
  203.    sellInventory:
  204.       enabled: true
  205.       cooldown: 60
  206.      
  207. ##################################
  208. #                                #
  209. #    DROP & SELL CONFIRMATION    #
  210. #                                #
  211. ##################################      
  212.  
  213. # READ ME: Find configurable messages in messages.yml
  214. # READ ME: You can configure cooldowns in the above section
  215.    
  216. # Note: Toggle whether or not players have to confirm (double-drop) sellwands in order to actually drop them.
  217. # Note: The interval must be a positive integer (e.g 10) and is counted in seconds.  
  218. confirmDrop:
  219.    enabled: true
  220.    interval: 10
  221.    toggleCommand:
  222.       enabled: true
  223.       # Commands must be in CAPS and have a / in front of them
  224.       commands:
  225.      - '/SELLWANDS TOGGLE DROPCONFIRM'
  226.       - '/SELLWAND TOGGLE DROPCONFIRM'
  227.  
  228. # Note: Toggle whether or not players have to double-right-click a container in order to sell it.
  229. confirmSell:
  230.    enabled: true
  231.    toggleCommand:
  232.       enabled: true
  233.       # Commands must be in CAPS and have a / in front of them
  234.       commands:
  235.      - '/SELLWANDS TOGGLE SELLCONFIRM'
  236.       - '/SELLWAND TOGGLE SELLCONFIRM'
  237.    
  238. ##################################
  239. #                                #
  240. #             TAXES              #
  241. #                                #
  242. ##################################
  243.    
  244. # Note: decideFor can be MAX or MIN. This option is here in order for tax to work well with group/perm inheritance.
  245. # - MAX = Grab the highest tax (works for when higher ranks [ranks that inherit lower ranks perms] have a higher tax rate).
  246. # - MIN = Grab the lowest tax (works for when higher ranks [ranks that inherit lower ranks perms] have a lower tax rate).
  247. # Note: To apply taxes just add "dsw.tax.<integer value>", for example a user with "dsw.tax.10" will have a 10% tax rate on every sale.
  248. tax:
  249.    decideFor: MIN
  250.  
  251. ##################################
  252. #                                #
  253. #     SELLWAND OWNER BINDING     #
  254. #                                #
  255. ##################################
  256.  
  257. sellwandBinding:
  258.    settings:
  259.      # Note: Whether or not to bind sellwands to their owners (player that uses the wand for the first time).
  260.       enabled: false
  261.       disableUsageEntirely:
  262.         # Note: Whether or not to disable usage of the sellwand entirely if it is not owned by the player trying to use it.
  263.          enabled: false
  264.       taxes:
  265.         # Note: Whether or not to tax the player that uses another player's sellwand, for this feature to work disableUsageEntirely needs to be set to false.
  266.          enabled: false
  267.          # Note: This tax gets applied last (after other boosts, taxes, etc.). Accepted values -> Integer.
  268.          percentage: 25
  269.       placeholders:
  270.         # Note: What the {4} placeholder (ITEM section) will show when the sellwand is not bound yet.
  271.          notBound: "Not bound to a player"
  272.      
  273.  
  274. ##################################
  275. #                                #
  276. #       USER HELP COMMAND        #
  277. #                                #
  278. ##################################
  279.      
  280. # Note: helpCommand will display a help message/menu which you can configure in DeluxeSellwands' messages.yml file.
  281. helpCommand:
  282.    enabled: true
  283.    # Commands must be in CAPS and have a / in front of them
  284.    # These commands will override commands from other plugins, it is best to disable the other plugin's commands if you use DeluxeSellwands'.
  285.    commands:
  286.   - '/SELLWANDS'
  287.    - '/SELLWANDS HELP'
  288.    - '/SELLWANDS ?'      
  289.    
  290. ##################################
  291. #                                #
  292. #         SELL COMMANDS          #
  293. #                                #
  294. ##################################
  295.  
  296. # Note: Here you can configure the sell commands feature.
  297. # Note: You can find permissions for each commands in the documentation.
  298. sellCommands:
  299.   # Note: sellHand will attempt to sell the item you are currently holding.
  300.    sellHand:
  301.       enabled: true
  302.       # Commands must be in CAPS and have a / in front of them
  303.       # These commands will override commands from other plugins, it is best to disable the other plugin's commands if you use DeluxeSellwands'.
  304.       commands:
  305.      - '/SELL HAND'
  306.    # Note: sellHandAll will attempt to sell the item you are currently holding, and the rest of the same item you may have in your inventory.
  307.    sellHandAll:
  308.       enabled: true
  309.       # Commands must be in CAPS and have a / in front of them
  310.       # These commands will override commands from other plugins, it is best to disable the other plugin's commands if you use DeluxeSellwands'.
  311.       commands:
  312.      - '/SELL HAND ALL'
  313.       - '/SELL HANDALL'
  314.    # Note: sellInventory will attempt to sell all of the items in your inventory.
  315.    sellInventory:
  316.       enabled: true
  317.       # Commands must be in CAPS and have a / in front of them
  318.       # These commands will override commands from other plugins, it is best to disable the other plugin's commands if you use DeluxeSellwands'.
  319.       commands:
  320.      - '/SELL ALL'
  321.       - '/SELL INV'
  322.       - '/SELL INVENTORY'
  323.  
  324. ##################################
  325. #                                #
  326. #            CHARGERS            #
  327. #                                #
  328. ##################################
  329.  
  330. # You can configure charger items in items.yml.          
  331. chargers:
  332.    enabled: true
  333.    settings:
  334.      # Note: This will make sellwands unusable if their uses are at 0 instead of breaking them. This will not work if chargers are disabled.
  335.       preventSellwandBreak: true
  336.       # Note: Prevent using chargers on various occassions.
  337.       preventIf:
  338.         # Note: Prevent using chargers on sellwands with a multiplier above the one define here.
  339.          multipliers:
  340.             enabled: false
  341.             isAbove: 5.0
  342.          # Note: Prevent using chargers on specific type sellwands.
  343.          type:
  344.             enabled: false
  345.             # Note: When adding to the list, use UPPERCASE.
  346.             blocked:
  347.            - 'SELL_GAUNTLET'
  348.    gui:
  349.      # Placeholders: {0} = charger uses
  350.       title: "&0Select sellwand... (&a&l+{0} uses&0)"
  351.      
  352. ##################################
  353. #                                #
  354. #            LOGGER              #
  355. #                                #
  356. ##################################
  357.  
  358. # Note: Whether or not to log sellwand events.
  359. logger:
  360.    enabled: true
  361.    formats:
  362.      # Note: Name of the files that generate in DeluxeSellwands/logs.
  363.       file: "dd.MM.yyyy"
  364.       # Note: Start of the log entry inside each log file.
  365.       entry: "dd.MM.yyyy @ HH:mm:ss"
  366.    types:
  367.      # Note: Log sale events
  368.       sale: true
  369.       # Note: Log inspection events
  370.       inspect: false
  371.       # Note: Log drop confirmation events
  372.       drops: false
  373.       # Note: Log charger events
  374.       chargers: false
  375.       # Note: Log give commands
  376.       give: true
  377.       # Note: Log admin token add commands
  378.       tokenAdd: true
  379.       # Note: Log admin token take commands
  380.       tokenTake: true
  381.       # Note: Log admin token set commands
  382.       tokenSet: true
  383.       # Note: Log player enchanting events
  384.       enchantments: true  
  385.  
  386. ##################################
  387. #                                #
  388. #             HOOKS              #
  389. #                                #
  390. ##################################
  391.    
  392. hooks:
  393.  
  394.    # Note: Find customizable sounds/messages for LockettePro in DeluxeSellwands' messages.yml and sounds.yml file!  
  395.    lockettepro:
  396.       enabled: true
  397.      
  398.    coreprotect:
  399.       enabled: true
  400.      
  401.    lwc:
  402.       enabled: true
  403.          
  404.    elitemasks:
  405.       enabled: true
  406.      
  407.    superboosters:
  408.       enabled: true
  409.      
  410.    worldguard:
  411.       enabled: true
  412.      
  413.    advancedchests:
  414.       enabled: true
  415.      
  416.    wildchests:
  417.       enabled: true
  418.      
  419.    towny:
  420.       enabled: true
  421.      
  422.    superiorskyblock2:
  423.       enabled: true
  424.      
  425.    bentobox:
  426.       enabled: true
  427.      
  428.    # Note: Find customizable sounds/messages for HuskTowns in DeluxeSellwands' messages.yml and sounds.yml file!  
  429.    husktowns:
  430.       enabled: true
  431.  
  432.    # Note: The penalty system gives less money (percentage) to users that use the sellwand to steal from enemy factions.
  433.    # Note: The penalty must be a positive integer (e.g 25).
  434.    # Note: Find customizable sounds/messages for Factions in DeluxeSellwands' messages.yml and sounds.yml file!  
  435.    factions:
  436.       enabled: true
  437.       allowUsageInEnemyLand:
  438.          enabled: true
  439.          penalty:
  440.             enabled: true
  441.             percentage: 25
  442.            
  443.    # Note: Here you can configure the permission item that shows up in "/is permissions", to toggle usage of sellwands for specific ranks on your island. IridiumSkyblock v3+ ONLY!
  444.    # Note: Use the placeholder %permission% in the lore!
  445.    # Note: Find customizable sounds/messages for IridiumSkyblock in DeluxeSellwands' messages.yml and sounds.yml file!
  446.    iridiumskyblock:
  447.       enabled: true
  448.       permission:
  449.          material: "STICK"
  450.          amount: 1
  451.          slot: 1
  452.          name: "&eUse sellwands"
  453.          lore:
  454.         - '&7Grant the ability to use sellwands on your Island.'
  455.          - ''
  456.          - '&e&lPermission'
  457.          - '%permission%'
  458.          
  459. updates:
  460.    notifications: true
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement