- Hỗ trợ phiên bản
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
WonderOrb
WonderOrb là một plugin cho phép bạn tạo Orb cho server của mình!
Trong phiên bản đầu tiên, mình chỉ mới tạo ra hai loại effect là Potion và Spawner, nhiều effect hơn sẽ được cập nhật về sau này!
Đây là video về những orb minh họa của mình, xem thì xem, khum xem thì thui
Mã:
/orb: Xem danh sách lệnh
/orb reload: Reload config
/orb info [orb]: Lấy thông tin cơ bản về orb
/orb get [orb]: Lấy orb
/orb give [player] [orb]: Trao orb cho người chơi
/orb list: Lấy danh sách những orb hoạt động được và cả những orb bị lỗi để bạn tiện tìm và sửa!
Một điều nữa, nếu những dòng config nào của version cao hơn, chưa có ở version thấp hơn (VD Potion BAD_OMEN có ở 1.16 nhưng 1.13 thì chưa, Orb đó sẽ liệt vào Invalid content để giúp server bạn không bị lỗi
Mã:
wonderorb.admin: Permission tổng
wonderorb.reload: Permission để reload
wonderorb.give: Permission để trao orb
wonderorb.get: Permission để lấy orb
wonderorb.use.all: Permission để dùng tất cả orb
wonderorb.info: Permission để xem thông tin
wonderorb.list: Permission để xem danh sách orb
Bên cạnh đó, mỗi orb còn cho phép tạo Permission để sử dụng (xem hướng dẫn bên dưới)
Default configuration!
YAML:
#Here is the configuration about the messages will be sent in game
#About creating new orbs, you can create a new file in Orbs folder, or just create in ExampleOrbs.yml
#Contact me if you need help; or you get any problems, errors; or you have some new ideas to improve this plugin!
#Alls format can be found on resource page!
#Discord: adairh#4851
#Thanks for using my plugin!
still_delay: '%orb%&c is still delaying! You can use after %cd%'
is_using: '%orb%&c is being used!'
received_orb: '&aYou got an %orb%'
give_orb: '&aGave %orb%&a to %p%!'
reload_orb: '&a&lReloaded complete, check console or /orb list to see activable orb!'
outdated_orb: '&cThis orb is outdated, contact administrator to get a new one!'
info:
- '&a&lTexture: &r&f%tex%'
- '&a&lReusable: &r&f%re%'
- '&a&lCooldown: &r&f%c%'
- '&a&lDuration: &r&f%d%'
- '&a&lRadius: &r&f%ra%'
- '&a&lPermission: &r&f%per%'
- '&a&lParticle: &r&f%par%'
invalid_orb: '%orb%&c is not found!'
invalid_player: '%p%&c is not found'
missing_argument: '&cMissing arguments! Cant execute!'
command_error: '&cCommand error! Try again!'
wrong_sender: '&cOnly player can use this command!'
lacking_permission: '&cYou dont have permission to execute this command!'
lacking_orb_permission: '&cYou dont have permission to use this orb'
reload_error: '&c&lReload error!'
#Format for orb config (Only use for files in folder 'Orbs')
#someBeautifulName: <--- DO NOT contain special characters: @&($&#)_etc, and remember, changing this can make orbs created before become outdated
# Texture: somethingReallyLongHere <--- https://minecraft-heads.com/, choose Custom Head, find a head, then copy the texture in "Value" box at the end of Head's page
# Reusable: true or false <--- Orb can be reusable(true) or be consumed on using(false)
# Cooldown: a number <--- time in second to use again after the previous orb disappear
# Duration: a number <--- time in second the orb can be active
# Radius: a number <--- How wide orb can be active
# Particle: NAME_OF_PARTICLE <--- Remember using UPPER CASE and _ for space. Name or particles can be searched here: https://helpch.at/docs/1.13/org/bukkit/Particle.html
# Permission: perm.mission.here <--- Set permission need to have to use this orb
# Effects: <--- Available effects are SPAWNER(spawn entity around orb location) and POTION(apply potion for orb's owner when stay close)
# - POTION{type=potion_name,level=1}
# - SPAWNER{type=entity_name,delay=5}
# - <--- You can have more than 1 or 2 effects for single orb!
# ItemForm: <--- Config information for Orb when it's still an item in inventory
# Name: "&a&lA beautiful display name" <--- Orb's display name, can be used with color code
# Lore: <--- Lore of orb, remember DO NOT MODIFY by any NBT tools after getting orb in game, it can make orb become useless
# - "&aHello there"
# - "&aThis is tutorial about creating new orb"
# - "&aYou can have bunch of Lore"
YAML:
hunger:
Texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvMmM4ZmI2MzdkNmUxYTdiYThmYTk3ZWU5ZDI5MTVlODQzZThlYzc5MGQ4YjdiZjYwNDhiZTYyMWVlNGQ1OWZiYSJ9fX0=
Reusable: false
Cooldown: 10
Duration: 10
Radius: 5
Particle: VILLAGER_HAPPY
Permission: 'wonderorb.use.hunger'
Effects:
- SPAWNER{type=pig,delay=4}
- POTION{type=Regeneration,level=1}
ItemForm:
Name: "&a&lOrb of the hungry"
Lore:
- "&bGive you Regeneration effect"
- "&bSpawn a few pigs to save you from the hunger"
adventure:
Texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvY2ZiYjk1NTAyZTBmZDBkYmE2MGJiZTU4MThlMmZkNTI3OGVkYTI5OTljYzJkNzgxMDljMmNhNTc3NTU3YTBhNiJ9fX0=
Reusable: true
Cooldown: 30
Duration: 15
Radius: 10
Particle: CLOUD
Permission: 'wonderorb.use.adventure'
Effects:
- POTION{type=jump,level=2}
- POTION{type=slow_falling,level=2}
ItemForm:
Name: "&2&lOrb of adventure"
Lore:
- "&bBoost the power of your feet"
assasin:
Texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTExNWRjODhlMzIxNGMzODI0M2Q3ODJkNjNlZGIwYTZlMDYyOTFlYjZkYThlNjAwYzdlMmVhMzZlN2Y2MWIzMSJ9fX0=
Reusable: false
Cooldown: 30
Duration: 15
Radius: 10
Particle: WHITE_ASH
Permission: 'wonderorb.use.assasin'
Effects:
- POTION{type=invisibility,level=2}
- POTION{type=speed,level=2}
- POTION{type=strength,level=2}
ItemForm:
Name: "&2&lOrb of assassin"
Lore:
- "&bSneaky power"
golem:
Texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTY4NDU1MzcwY2ZlZDY2NzA1MzhhZmNjYWM0NWM2MjYxZDkxNzZiMjI4YTE2NjUyM2Y2ZTdmMTE5ZTA5ZTEyOSJ9fX0=
Reusable: false
Cooldown: 15
Duration: 20
Radius: 10
Particle: TOTEM
Permission: 'wonderorb.use.golem'
Effects:
- POTION{type=RESISTANCE,level=3}
ItemForm:
Name: '&6&lOrb of Golem'
Lore:
- '&cBe tanker!!!'
zombie:
Texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGRhY2M2M2JkMmM4NjQxMDA1ODVhNzAwN2RiMTc2OGM3MDg2NDBkMGYwN2I4MGI0YzczOTkxYWRlMDA4OTJlMiJ9fX0=
Reusable: false
Cooldown: 10
Duration: 50
Radius: 20
Particle: SPELL_WITCH
Permission: 'wonderorb.use.zombie'
Effects:
- SPAWNER{type=Skeleton,delay=2}
- SPAWNER{type=Zombie,delay=3}
ItemForm:
Name: '&c&lOrb of Death'
Lore:
- '&cSpawn waves of zombie and skeleton!!!'
Về việc tạo Orb mới
Đầu tiên, hãy nhớ rằng mọi thông tin Orb cần phải chứa trong folder Orbs
Bạn có thể tạo orb mới trong file cũ, hay thập chí là tạo cả file mới
Hãy tạo theo form này, nếu không orb sẽ bị lỗi "Invalid content"
Bạn có thể tạo orb mới trong file cũ, hay thập chí là tạo cả file mới
Hãy tạo theo form này, nếu không orb sẽ bị lỗi "Invalid content"
YAML:
someOtherOrb:
Texture:
Reusable:
Cooldown:
Duration:
Radius:
Particle:
Permission:
Effects:
-
ItemForm:
Name:
Lore:
-
Những lưu ý quan trọng!!
YAML:
someOtherOrb: # tên nhận dạng của orb, KHÔNG DÙNG kí tự đặc biệt ở đây
Texture: # Texture ID, xem bước 4
Reusable: # true or false, dòng này sẽ quyết định orb tái sử dụng hay biến mất sau khi dùng
Cooldown: # số giây chờ giữa 2 lần dùng orb này
Duration: # số giây orb có thể hoạt động
Radius: # bán kính khu vực hoạt dộng
Particle: # Particle effect của orb đó, có thể tham khảo tại https://helpch.at/docs/1.13/org/bukkit/Particle.html.
Permission: # Permission để dùng orb
Effects:
- # xem bước 3
ItemForm:
Name: # Tên hiển thị
Lore:
- '&bCan use with color code like this'
- '&aand moreee!'
Hiện đang có hai dạng effect là SPAWNER và POTION
Form of the effect config:
SPAWNER là một effect, spawn ra mob trong vùng hoạt động của Orb
POTION là một effect, cho người chủ Orb potion khi đứng trong vùng hoạt động
Giống với PARTICLE, orb sẽ bị Invalid content nếu type potion hay entity không có sẵn ở version của server đang chạy
Nhớ nhé, vẫn còn nhiều update sắp tới đó
Form of the effect config:
YAML:
Effects:
- SPAWNER{type=entity_type,delay=a_number}
# số giây giữa 2 lần spawn
- POTION{type=potion_name,level=a_number}
# cấp của potion
POTION là một effect, cho người chủ Orb potion khi đứng trong vùng hoạt động
Giống với PARTICLE, orb sẽ bị Invalid content nếu type potion hay entity không có sẵn ở version của server đang chạy
Nhớ nhé, vẫn còn nhiều update sắp tới đó
Đầu tiên, vào trang: minecraft-heads.com
Thứ hai, tìm head bạn muốn hoặc nhấn vào Custom heads
Thứ ba, chọn Head bạn muốn, mình sẽ ví dụ cái Neptune
Thứ tư, nhấn vào thoi
Thứ nam, kéo xuống, tại mục "Other", ô "Value", nhấn "Copy"!
Đã copy xong gòi thì paste vào cái texture ở orb của bạn trong config thoi!
Thứ hai, tìm head bạn muốn hoặc nhấn vào Custom heads
Thứ ba, chọn Head bạn muốn, mình sẽ ví dụ cái Neptune
Thứ tư, nhấn vào thoi
Thứ nam, kéo xuống, tại mục "Other", ô "Value", nhấn "Copy"!
Đã copy xong gòi thì paste vào cái texture ở orb của bạn trong config thoi!
YAML:
myBeautifulOrb:
texture: eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvODg5MzcyYjYzZWE5MmUyOWQwM2MzNjJhNDZmY2ZjMjBkZDA1YWYzYTVlMjdjZDBkMWFiNDNkZjM3MWExNDIxNSJ9fX0=
Sẽ update nhiều hơn nữa, nên mong mọi người ủng hộ để mình có động lực!
Bạn có thể báo lỗi, nhờ trợ giúp hoặc đóng góp ý tưởng ở phần Thảo luận hoặc Tin nhắn trực tiếp, hoặc Tạo cuộc đối thoại! Đừng report lỗi qua phần review nha, khó cho mình để hỗ trợ bạn!
Discord của mình : adairh#4851
Cảm ơn bạn đã quan tâm, nếu thích thú thì cho mình năm sao nha
Love all!
Love all!