SkyVox

Machines - config.yml

Feb 15th, 2019 (edited)
924
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 16.38 KB | None | 0 0
  1. # --> Important links: <--
  2. # Materials list name: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/Material.html
  3. # Enchantment list name: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/enchantments/Enchantment.html
  4. #
  5. # Note: Only Enchantments or Materials of your server version will work.
  6. #
  7. # Configuration file automatically generated for Spigot-1.8.8_R3! ({Items Names and Enchantments} only.)
  8.  
  9. # These are the plugin
  10. # settings.
  11. Settings:
  12.  # Debug mode will send different messages on the console.
  13.   # If you leave this option 'true', the console will be
  14.   # notified of all actions that has happened with the machines.
  15.   # Also, you can leave disable to avoid spam on the console.
  16.   debug-mode: false
  17.  
  18.   # The update interval.
  19.   update-task-interval: 300 # In seconds.
  20.  
  21.   # This is the language file you want to use.
  22.   # You can change this according with
  23.   # your language file.
  24.   #
  25.   # Default languages: {en,pt,nl}
  26.   language: en
  27.  
  28.   # Change this to whatever you
  29.   # want to use the custom rewards menu.
  30.   # If enabled: All Machine rewards will
  31.   # go to the player reward menu (a custom menu
  32.   # which stores all rewards).
  33.   # If disabled: The Machine rewards
  34.   # will be dropped on floor or sent
  35.   # to player's inventory.
  36.   use-rewards-menu: false
  37.  
  38.   # Boolean values replacers.
  39.   # This support color codes.
  40.   boolean-true: "&aOn"
  41.   boolean-false: "&cOff"
  42.  
  43.   # Player Machine's location.
  44.   # This is used for "%machine_location%" placeholder.
  45.   # This support color codes.
  46.   machine-location-replacer: "%world%, %x%, %y%, %z%"
  47.  
  48.   # If you want to keep the Machine
  49.   # upgrade level after the player
  50.   # break it's.
  51.   keep-machine-level: true
  52.  
  53.   # Use a custom Machine shop.
  54.   # If you disable it, "/machine/fuel shop"
  55.   # will not work.
  56.   use-machine-shop: true
  57.   # If needs permissions to open this shop.
  58.   # permission needed: 'machines.cmd.shop'
  59.   need-shop-permission: false
  60.  
  61.   # The radius to the Machine
  62.   # be stacked.
  63.   machine-stack-radius: 3
  64.  
  65.   # Enable this if you want to enable the
  66.   # machine maximum stack size.
  67.   #  If player has a permission: - 'machinestack.<machine_name_type>.<stack_amount>'
  68.   # We'll use this amount as a priority
  69.   # instead of the stack size on config file.
  70.   use-machine-maximum-stack-permission: false
  71.  
  72.   # Enable this whatever you want
  73.   # to consume the fuels according
  74.   # with the machine stack size.
  75.   # Example, if you have 10 stacked machines
  76.   # you'll need at least 10 fuels to
  77.   # start this Machine.
  78.   consume-fuel-according-machine-stack: true
  79.   # Whatever @consume-fuel-according-machine-stack is 'true'
  80.   # You're able to use this option below.
  81.   # If you leave this option true, You'll use the
  82.   # fuel durability to start your whole machine stack.
  83.   # It means that you don't actually need to have 10 coals(fuels)
  84.   # in your inventory to start a stack of 10 machines it'll
  85.   # decrease the coal(fuel) durability.
  86.   # Recommended -> true.
  87.   use-fuel-durability-to-start-whole-stack: true
  88.  
  89.   # If WorldGuard isn't installed in your
  90.   # server we'll use this option to verify
  91.   # if the player can place/break machines.
  92.   #
  93.   # OP Has the true permission already.
  94.   default-build-settings: true
  95.  
  96. # These below are the
  97. # Machines prevention methods.
  98. Prevention:
  99.  # Delete this Machine when an entity or
  100.   # any other thing explodes near the Machine?
  101.   delete-machine-in-explosion: false # If false, this Machine will keep there.
  102.  
  103. # Used to make integration
  104. # with others plugins.
  105. Integration:
  106.  # This is most used to
  107.   # remove the player machine
  108.   # when he clear or delete
  109.   # his plot.
  110.   # Recommended -> 'true'
  111.   plotsquared: true
  112.   # This is used when the
  113.   # list of blocks that were
  114.   # removed or replaced contains
  115.   # an machine.
  116.   # Recommended -> 'true'
  117.   worldedit: true
  118.  
  119. # Below are the Break Settings
  120. # When player are going to break
  121. # his Machine.
  122. Break-Settings:
  123.  # If you leave this option 'true', player will be
  124.   # not able to break this Machine while it's working.
  125.   cannot-break-while-running: true
  126.   # If you leave this option 'true' only tools
  127.   # with silk touch enchantment will be able to break
  128.   # this Machine.
  129.   need-silk: true
  130.   # If you leave this option 'true' only the
  131.   # Machine owner will be able to break the machine.
  132.   only-machine-owner: false
  133.   # If you leave this option 'true', When player
  134.   # break the machine will be added directly
  135.   # to the player inventory.
  136.   directly-to-inventory: true
  137.   # If you leave this option 'true', the whole
  138.   # Machine stack will be broken.
  139.   break-whole-stack: false
  140.   # Break whole machine stack if player is sneaking.
  141.   # @break-whole-stack should be false for this option work.
  142.   break-whole-stack-if-sneaking: true
  143.  
  144. # These are the blackList world.
  145. # worlds that Machine are not allowed.
  146. Blacklist-World:
  147.  - 'myCoolWorld_1'
  148.   - 'myCoolWorld_2'
  149.  
  150. # This section below
  151. # are the Hologram section.
  152. # If HolographicDisplays are
  153. # not installed on your server
  154. # All options below will not work.
  155. Hologram:
  156.  # The distance in blocks that we'll use
  157.   # to find the Machine where the player
  158.   # is looking at.
  159.   # This option will be used whenever "show-type" is "LOOK"
  160.   target-block-distance: 2
  161.  
  162.   # Machine hologram available types: {DISABLED, ENABLED, CLICK, LOOK}
  163.   # When this Machine
  164.   # starts to work.
  165.   enabled: # When machine wave enable.
  166.     show-type: "ENABLED"
  167.     # The lines on this enabled
  168.     # section, can be added on
  169.     # every Machine you add.
  170.     # Go to: Machines.<your_machine>.hologram.text.
  171.  
  172.   # When this Machine are disabled
  173.   # or not working.
  174.   disabled: # When machine is disabled.
  175.     # When player click on the Machine.
  176.     show-type: "CLICK"
  177.     lines:
  178.      - '&fMachine Info'
  179.       - '&7Type: &6%machine_type%'
  180.       - '&7Stack-Size: &6%machine_stack_size%'
  181.  
  182. # Receive different types of fuel
  183. # by done actions on the server.
  184. Fuel-Receiver:
  185.   types:
  186.    # The ways listed below are
  187.     # all the available ways to
  188.     # receive fuels.
  189.     # More ways will be added on the future.
  190.     # Important: Don't change the names.
  191.  
  192.     # If you don't want to use a specific
  193.     # way listed below, just remove it remove the whole block.
  194.     # Like this below:
  195.  
  196.     # When player death.
  197. #    death:
  198. #      fuel: "fuel-1"
  199. #      amount: 2
  200. #      chance: 1
  201. #      name: "Death"
  202.  
  203.     # When player mine a block.
  204.     mining: # Do not change this name.
  205.       fuel: "fuel-1,fuel-2" # fuels to be sent
  206.       amount: 1 # amount to receive
  207.       chance: 10 # 10% chance to receive.
  208.       name: "Mining" # This will appears on the message. placeholder name: %type%
  209.  
  210.     # When player kill another player.
  211.     kill:
  212.       fuel: "fuel-2"
  213.       amount: 1
  214.       chance: 50 # 50% chance to receive.
  215.       name: "Kill"
  216.  
  217.     # When player kill mob.
  218.     mob_kill:
  219.       fuel: "fuel-1"
  220.       amount: 1
  221.       chance: 15
  222.       name: "Mob Kill"
  223.  
  224.     # When arrow kill someone.
  225.     arrow_kill:
  226.       fuel: "fuel-2"
  227.       amount: 2
  228.       chance: 75
  229.       name: "Arrow Kill"
  230.  
  231.     # When arrow hit an entity.
  232.     arrow_hit:
  233.       fuel: "fuel-1"
  234.       amount: 1
  235.       chance: 5
  236.       name: "Arrow Hit"
  237.  
  238.   # The blackList worlds.
  239.   # Worlds that fuel-Receiver are
  240.   # disabled.
  241.   blacklist-world:
  242.    - 'myCoolWorld_1'
  243.     - 'myCoolWorld_2'
  244.  
  245. # This is the Fuel creation section.
  246. # Here you can create any and unlimited
  247. # fuels.
  248. Fuel:
  249.   fuel-1: # This is the fuel ID.
  250.     # The representative item.
  251.     item:
  252.       type: COAL
  253.       glow: false
  254.       name: "&7Iron Fuel"
  255.       lore:
  256.        - ''
  257.         - '&7Right click this fuel'
  258.         - '&7in your Iron Machine'
  259.         - '&7To run it.'
  260.         - ''
  261.         - '&8Waves: &a3'
  262.         - '&8Time: &a60sec.'
  263.  
  264.     # How many waves the Machine will work.
  265.     waves: 3
  266.  
  267.     # The wave times, always when this time
  268.     # reach '0' the player will receive the
  269.     # Machine rewards. And next wave will
  270.     # come.
  271.     time: 60 # In seconds.
  272.  
  273.     # How many times the player will be
  274.     # able to use this fuel before it
  275.     # be taken from his inventory.
  276.     durability: 1 # This option is not necessarily, you can just remove this line if you don't want durability.
  277.   fuel-2:
  278.     item:
  279.       type: "263:1"
  280.       glow: true
  281.       name: "&7Great Fuel"
  282.       lore:
  283.        - ''
  284.         - '&7You can use this Fuel'
  285.         - '&7in any Machine.'
  286.         - ''
  287.         - '&8Waves: &a5'
  288.         - '&8Time: &a300sec.'
  289.     waves: 1
  290.     time: 300
  291.  
  292. # This is the Machines creation section.
  293. # Here you can create any and unlimited
  294. # machines.
  295. Machines:
  296.   iron-machine: # This is the Machine type/name/id.
  297.     item:
  298.      # The Machine item type.
  299.       # On this option below,
  300.       # Make sure your item is a block
  301.       # which player can place it
  302.       # otherwise it won't work.
  303.       # Machines are a custom blocks
  304.       # that every time when wave ends
  305.       # player receives rewares.
  306.       type: IRON_BLOCK
  307.       # Should this Machine glow?
  308.       glow: true
  309.       name: "&6Iron Machine"
  310.  
  311.     # Here you can add the fuel
  312.     # that this player should have
  313.     # to enable this Machine.
  314.     allowed-fuel:
  315.      - 'all' # Set this 'all' to all fuels be allowed.
  316.  
  317.     # This is the hologram section.
  318.     # With it you can create some
  319.     # information lines to be showed when
  320.     # Machine starts to work.
  321.     hologram:
  322.      # The hologram is unique per machine,
  323.       # it means that you can have machines
  324.       # that use hologram and you can have
  325.       # machines that don't use it.
  326.       # Make sure that you're using the
  327.       # hologram features if you enable it!
  328.  
  329.       # Enable or Disable the hologram
  330.       enabled: false
  331.  
  332.       # On the slide-item you need to put the item type
  333.       # that you want to show on the machine's hologram.
  334.       # put '%machine_item% to use the same item as
  335.       # this machine.
  336.       slide-item: "%machine_item%" # The item is not necessary.
  337.  
  338.       # The texts that will appears above
  339.       # your Machine.
  340.       text: {}
  341.  
  342.     # This section below is used mainly
  343.     # to show the Machine information
  344.     # for the player.
  345.     # This will only be sent to the player if the Machine Hologram
  346.     # is currently disabled.
  347.     # To receive this message the player should
  348.     # right-click on his Machine.
  349.     chat-information-lines:
  350.      - '&fMachine Info'
  351.       - ''
  352.       - '&7Type: &6%machine_type%'
  353.       - '&7Stack-Size: &6%machine_stack_size%'
  354.  
  355.     # Per Machine settings.
  356.     settings:
  357.      # The Max stack size.
  358.       # This means the max stack
  359.       # size that this Machine can hold.
  360.       max-stack-size: 10
  361.       # Should we add the rewards items directly
  362.       # to the player's inventory?
  363.       rewards-directly-to-inventory: true
  364.  
  365.     # Each wave this section below
  366.     # will be called.
  367.     wave:
  368.       r1:
  369.         exp: -1 # This will give 0 exp to player.
  370.         messages:
  371.          - ''
  372.           - '&7You Machine wave has ended.'
  373.           - '&7Come see your rewards.'
  374.         # Commands to be executed.
  375.         commands:
  376.          - '[PLAYER]/example_command %player_name%' # Using [PLAYER] will be executed by the player who actives this Machine.
  377.           - '[CONSOLE]/tell %player_name% example reward message.' # Using [CONSOLE] the console will executes this command.
  378.         fuel: "fuel-1,fuel-2" # If you want to send custom fuel to the player.
  379.         machine: "iron-machine" # If you want to send a custom machine to the player.
  380.  
  381.         # Items to be sent.
  382.         items:
  383.           1:
  384.             type: "IRON_INGOT"
  385.             name: "&7Iron Ingot"
  386.             lore:
  387.              - ''
  388.               - '&7Machine reward Item.'
  389.               - ''
  390.               - '&7Use it to earn in game coins.'
  391.           2:
  392.             type: "DIAMOND"
  393.             name: "&8Diamond"
  394.             amount: 1
  395.         chance: 15.0 # The chance to send this reward.
  396.       r2:
  397.         items:
  398.           1:
  399.             type: "175"
  400.             name: "&6The Sun Flower"
  401.             lore: {}
  402.         chance: 1.0 # 1% of chance.
  403.   diamond-machine:
  404.     item:
  405.       type: DIAMOND_BLOCK
  406.       # Should this Machine glow?
  407.       glow: true
  408.       name: "&bDiamond Machine"
  409.  
  410.     # Here you can add the fuel
  411.     # that this player should have
  412.     # to enable this Machine.
  413.     allowed-fuel:
  414.      - 'fuel-2' # Set this 'all' to all fuels be allowed.
  415.  
  416.     # This is the hologram section.
  417.     # With it you can create some
  418.     # information lines to be showed when
  419.     # Machine starts to work.
  420.     hologram:
  421.      # Enable or Disable the hologram
  422.       enabled: true
  423.  
  424.       # On the slide-item you need to put the item type
  425.       # that you want to show on the machine's hologram.
  426.       # put '%machine_item% to use the same item as
  427.       # this machine.
  428.       slide-item: "%machine_item%" # The item is not necessary.
  429.  
  430.       # The texts that will appears above
  431.       # your Machine.
  432.       text:
  433.        - '&7Wave ends in &a%machine_time%&7!'
  434.         - '&7Remainder waves &a%machine_waves%&7!'
  435.  
  436.     # Per Machine settings.
  437.     settings:
  438.       max-stack-size: 10
  439.       rewards-directly-to-inventory: true
  440.  
  441.     # Each wave this section below
  442.     # will be called.
  443.     wave:
  444.       r1:
  445.         exp: 10
  446.         messages:
  447.          - ''
  448.           - '&7You Machine wave has ended.'
  449.           - '&7Come see your rewards.'
  450.         # Commands to be executed.
  451.         commands:
  452.          - '[PLAYER]/example_command %player_name%' # Using [PLAYER] will be executed by the player who actives this Machine.
  453.           - '[CONSOLE]/tell %player_name% example reward message.' # Using [CONSOLE] the console will executes this command.
  454.  
  455.         # Items to be sent.
  456.         items:
  457.           1:
  458.             type: "DIAMOND"
  459.             name: "&8Diamond"
  460.             lore:
  461.              - ''
  462.               - '&7Machine reward Item.'
  463.               - ''
  464.               - '&7Use it to earn in game coins.'
  465.         chance: 100 # The chance to send this reward.
  466.       r2:
  467.         items:
  468.           1:
  469.             type: "175"
  470.             name: "&6The Sun Flower"
  471.             lore: {}
  472.         chance: 15.0
  473.  
  474. # This is the rewards price list
  475. # this will be used on the player
  476. # rewards menu.
  477. Machine-Rewards:
  478.  # The price list.
  479.   #
  480.   # The values below represents
  481.   # the value per unity.
  482.   # for example, iron_ingot costs 5.6$
  483.   # and you have 10 of them, so, 10x5.6.
  484.   price-list:
  485.  # If the item material type isn't
  486.   # on this list below, we'll don't
  487.   # sell the item, it will keep stored
  488.   # on the player rewards menu.
  489.     - 'IRON_INGOT,5.6'
  490.     - 'DIAMOND,10'
  491.     - 'DIAMOND_BLOCK,88.4'
  492.     - 'INK_SACK:4,3'
  493.  
  494. # Machine upgrade settings.
  495. Machine-Upgrade-Settings:
  496.  # Only the Machine owner can
  497.   # upgrade this Machine?
  498.   only-owner-upgrade: true
  499.  
  500. # The Machine upgrade section.
  501. # You can create upgrade for each Machine you have.
  502. # Remember -> The machine's name listed here
  503. # should be the same name as the Machine creation section.
  504. Machine-Upgrade:
  505.   iron-machine: # This is the machine name, remember this is case sensitive and this Machine should exists on the Machine creation section.
  506.     1:
  507.      # The price to upgrade the machine. (Vault)
  508.       money-cost: 250
  509.       # The exp cost amount.
  510.       exp-cost: 3
  511.       # The upgrade is a list
  512.       # that contains all the
  513.       # upgrade values.
  514.       #
  515.       # Available changes:
  516.       # time-reduce, chance-increase, amount-increase
  517.       upgrade:
  518.        - 'time-reduce > 15'
  519.         - 'chance-increase:all > 2'
  520.     2:
  521.       money-cost: 500
  522.       exp-cost: 6
  523.       upgrade:
  524.        - 'time-reduce > 17'
  525.         - 'chance-increase:all > 2'
  526.         - 'chance-increase:r2 > 0.5'
  527.         - 'amount-increase:r1 > 1,10'
  528.     3:
  529.       money-cost: 1000
  530.       exp-cost: 30
  531.       upgrade:
  532.        - 'time-reduce > 20'
  533.         - 'chance-increase:all > 4'
  534.         - 'chance-increase:r2 > 1.5'
  535.         - 'amount-increase:r1 > 1,10'
  536.         - 'amount-increase:r1 > 2,10'
  537.  
  538. # Command settings/information.
  539. Commands:
  540.   machine:
  541.     name: "machine" # The main command name. "/<name>"
  542.     aliases:
  543.      - 'machines'
  544.       - 'maquinas'
  545.     description: "Use this command to interact with the Machine commands."
  546.   fuel:
  547.     name: "fuel"
  548.     aliases:
  549.      - 'combustivel'
  550.     description: "Use this command to interact with the Fuel commands."
  551.   machinesettings:
  552.     name: "machinesettings"
  553.     aliases:
  554.      - 'ms'
  555.     description: "Use this command to change the Machine settings."
Advertisement
Add Comment
Please, Sign In to add comment