• Chào bạn, hãy đăng ký hoặc đăng nhập để tham gia cùng bọn mình và sử dụng được đầy đủ chức năng của diễn đàn :).
Banbeucmas

Plugins Việt Nam Treasure Chest - Săn kho báu

Mã:
Example:
XFrom: 0
ZFrom: 0
XTo: 0
ZTo: 0

Chuyển thành
Mã:
[Tên world có kho báu]:
XFrom: -100
ZFrom: -100
XTo: 100
ZTo: 100
 
Cho tôi xem danh sách thế giới hiện tại
Và config.yml
configVersion: 2.0.1
Prefix: '&7[&eTreasure&aChest&7]'
Locale: en_US
SpawnDelay: 300
DespawnDelay: 300
ChestLimit: 2
RewardLimit: 3
HiddenChestLimit: 3
EnableScoreboard: true
World:
World:
XFrom: -100
ZFrom: -100
XTo: 100
ZTo: 100
Chest:
Example:
Type: NORMAL
Chance: 20
Rewards:
'0':
Type: Item
Material: Diamond_Sword
Amount: 1
Enchantment:
- Damage_All-1
Lore:
- '&3This is an example sword'
Name: '&3Example Sword'
Damage: 0
Chance: 100
'1':
Type: Command
Commands:
- give %player% 264 1
Chance: 100
World
World_the_end
World_nether
chỉ có 3 world
 
configVersion: 2.0.1
Prefix: '&7[&eTreasure&aChest&7]'
Locale: en_US
SpawnDelay: 300
DespawnDelay: 300
ChestLimit: 2
RewardLimit: 3
HiddenChestLimit: 3
EnableScoreboard: true
World:
World:
XFrom: -100
ZFrom: -100
XTo: 100
ZTo: 100
Chest:
Example:
Type: NORMAL
Chance: 20
Rewards:
'0':
Type: Item
Material: Diamond_Sword
Amount: 1
Enchantment:
- Damage_All-1
Lore:
- '&3This is an example sword'
Name: '&3Example Sword'
Damage: 0
Chance: 100
'1':
Type: Command
Commands:
- give %player% 264 1
Chance: 100
World
World_the_end
World_nether
chỉ có 3 world
Để cuối tuần xem
Ông đưa cho tôi file world với config.yml xem
Sợ lộ file sv thì nhắn riêng ý
 
đã thử xóa world cài lại plugin, nhưng vẫn bị :cry2: cho xin file config.yml ông đang dùng đi
Cái plugin này do tôi code, config của ông hoàn toàn ổn khi tôi test
 
sao tui chỉnh cái
Treasure:
none:
World: example
X: 0
Y: 0
Z: 0
thành

Treasure:
none:
World: World
X: 79
Y: 245
Z: 368
xong reload cái nó thành như cũ

Treasure:
none:
World: example
X: 0
Y: 0
Z: 0
là sao @Banbeucmas
 
sao tui chỉnh cái
Treasure:
none:
World: example
X: 0
Y: 0
Z: 0
thành

Treasure:
none:
World: World
X: 79
Y: 245
Z: 368
xong reload cái nó thành như cũ

Treasure:
none:
World: example
X: 0
Y: 0
Z: 0
là sao @Banbeucmas
Chỉnh trong config.yml
Mình có ghi rõ là đừng động vào treasure.yml mà
 
configVersion: 2.0.1
Prefix: '&7[&eTreasure&aChest&7]'
Locale: vi_VN
SpawnDelay: 1800
DespawnDelay: 300
ChestLimit: 5
RewardLimit: 1
HiddenChestLimit: 1
EnableScoreboard: false

config vậy rồi mà sao quà trong rương vẫn là 3 món v :| tưởng dòng RewardLimit: 1 làm quà trong rương còn 1 món thôi chứ nhỉ :|
 
configVersion: 2.0.1
Prefix: '&7[&eTreasure&aChest&7]'
Locale: vi_VN
SpawnDelay: 1800
DespawnDelay: 300
ChestLimit: 5
RewardLimit: 1
HiddenChestLimit: 1
EnableScoreboard: false

config vậy rồi mà sao quà trong rương vẫn là 3 món v :| tưởng dòng RewardLimit: 1 làm quà trong rương còn 1 món thôi chứ nhỉ :|
Restart cái sv xem
Hệ thống reload config của mình không ổn đinh lắm
 
Similar content Most view Xem thêm
Back
Top Bottom