Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- virtualchest {
- TextTitle = "&a&lPoke&6&lEdit&5&l-&e&lMenu."
- Rows = 3 //Howmany rows the menu has
- Slot0 { //the the slot in the menu this command populates
- Item { //information about the item in the menu
- Count = 1
- ItemType = "minecraft:map"
- UnsafeDamage = 0
- DisplayName = "&a&lNature" //name displayed in the menu
- ItemLore = [ //as long separate each line by quotes
- "&6Change ur pokemons Nature."
- ]
- }
- PrimaryAction {
- Command ="console:vc open nature" //the command you wish to run; must be contained within ""
- KeepInventoryOpen = false //false closes the menu on click, true keeps it open.
- }
- }
- Slot1 = [
- {
- Item {
- Count = 1
- ItemType = "minecraft:feather"
- UnsafeDamage = 0
- DisplayName = "&f&lTimid"
- ItemLore = [
- "&fSets nature to Timid"
- "&f&eCost: &f50000"
- ]
- }
- Requirements = "%party_1_nature% == 'Timid'"
- PrimaryAction {
- Command = "console: plaintell %player_name% &7This pokemon is already Timid"
- KeepInventoryOpen = false
- }
- }, {
- Item {
- Count = 1
- ItemType = "minecraft:feather"
- UnsafeDamage = 0
- DisplayName = "&f&lTimid"
- ItemLore = [
- "&fSets nature to Timid"
- "&f&eCost: &f50000"
- ]
- }
- Requirements = "%economy_balance% >= 50000 && !%party_1_nature% == 'Timid'"
- PrimaryAction {
- Command = "cost: 50000; console: pokeedit %player_name% 1 nature:timid; console: plaintell %player_name% &a&lPixel&6&lCoin: &7Your pokemon's nature got changed to timid. &c$50k has been taken from your balance."
- KeepInventoryOpen = false
- }
- }, {
- Item {
- Count = 1
- ItemType = "minecraft:feather"
- UnsafeDamage = 0
- DisplayName = "&f&lTimid"
- ItemLore = [
- "&fSets nature to Timid"
- "&f&eCost: &f50000"
- ]
- }
- Requirements = ""
- PrimaryAction {
- Command = "console: plaintell %player_name% &7You dont have enough money. Keep saving."
- KeepInventoryOpen = false
- }
- }
- ]
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement