CC - Config Files

Aug 7, 2016
CC - Config Files
  • Config.YML
    > ---------------
    Code (Text):

    #------------------------------------------------------------------------------------------------------#
    #            _____                 _       _ _             _    _____           _                      #
    #           / ____|               (_)     | (_)           | |  / ____|         | |                     #
    #          | (___  _ __   ___  ___ _  __ _| |_ _______  __| | | |     _ __ __ _| |_ ___  ___           #
    #           \___ \| '_ \ / _ \/ __| |/ _` | | |_  / _ \/ _` | | |    | '__/ _` | __/ _ \/ __|          #
    #           ____) | |_) |  __/ (__| | (_| | | |/ /  __/ (_| | | |____| | | (_| | ||  __/\__ \          #
    #          |_____/| .__/ \___|\___|_|\__,_|_|_/___\___|\__,_|  \_____|_|  \__,_|\__\___||___/          #
    #                 | |                                                                                  #
    #                 |_|                                                                                  #
    #------------------------------------------------------------------------------------------------------#


    #---------------------------------------#
    #           Mechanic Settings           #
    #---------------------------------------#

    # How would you to store player statistics? Current options: FLATFILE, PLAYERFILES
    # FLATFILE: Every player's data is stored in one single file.
    # PLAYERFILES: Every player has their own file that stores their data.
    #     note: MYSQL is coming soon.
    store-data: FLATFILE

    # What plugin status messages would you like to be logged into console?
    # Options:
    #  EVERYTHING - Logs successful loads and failed loads.
    #  FAILURES - Logs all loading failures.
    #  NOTHING - Logs nothing at all to console.
    log-successes: FAILURES

    # Would you like the plugin to notify you of updates?
    notify-updates: true

    # Is the plugin in debug mode?
    debug: false

    #------------------------------------#
    #           Crate Settings           #
    #------------------------------------#

    # How many open inventory slots are required to open an inventory?
    required-slots: 1

    # Do you want explosions to destroy dynamic crates?
    explosions-destroy-dynamic-crates: true

    # Should the player be pushed back when the wrong key is used?
    push-back: true

    # Should people be allowed to place crates in creative mode?
    place-creative: false

    # Should people be allowed to open crates in creative mode?
    open-creative: false

    # How many blocks should the hologram be offset from its original place?
    #    Note: This value applies to ALL crates, each individual crate can have its
    #          own hologram-offset set in their respective files.
    hologram-offset: 0

    # Should the break effect be played when a crate is placed / created?
    place-effect: true

    #-------------------------------------------#
    #           Crate Action Settings           #
    #-------------------------------------------#

    # Referring to the Action Bar, Title, and/or Subtitle...

    # How long would you like the message to take, in seconds, to fade in?
    fade-in-time: 0

    # How long would you like the message to stay on the screen, in seconds?
    stay-time: 4

    # How long would you like the message to take, in seconds, to fade out?
    fade-out-time: 1

    #-------------------------------------------#
    #           Lucky Crate Settings            #
    #-------------------------------------------#

    # Should lucky chests spawn when blocks are broken in creative mode?
    luckychest-creative: false

    # After how many MINUTES should a lucky crate despawn? Set to -1 for them to NEVER disappear.
    # This is just to prevent lag from having so many lucky crates around the world.
    # 1 hour = 60 minutes
    # 1 day = 1440 minutes
    # 1 month = 43800 minutes
    luckychest-despawn-after: -1

    #-----------------------------------------------#
    #             Virtual Crate Settings            #
    #-----------------------------------------------#

    # What multicrate is run when /crates is run
    crates-command-multicrate: AllCrates

    # What is the name of the menu of the /crates inventory
    crates-command-name: '&b&lVirtual &7&lCrates'

    # If a player has both a virtual key and a physical key, should it prioritize the physical or virtual key?
    prioritize-physical-key: true

    # Should multicrates show the virtual key count?
    virtual-crate-keycount: true

    # Should the multicrates show the virtual crate count?
    virtual-crate-cratecount: true

    # Format for how the player's virtual keys and crates are show
    #    note: This is added to the bottom of the displayed crate's lores.
    #
    # > %keys% - Amount of virtual keys
    # > %crates% - Amount of virtual crates
    virtual-crate-lore: '&cCrates: &f(&7%crates%&f)'
    virtual-key-lore: '&cKeys: &f(&7%keys%&f)'



    #-------------------------------------------------------#
    #       Rewards Display Inventory + Display Items       #
    #-------------------------------------------------------#

    # Would you like the rewards display inventory to be enabled?
    enabled: true

    # Should the multicrate reward display inventory open on right or left click?
    mc-reward-display-leftclick: true

    # The format for the name of the inventory displaying the rewards.
    # > %crate% - Name of the crate.
    inv-reward-display-name: '&4%crate% &cRewards'

    # The format for the name and lore of the item(s) being displayed in the inventory
    # > %rewardname% - Name of the reward
    # > %displayname% - Display name of the reward
    # > %chance% - The actual calculated percent chance of winning that reward
    # > %rarity% - Rarity of the item.
    # > %writtenchance% - The chance that is written for that reward
    inv-reward-item-name: '&c%displayname%'
    inv-reward-item-lore:
      - '&7-'
      - '&eChance: &6%chance%%'
     

    CrateConfig.YML
    > -------------------------
    Code (Text):

    CrateType:
      Inventory:
        Roulette:
          inv-name: '&8&l> &6&l%crate%'
          tick-sound: BLOCK_IRON_DOOR_CLOSE, 5, 5
          tile-update-ticks: 2
          tick-speed-per-run: 3
          final-crate-tick-length: 11
          random-blocks:
            - STAINED_GLASS_PANE;1
            - STAINED_GLASS_PANE;2
            - STAINED_GLASS_PANE;3
            - STAINED_GLASS_PANE;4
            - STAINED_GLASS_PANE;5
            - STAINED_GLASS_PANE;6
            - STAINED_GLASS_PANE;7
            - STAINED_GLASS_PANE;8
            - STAINED_GLASS_PANE;9
        CSGO:
          inv-name: '&8&l> &6&l%crate%'
          tick-sound: BLOCK_CHEST_LOCKED, 5, 5
          identifier-block: REDSTONE_TORCH_ON;0
          tick-speed-per-run: 3
          final-crate-tick-length: 11
          tile-update-ticks: 2
          close-speed: 3
          filler-blocks:
            - STAINED_GLASS_PANE;1
            - STAINED_GLASS_PANE;2
            - STAINED_GLASS_PANE;3
            - STAINED_GLASS_PANE;4
            - STAINED_GLASS_PANE;5
            - STAINED_GLASS_PANE;6
            - STAINED_GLASS_PANE;7
            - STAINED_GLASS_PANE;8
            - STAINED_GLASS_PANE;9
        Menu:
          inv-name: '&8&l> &6&l%crate%'
          inventory-rows: 3
          minimum-rewards: 1
          maximum-rewards: 8
        Enclose:
          inv-name: '&8&l> &6&l%crate%'
          tick-sound: ENTITY_PLAYER_LEVELUP, 5, 5
          fill-block: STAINED_GLASS_PANE;2
          reward-amount: 1
          update-speed: 2
          inventory-rows: 2
        Discover:
          inv-name: '&8&l> &6&l%crate%'
          tick-sound: ENTITY_ITEM_PICKUP, 3, 10
          click-sound: BLOCK_TRIPWIRE_CLICK_ON, 5, 5
          uncover-sound: ENTITY_PLAYER_LEVELUP, 5, 5
          inventory-rows: 3
          minimum-rewards: 1
          maximum-rewards: 4
          count: true
          random-display-duration: 50
          cover-block: CHEST;0

         

     

    Messages.YML
    > --------------------
    Code (Text):

    no-permissions: '&4&lERROR! &cYou do not have the correct permission: %permission%'
    fail-open: '&4&lERROR! &cYou do not have the proper key!'
    inventory-too-full: '&4&lERROR! &cYour inventory is too full.'
    placed-crate: '&2&lSUCCESS! &aYou have placed the %crate% crate!'
    broken-crate: '2&lSUCCESS! &aYou have broken a %crate%.'
    failed-break-crate: '&4&lERROR! &cYou failed to break the %crate% because it is %reason%.'
    denied-use-crate: '&4&lERROR! &cThis crate is not obtainable by being placed.'
    no-key-use: '&4&lERROR! &cThis crate is not openable by using a key.'
    deny-creative-mode: '&4&lERROR! &cThis action cannot be performed in Creative Mode.'
    deny-place-key: '&4&lERROR! &cYou do not have permission to place a key.'
    cooldown-start: '&9&lNOTICE! &bThe %crate% crate is now on cooldown for %seconds% seconds.'
    cooldown-end: '&9&lNOTICE! &bYou no longer have a cooldown for the %crate% crate.'
    crate-on-cooldown: '&4&lERROR! &cThe %crate% crate is on cooldown for %seconds%s.'
    found-lucky-chest: '&9&lNOTICE! &bYou have discovered a lucky chest!'
    wait-one-second: '&4&lERROR! &cYou must wait 1 second to perform this action.'
    crate-disabled: '&4&lERROR! &cThis crate is disabled and cannot be used.'
    denied-place-location: '&4&lERROR! &cYou cannot place a crate in this location!'
    toggle-luckycrate: '&2&lSUCCESS! &aYou have toggled luckycrates to %state%.'
    no-permission-crate: '&4&lERROR! &cYou do not have the permission to use this crate.'
    opening-virtualcrates: '&2&lSUCCESS! &aOpening the virtual crates menu.'
    insufficient-virtual-crates: '&4&lERROR! &cYou do not have enough virtual crates to open this.'
     

    Rewards.YML
    > --------------------
    Code (Text):

    Diamond:
      name: 'Diamond'
      commands:
        - give {name} minecraft:diamond 1
      item: DIAMOND;0
      chance: 10
      rarity: rare
      receive-limit: -1
    Dirt:
      name: 'Dirt'
      commands:
        - give {name} minecraft:dirt 1
      item: DIRT;0
      chance: 20
      rarity: common
      receive-limit: -1
    DiamondSword:
      name: 'Diamond Sword'
      enchantments:
        - DURABILITY;10
        - DAMAGE_ALL;5
        - FIRE_ASPECT;2
      commands:
        - give {name} minecraft:diamond_sword 1
      item: DIAMOND_SWORD;0
      chance: 3
      rarity: legendary
      receive-limit: -1
    Speed:
      name: 'Speed'
      commands:
        - effect {name} 1 60 1
        - give {name} minecraft:milk 1
      item: POTION
      nbt-tags:
        - 'swiftness'
      chance: 5
      rarity: legendary
      receive-limit: 1
    GODApple:
      name: 'Super Golden Apple'
      commands:
        - give {name} minecraft:GOLDEN_APPLE 1
      item: GOLDEN_APPLE;1
      chance: 7
      rarity: legendary
      receive-limit: 5
    GoldenApple:
      name: 'Golden Apple'
      commands:
        - give {name} minecraft:golden_apple 0
      item: GOLDEN_APPLE;0
      chance: 10
      rarity: legendary
      receive-limit: -1
    Grass:
      name: 'Grass'
      commands:
        - give {name} minecraft:grass -
      item: GRASS;0
      chance: 20
      rarity: common
      receive-limit: -1
    SpecialDirt:
      name: 'Special Dirt'
      commands:
        - give {name} minecraft:dirt 1
      item: DIRT;1
      chance: 15
      rarity: uncommon
      receive-limit: 1
    Jump:
      name: 'Jump Potion'
      commands:
        - effect {name} 8 60 1
        - give {name} minecraft:milk_bucket 1
      item: POTION
      nbt-tags:
        - 'leaping'
      chance: 7
      rarity: rare
      receive-limit: 1
    SpecialDirt2:
      name: 'More Special Dirt'
      commands:
        - give {name} minecraft:dirt 2
      item: DIRT;2
      chance: 10
      rarity: rare
      receive-limit: -1
     
  • Loading...
  • Loading...