thì bạn dùng plugin ChestCommands
phần Command: thì server:<tên server>
ko dc anh
######################
#+ +#
# MENU SETTINGS #
#+ +#
######################
menu-settings:
# name - appears as the title - REQUIRED
name: '&1Menu Lobby'
# rows - the number of rows of the chest - REQUIRED
rows: 3
# command - OPTIONAL (you can remove this or set it to '')
# Bind multiple commands using ; (command: 'menu; m; me')
command: 'sv'
# auto-refresh - OPTIONAL
# How frequently the menu will be refreshed, in seconds.
# Useful if you have variables in items' descriptions.
auto-refresh: 5
# This command command will be execute when the menu is opened.
# Supports all the icon command types.
open-action: 'sound: note pling; tell: &eBạn đã mở la bàn.'
# open-with-item - OPTIONAL
# The menu will open only right-clicking with orange wool [35:1]
open-with-item:
id: 345
left-click: false
right-click: true
######################
#+ +#
# ITEMS #
#+ +#
######################
hub:
COMMAND: 'server: hub'
NAME: '&a&lServer hub'
LORE:
- '&bNhấn vào để về lobby'
ID: bed
POSITION-X: 1
POSITION-Y: 1
Towny:
NAME: '&a&lServer Towny'
COMMAND: 'server: towny'
LORE:
- '&bNhấn vào để đến Server Towny'
ID: 276
POSITION-X: 2
POSITION-Y: 1
Skyblock:
NAME: '&a&lServer Skyblock'
COMMAND: 'server: skyblock
LORE:
- '&bNhấn vào để đến Server Skyblock'
ID: 2
POSITION-X: 3
POSITION-Y: 1
cai trên là customitems
con về customjoinitems
first-item:
name: '&a&lChọn server&7(Cầm la bàn trên tay nhấn chuột phải để chọn server)'
id: 345
slot: 1
lore:
- '&7Cầm la bàn trên tay nhấn chuột phải để chọn server'
- '&7Hãy tận hưởng từng server nhé!'
cooldown-seconds: 1
permission: 'customjoinitems.compass'
second-item:
name: '&cThông tin'
id: 264
slot: 5
command: 'tell: &5&l Chào mừng đến server Minegame; &5&l...'
cooldown-seconds: 1
permission: 'customjoinitems.diamond'
con cai Permision
groups:
Default:
permissions:
- essentials.balancetop
- essentials.back
- essentials.balance
- essentials.pay
- essentials.signs.break.*
- essentials.signs.use.disposal
- essentials.signs.use.*
- essentials.kit
- essentials.kits.Khoidau
- essentials.kits.diemdanh
- essentials.msg
- essentials.build
- essentials.itemdb
- essentials.list
- essentials.mail
- essentials.mail.send
- essentials.afk
- essentials.afk.auto
- essentials.suicide
- essentials.ping
- essentials.list
- essentials.home
- essentials.sethome
- essentials.tpa
- essentials.tpaccept
- essentials.spawn
- essentials.tpdeny
- essentials.tpahere
- essentials.warp
- randomtp.sign.use
- essentials.signs.use.buy
- essentials.signs.use.heal
- essentials.signs.use.repair
- essentials.signs.use.sell
- essentials.signs.use.enchant
- essentials.signs.use.warp
- essentials.signs.use.kits
- essentials.signs.use.balance
- essentials.signs.use.time
- essentials.signs.use.weather
- essentials.signs.use.info
- essentials.signs.use.trade
- chestcommands.open.*.yml
- globalmarket.create
- globalmarket.history
- globalmarket.pricecheck
- globalmarket.quicklist
- globalmarket.quickmail
- globalmarket.send
- globalmarket.util
- PlayerPoints.me
- PlayerPoints.pay
- PlayerPoints.look
- nte.member
- ce.ench.*
có sai sót gi ko anh