Advertisement
Guest User

Untitled

a guest
Aug 23rd, 2019
253
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 2.69 KB | None | 0 0
  1. #----------------------------------------------------------------------------------------------------
  2. # Configuration file for GSlotMachine
  3. #----------------------------------------------------------------------------------------------------
  4.  
  5. # Data management
  6. data:
  7.  # Back end (JSON, MYSQL) (default JSON)
  8.   # If you enable MySQL here, you should definitely enable it for GCore as well
  9.   backend: JSON
  10.   # Synchronization delay (in seconds) (disabled with -1, by default)
  11.   # If this is enabled, the plugin will check the stored data (json/mysql), and if there's new/different data, cached data will be overriden here
  12.   sync_delay: -1
  13.   # MySQL identifiers (if backend is MYSQL)
  14. #  mysql:
  15. #    host: mysql.myserver.com
  16. #    name: mydatabase
  17. #    user: username
  18. #    pass: pwd
  19.  
  20. # Machines types
  21. types:
  22.   gold:
  23.     cost: 100.0
  24.     animation_sound: BLOCK_WOODEN_BUTTON_CLICK_ON
  25.     win_sound: ENTITY_PLAYER_LEVELUP
  26.     lose_sound: BLOCK_ANVIL_BREAK
  27.     prizes:
  28.       1:
  29.         type: GOLD_INGOT
  30.         amount: 2
  31.         chance: 9.4
  32.         give_item: true
  33.         commands:
  34.          - 'broadcast &a{player} 贏了 4金錠 !'
  35.       2:
  36.         type: DIAMOND
  37.         amount: 4
  38.         chance: 4.7
  39.         give_item: true
  40.         commands:
  41.          - 'broadcast &a{player} 贏了 4 鑽石 !'
  42.       3:
  43.         type: QUARTZ
  44.         amount: 16
  45.         chance: 7.1
  46.         give_item: true
  47.         commands:
  48.          - 'broadcast &a{player} 贏了 16 石英 !'
  49.       4:
  50.         type: Rotten_Flesh
  51.         amount: 64
  52.         chance: 18.9
  53.         give_item: false
  54.         commands:
  55.          - 'broadcast &a{player} 貢菇 !'
  56.       5:
  57.         type: APPLE
  58.         amount: 4
  59.         chance: 18.9
  60.         give_item: true
  61.         commands:
  62.          - 'broadcast &a{player} 贏了 4 蘋果 !'
  63.       6:
  64.         type: IRON_INGOT
  65.         amount: 2
  66.         chance: 11.8
  67.         give_item: true
  68.         commands:
  69.          - 'broadcast &a{player} 贏了 4 鐵錠 !'
  70.       7:
  71.         type: BONE
  72.         amount: 8
  73.         chance: 18.9
  74.         give_item: true
  75.         commands:
  76.          - 'broadcast &a{player} 贏了 8 骨頭!'
  77.        8:
  78.         type: LAPIS_LAZULI
  79.         amount: 16
  80.         chance: 7.1
  81.         give_item: true
  82.         commands:
  83.          - 'broadcast &a{player} 贏了 16 青金石 !'      
  84.        9:      
  85.         type:WITHER_SKELETON_SKULL
  86.         amount: 1
  87.         chance: 2.4
  88.         give_item: true
  89.         commands:
  90.          - 'broadcast &a{player} 贏了 1 凋零頭顱 !'
  91.       10:
  92.         type: DRAGON_EGG
  93.         amount: 1
  94.         chance: 0.8
  95.         give_item: true
  96.         commands:
  97.          - 'broadcast 恭喜&a{player} 贏了 1 龍蛋 !'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement