Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #----------------------------------------------------------------------------------------------------
- # Configuration file for GSlotMachine
- #----------------------------------------------------------------------------------------------------
- # Data management
- data:
- # Back end (JSON, MYSQL) (default JSON)
- # If you enable MySQL here, you should definitely enable it for GCore as well
- backend: JSON
- # Synchronization delay (in seconds) (disabled with -1, by default)
- # 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
- sync_delay: -1
- # MySQL identifiers (if backend is MYSQL)
- # mysql:
- # host: mysql.myserver.com
- # name: mydatabase
- # user: username
- # pass: pwd
- # Machines types
- types:
- gold:
- cost: 100.0
- animation_sound: BLOCK_WOODEN_BUTTON_CLICK_ON
- win_sound: ENTITY_PLAYER_LEVELUP
- lose_sound: BLOCK_ANVIL_BREAK
- prizes:
- 1:
- type: GOLD_INGOT
- amount: 2
- chance: 9.4
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 4金錠 !'
- 2:
- type: DIAMOND
- amount: 4
- chance: 4.7
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 4 鑽石 !'
- 3:
- type: QUARTZ
- amount: 16
- chance: 7.1
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 16 石英 !'
- 4:
- type: Rotten_Flesh
- amount: 64
- chance: 18.9
- give_item: false
- commands:
- - 'broadcast &a{player} 貢菇 !'
- 5:
- type: APPLE
- amount: 4
- chance: 18.9
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 4 蘋果 !'
- 6:
- type: IRON_INGOT
- amount: 2
- chance: 11.8
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 4 鐵錠 !'
- 7:
- type: BONE
- amount: 8
- chance: 18.9
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 8 骨頭!'
- 8:
- type: LAPIS_LAZULI
- amount: 16
- chance: 7.1
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 16 青金石 !'
- 9:
- type:WITHER_SKELETON_SKULL
- amount: 1
- chance: 2.4
- give_item: true
- commands:
- - 'broadcast &a{player} 贏了 1 凋零頭顱 !'
- 10:
- type: DRAGON_EGG
- amount: 1
- chance: 0.8
- give_item: true
- commands:
- - 'broadcast 恭喜&a{player} 贏了 1 龍蛋 !'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement