- Added check treasure exist GUI
-- exist GUI update (change time and exist or not) per second
- Added tab-complete for /tr test
- Added auto-remove all treasure when stop server
- Added player view of main GUI
- Added type for command /tr test [type]
Change lore on Message.yml
Code (Java):
TR_content_item_lore
:
-
"&8Enter the lucky treasure gui"
-
"&8Or enter the exist treasure view"
-
""
-
"&aLeft-Click to open the content view"
-
"&bRight-Click to open the treasure exist"
Message.yml, you should add above new content
Code (Java):
# Player GUI
TR_player_GUI_title
:
"LuckyTreasure - Main"
TR_player_GUI_back
:
"&6Back to main menu"
TR_player_GUI_content_item_name
:
"&6Treasure Content"
TR_player_GUI_content_item_lore
:
-
"&8Check what items inside the treasure"
-
""
-
"&aClick to open the treasure content"
TR_player_GUI_exist_item_name
:
"&bExist treasure"
TR_player_GUI_exist_item_lore
:
-
"&8Check how man treasure exist now"
-
""
-
"&aClick to open the exist treasure"
TR_exist_GUI_title
:
"Exist treasure (Page.%page%)"
TR_exist_back
:
"&6Back to main menu"
# Exist GUI
TR_exist_player_GUI_item_lore
:
-
"&8Look on this treasure remain time"
-
"&8Also where is this and range"
-
"&7Remain time: &b%time%"
-
"&7Range: &6%range%"
-
"&7World: &6%world%"
TR_exist_admin_GUI_item_lore
:
-
"&8Look on this treasure remain time"
-
"&8Also where is this and range"
-
"&7Remain time: &b%time%"
-
"&7Range: &6%range%"
-
"&7World: &6%world%"
-
""
-
"&aLeft-Click teleport to the treasure"
-
"&bShift+Right-Click remove this treasure"