Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Settings on how permissions should be handled
- permission-settings:
- # If the wrap inventory open permission should be checked on wraps inventory open
- inventory-permission: false
- # If the preview should be disabled if the player doesn't have the permission for the wrap
- preview-permission: false
- # If permission checks should be performed during usage for...
- # ...physical wraps
- check-permission-physical: true
- # ...virtual wraps
- check-permission-virtual: true
- # If permissions should be checked on appliance for...
- # ...physical wraps
- permission-physical: true
- # ...virtual wraps
- permission-virtual: true
- # Preview settings
- preview:
- # Duration of the preview in seconds
- duration: 5
- # Rotation per tick (50ms)
- rotation: 5
- # Sneak to cancel preview settings
- sneak-cancel:
- # If the preview should be cancelled when sneaking
- enabled: true
- # If the configured message should be sent as an action bar while previewing
- action-bar: true
- # Lets the preview item move up and down
- bobbing:
- # If the item should bob while previewing
- enabled: true
- # How fast it should bob up and down
- speed: 7
- # How far it should bob up and down
- intensity: 0.25
- # The items with wraps
- # You can configure them here or in a wrap file, which are located in plugins/HMCWraps/wraps/
- items:
- # Wraps of every item in the 'SWORDS' collection
- SWORDS:
- # Wrap list
- wraps:
- 1:
- # The permission to virtually apply this wrap (inventory) (nullable)
- permission: 'hmcwraps.fire_sword'
- # The UUID (global identifier), has to be unique in ALL wraps!
- uuid: 'fire_sword'
- # Either custom model id or a hook to get the custom model id
- id: 'itemsadder:hmcwraps:fire_sword'
- # The color of the item (this won't do anything now because this isn't dye able) (nullable, just here for demonstration)
- color: '#ffffff'
- # The name in the wraps inventory
- name: '<red>Fire <gray>Wrap'
- # The name in the wraps inventory, if the player doesn't have the permission above (nullable)
- locked-name: '<red><bold>Locked!'
- # The lore in the wraps inventory (nullable)
- lore:
- - '<gray>Apply this wrap to make your sword look fire!'
- # The lore in the wraps inventory, if the player doesn't have the permission above (nullable)
- locked-lore:
- - '<gray>You need to buy this item in our <red>store<gray>!'
- # If it should glow in the wraps inventory (nullable)
- glow: true
- # The flags the item should have in the wraps inventory (nullable)
- flags:
- - 'HIDE_ATTRIBUTES'
- model-id-include: []
- model-id-exclude: []
- # Item actions, all possible action triggers are listed below. For a full list of actions, see the wiki.
- # Examples: TITLE: ['0.5 5 1 <red>HMCWRaps'], COMMAND: ['me is mega sus'], PARTICLE: ['heart']
- # Note: The actions entry and all action lists are nullable, so you can just remove this section if you don't need it
- actions:
- wrap: { }
- wrap-virtual: { }
- wrap-physical: { }
- unwrap: { }
- unwrap-virtual: { }
- unwrap-physical: { }
- preview: { }
- # The physical wrap to apply (nullable)
- physical:
- # The Bukkit material or a hook
- id: 'itemsadder:hmcwraps:fire_sword_wrap'
- # Name displayed
- name: '<red>Fire <gray>Wrap for <red>swords'
- # If the wrap should be given to the player after they unwrap the item or re wrap it
- keep-after-unwrap: true
- # Lore displayed
- lore:
- - '<green>Apply this to an item to wrap it!'
- # Wraps of every item in the 'PICKAXES' collection
- PICKAXES:
- wraps:
- 1:
- permission: 'hmcwraps.fire_pickaxe'
- uuid: 'fire_pickaxe'
- id: 'itemsadder:hmcwraps:fire_pickaxe'
- name: '<red>Fire <gray>Wrap'
- lore:
- - '<gray>Apply this wrap to make your pickaxe look fire!'
- glow: true
- flags:
- - 'HIDE_ATTRIBUTES'
- locked-item:
- id: 'BARRIER'
- name: '<red><bold>Locked!'
- lore:
- - '<gray>You need to buy this item in our <red>store!'
- physical:
- id: 'itemsadder:hmcwraps:fire_pickaxe_wrap'
- name: '<red>Fire <gray>Wrap for <blue>Diamond Pickaxe'
- keep-after-unwrap: true
- lore:
- - '<green>Apply this to an item to wrap it!'
- collections:
- # The unwrapper configuration
- unwrapper:
- # The Bukkit material or a hook
- id: 'itemsadder:hmcwraps:unwrapper'
- # Name displayed
- name: '<green><bold>Unwrapper'
- # Lore displayed
- lore:
- - '<green>Apply this to an item to unwrap it!'
- - '<gray>You may get the physical wrap back.'
- # Store a players preference set using actions (SET_FAVORITE) and apply it on pick up and inventory move
- # This feature shouldn't do anything if you don't use the action, but if you have and don't want it anymore, disable this again
- favorites:
- # If the feature should be enabled
- enabled: false
- # The inventory filter configuration
- # This feature shouldn't do anything if you don't use the action, but if you have and don't want it anymore, disable this
- # If you want the inventory to only show wraps the player owns, enable this feature and set default to 'true' and don't change it using actions
- filter:
- # If the feature should be enabled
- enabled: true
- # If the inventory should be filtered by default
- default: false
- # Settings for model id & color preservation
- preservation:
- model-id:
- # If the model id should be restored after it gets unwrapped from before the item got wrapped
- # NOTE: If there is an original model id stored on the item, that will get preferred over original model ids
- # NOTE: Disabling both options will result in all items ending up with the model id '-1' when unwrapped
- original-enabled: true
- # If the model id should be set to the id below when the item is unwrapped
- default-enabled: false
- # The default model ids for items that get unwrapped
- defaults:
- # Every item in the 'PICKAXES' collection will end up with the model id 0 after getting unwrapped
- PICKAXES: 0
- # Iron shovels will end up with the model id 0 after getting unwrapped
- IRON_SHOVEL: 0
- # Basically the same as model-id preservation, but with the color
- color:
- original-enabled: true
- default-enabled: false
- defaults: { }
- # Still the same, but with the name
- name:
- original-enabled: true
- default-enabled: false
- defaults: {}
- # I think you get the idea
- lore:
- original-enabled: false
- default-enabled: false
- defaults: {}
- # The version checker configuration
- updater:
- # If the version checker should be enabled
- enabled: true
- # How often the version checker should check for updates
- frequency: 20h
- # Where the version checker should check for updates (POLYMART, SPIGOT_MC)
- platform: SPIGOT_MC
- # The inventory (/wraps)
- inventory:
- # Shortcut settings
- shortcut:
- # If the shortcut to open the wrap inventory when shift & right-clicking should be enabled
- enabled: true
- # What items can't be used to open the inventory
- exclude: []
- # The title
- title: :offset_-8:<white>Ꮉ
- # Type of inventory, SCROLLING or PAGINATED
- type: PAGINATED
- # How many rows the inventory should have
- rows: 6
- # Actions executed when clicking a wrap
- actions: {}
- # The slot to set the item the player is holding to (-1 to disable)
- target-item-slot: 40
- # The set items in the inventory, every empty slot will be filled with wraps
- items:
- 0:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 8:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 9:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 17:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 18:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 26:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 27:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 35:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 36:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 37:
- id: 'PAPER'
- model-id: 10007
- name: '<green>Previous'
- actions:
- any:
- SCROLL_BACK:
- - ''
- 38:
- id: 'PAPER'
- model-id: 10007
- name: '<green>Previous'
- actions:
- any:
- SCROLL_BACK:
- - ''
- 39:
- id: 'PAPER'
- model-id: 10007
- name: '<red>Unwrap'
- lore:
- - '<gray>Unwrap your current item'
- actions:
- any:
- UNWRAP:
- - ''
- 41:
- id: 'PAPER'
- model-id: 10007
- name: '%hmcwraps_filter%'
- lore:
- - '<gray>Toggle to see all'
- - '<gray>or only owned wraps.'
- actions:
- any:
- TOGGLE_FILTER:
- - ''
- 42:
- id: 'PAPER'
- model-id: 10007
- name: '<green>Next'
- actions:
- any:
- SCROLL_FORTH:
- - ''
- 43:
- id: 'PAPER'
- model-id: 10007
- name: '<green>Next'
- actions:
- any:
- SCROLL_FORTH:
- - ''
- 44:
- id: 'PAPER'
- model-id: 10007
- name: ''
- # Slots start from 0
- 45:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 46:
- # The Bukkit material or hook
- id: 'PAPER'
- model-id: 10007
- # The name
- name: ''
- 47:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 48:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 49:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 50:
- id: 'PAPER'
- model-id: 10007
- name: ''
- # No arguments are needed
- 51:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 52:
- id: 'PAPER'
- model-id: 10007
- name: ''
- 53:
- id: 'PAPER'
- model-id: 10007
- name: ''
Add Comment
Please, Sign In to add comment