Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #Use MySQL
- usesql: false
- #If using SQL - Database configuration MySQL / MariaDB compatible
- database:
- #Ip of the machine with the database on
- ip: localhost
- #Port on which MySQL is set
- port: 3306
- #User in which you wish to access the database
- username: root
- #Password for the above user
- password: NONE
- #Database name
- name: Crates
- #Suffix of the table in which you create e.g crates_<tablesuffix>
- tablesuffix: default
- #Items for the cratemenu
- items:
- #The item you click on to open the crate
- open-crate:
- #Name of that item
- displayname: '&cOpen &b%crate%'
- #Material
- type: CHEST
- #Lore
- lore:
- - '&7Click to open the crate'
- #Is it enchanted?
- enchanted: false
- #The item you click on to open the crate
- preview-items:
- #Name of that item
- displayname: '&cPreview &b%crate%'
- #Material
- type: CHEST
- #Lore
- lore:
- - '&7Click to preview the crate'
- #Is it enchanted?
- enchanted: false
- #All the messages
- messages:
- #Plugin prefix
- prefix: '&4(PrefixCrates) &7'
- #Message the player receives when winning
- win-title: 'You won:'
- #When a user opens a crate
- crate-open: 'Opening &c%crate% Crate'
- #Title of inventory
- inventory-title: '&c%crate% Crate &b(Click %clicks-to-go%)'
- #Crate menu inventory title
- menu-title: '&c%crate% Crate &4Menu'
- #Crate inventory animation title
- animation-title: '&cOpening &b%crate% &cCrate'
- #Crate inventory finish title
- finish-title: '&cOpened &b%crate% &cCrate'
- #When an item is broadcasted
- win-broadcast: '&c%player% &r has won &e%item%&r from a &c%crate% Crate'
- #No permission message
- no-permission: 'You do not have permission for this command'
- #Inventory preview title
- crate-preview: '&c%crate% Crate &b(%clicks% Clicks)'
- #When the player right-clicks a crate without the key
- wrong-key: 'You need a &c%crate% Key &rto use this'
- #Crate amount in menu-item
- crate-amount: '&6You have &a%amount%&6 of the &b%crate% &cCrate'
- #When a players data is not yet in the SQL database
- data-not-loaded: 'Your data is not loaded, please wait a few seconds'
- #When you give a crate
- give-crate: 'You given &b%amt%x &7(&c%crate% Crate &4Key&7) to %target%'
- #When you have been given a crate
- get-crate: 'You have received &b%amt%x &7(&c%crate% Crate &4Key&7) from %player%'
- #Crates
- crates:
- #Example crate name
- Vote:
- #Size of inventory & number of rewards & clicks
- size: 1
- #The amount of clicks & rewards the user gets
- clicks: 2
- #The key item (changing this may stop old keys from being used)
- key:
- #Item name
- displayname: '&c&lVote key'
- #Material
- type: TRIPWIRE_HOOK
- #Normal = 0, if your using potions this will be needed usually used as 'type:durability'
- durability: 0
- #Lore
- lore:
- - '&bWon from voting'
- #Is it enchanted?
- enchanted: true
- #All sounds when the crate is used
- sounds:
- #When the crate rolls
- roll: NOTE_BASS
- #When you click your slots at the start of the crate
- click: LEVEL_UP
- #When the crate starts rolling
- start: SUCCESSFUL_HIT
- #When you finish the crate and go out of the inventory
- finish: SUCCESSFUL_HIT
- #When the crate is originally opened
- open: LEVEL_UP
- items:
- '64 Blocks of Iron':
- #Material
- type: IRON_BLOCK
- #Normal = 0, if your using potions this will be needed usually used as 'type:durability'
- durability: 0
- #Item name
- displayname: '&4&l64 Blocks of iron'
- #Is it enchanted?
- enchanted: true
- #Number of item shown
- amount: 64
- #When a player wins is it announced to the whole server?
- announce: false
- #Chance of getting the item (if all chances are small then it will use up more memory chances like 50 30 10 will work better than 5 3 1)
- chance: 50
- #Commands that will execute to give the player the reward
- commands:
- - 'give %player% IRON_BLOCK 64'
- '1 Enchantment book':
- #Material
- type: BOOK
- #Normal = 0, if your using potions this will be needed usually used as 'type:durability'
- durability: 0
- #Item name
- displayname: '&bAn enchanted book!'
- #Is it enchanted?
- enchanted: true
- #Number of item shown
- amount: 1
- #When a player wins is it announced to the whole server?
- announce: true
- #Chance of getting the item (if all chances are small then it will use up more memory chances like 50 30 10 will work better than 5 3 1)
- chance: 50
- #Commands that will execute to give the player the reward
- commands:
- - 'givechantbook %player% 1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement