Advertisement
Guest User

MysticCrates/config.yml

a guest
Jan 25th, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.77 KB | None | 0 0
  1. # MysticCrates v0.1 - Callum McCloskey
  2.  
  3. # Syntax Explanation
  4. #
  5. # <console> - anything that follows this tag will be executed as command by console.
  6. # <message> - anything that follows this tag will messaged to the player involved with the event.
  7. # <prefix> - returns the set prefix from the settings of this configuration file.
  8. # <player> - returns the name of the player involved with the event.
  9. # <crate> - returns the name of the crate involved with the event. (Can only be used in a crate's .yml file)
  10. # <close> - specific tag to the crate shop which will close the shop.
  11.  
  12. # General plugin settings.
  13. settings:
  14.   prefix: "&5MysticCrates &8|"
  15.  
  16. # User Storage - Where should player data be stored?
  17. storage:
  18.   database:
  19.     enabled: false
  20.     ip: "ip"
  21.     port: "port"
  22.     name: "database-name"
  23.     username: "username"
  24.     password: "password"
  25.   flatfile:
  26.     enabled: true
  27.  
  28. # Holograms displayed above crate blocks showing relevant information. (Requries HolographicDisplays)
  29. crate-holograms:
  30.   enabled: false
  31.   example:
  32.     - "&8> &5Example Crate &8<"
  33.     - "&7&oRight-click to preview rewards!"
  34.     - "&7&oLeft-click to use key!"
  35.  
  36. # A shop that can be used by players to purchase crates for in-game currency. (Requires Vault)
  37. # Whenever the /crate shop command is executed if this shop is enabled it will open the page with the name 'index'.
  38. # If you do not have an index page, the shop will not work!
  39. crate-shop:
  40.   enabled: true
  41.   pages:
  42.     index:
  43.      title: "&5Crate Shop"
  44.      size: 27
  45.      items:
  46.        1:
  47.          item:
  48.            type: "TRIPWIRE_HOOK"
  49.            name: "&5Keys"
  50.            lore:
  51.             - "&7Click to open the keys category!"
  52.            glow: true
  53.          slots: "14"
  54.          open-page: "keys"
  55.        2:
  56.          item:
  57.            type: "RED_STAINED_GLASS_PANE"
  58.            name: " "
  59.          slots: "1,2,3,4,5,6,7,8,9,10,11,12,13,15,16,17,18,19,20,21,22,23,24,25,26,27"
  60.     keys:
  61.       title: "&5Keys"
  62.       size: 9
  63.       items:
  64.        1:
  65.          item:
  66.            type: "TRIPWIRE_HOOK"
  67.            name: "&5Example Crate Key"
  68.            lore:
  69.             - "&7Win anything from $1k - $250k!"
  70.              - ""
  71.              - "&7Right-click to purchase a this key for &a$&f10,000"
  72.            glow: true
  73.          slots: "5"
  74.          price: 10000
  75.          on-click:
  76.            success:
  77.             - "<console> crate key physical <player> example 1"
  78.              - "<message> <prefix> &7You have purchased an &fExample &7key for &a$10,000&7!"
  79.            failure:
  80.             - "<close>"
  81.              - "<message> <prefix> &7You can't afford this key!"
  82.        2:
  83.          item:
  84.            type: "RED_STAINED_GLASS_PANE"
  85.            name: "&cBack"
  86.          slots: "1,2,3,4,6,7,8,9"
  87.          open-page: "index"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement