- Tham gia
- 05/07/2016
- Bài viết
- 4,225

Một plugin có chức năng cho phép dịch chuyển bằng cuộn giấy
, rất thích hợp cho những server RPG


• /scrolls - Lệnh cơ bản
• /scrolls help - Danh sách các lệnh
• /scrolls create <scroll> <name> <delay> <uses> - Tạo cuộn giấy dịch chuyển mới
• /scrolls give <scroll> <player> - Cho người chơi cuộn giấy dịch chuyển
• /scrolls set <option> <scroll> <value> - Tuỳ chỉnh cuộn giấy dịch chuyển
• /scrolls reload - Khởi động lại Config

• tpscrolls.use - Cho phép sử dụng cuộn giấy dịch chuyển (Given by default)
• tpscrolls.use.all - Cho phép sử dụng tất cả cuộn giấy dịch chuyển
• tpscrolls.use.<scroll> - Cho phép sử dụng cuộn giây dịch chuyển theo ý bạn (ví dụ Rank VIP được sử dụng cuộn giấy VIP, Member không sử dụng được)
• tpscrolls.bypass - Qua được tất cả giới hạn
• tpscrolls.bypass.move - Không có giới hạn khi dịch chuyển
• tpscrolls.bypass.inv - Không có giới hạn khi mở túi đồ
• tpscrolls.bypass.uses - Không có giới hạn về số lượng cuộn giấy
• tpscrolls.bypass.time - Không có giới hạn về thời gian khi dịch chuyển
• tpscrolls.bypass.cooldown - Không có giới hạn thời gian chờ để sử dụng cuộn giấy
• tpscrolls.command - Được sử dụng tất cả lệnh
• tpscrolls.command.set - Được sử dụng lệnh /scrolls set
• tpscrolls.command.create - Được sử dụng lệnh /scrolls create
• tpscrolls.command.give - Được sử dụng lệnh /scrolls give
• tpscrolls.command.reload - Được sử dụng lệnh /scrolls reload

Mã:
# Comments may contain some grammar errors. Sorry, if it so.
ScrollsSettings:
# ID of scrolls items
ScrollID: 339
# Prevent player to drop items while teleporting
PreventPlayerDropOnTP: true
# Cancelling teleportation on player move
CancelTPOnMove: true
# Will be spawn particles around player if set "true" when using scroll
UseParticleEffect: true
# Teleportation countdown to ActionBar
UseActionBar: true
ActionBar:
PrepareTP: '&6*** &eTeleporting will in &7%time%&e seconds &6***'
CancelTP: '&4*** &cTeleportation is cancelled because you moved &4***'
CancelInteractTP: '&4*** &cTeleportation is cancelled because you interacted &4***'
SuccessTP: '&2*** &aTeleported! &2***'
# Teleportation countdown in Titles
UseTitles: true
Titles:
TitleText: '&6&lPreparing to teleportation'
SubTitleText: '&eTeleportation will in &c%time%&e seconds...'
TitleTextCancelling: '&4&lTeleportation is cancelled!'
SubTitleTextCancelling: '&cBecause you moved...'
TitleTextSuccess: '&a&lTeleported!'
SubTitleTextSuccess: '&2You have been successfully teleported...'
TitleTextCancellingInteract: '&4&lTeleportation is cancelled!'
SubTitleTextCancellingInteract: '&cBecause you interacted...'
# Lore of amount of currently scroll uses
UsesLore: '&eUses left:&6'
# If HideDestination is "false"
DestinationLore: '&aDestination: &2'
# If HideDestination is "true"
DestinationHidden: '&cDestination Unknown...'
Scrolls:
# It is just for example. Must be unique
ExampleScroll:
# Name of the scroll item
Name: '&dMagic Scroll'
# Lore list of the scroll item
Lore:
lore1: '&cThis just example of scroll'
lore2: '&7Teleport to &e100 &7of x,y,z'
lore3: ''
Destination: world, 100, 100, 100
Permission: true
# Must be "true" or "false"
HideDestination: false
# The time before teleport in seconds
Delay: 5
# Amount of uses scroll
Uses: 2

www.spigotmc.org
