Commit 48d362aa authored by Tommy Ang's avatar Tommy Ang 🤣

Essentials - Fix #37, tablist header and footer

parent 9fd70ce2
[{"output":"C:\\Users\\TomYaMee\\Documents\\rammycraft","rem_comments":true,"method":"CONCATENATE","obfuscate":false,"excluded_file":["C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoMob.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-Logger.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RammyClasses.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoClan.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-LootCrate.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBomb2.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-DefReborn.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoArmor.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\Empty Sk File.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBan.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoAchievement.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoEconomy.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBounty.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoDonate.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RCC-Miner.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\Market.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBomb.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-Craft.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\README.md","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-Auction.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoRun.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoSmelt.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoSocket.sk"],"name":"rammycraft","rem_empty_lines":true,"obfuscate_lvl":0,"included_file":["C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoHologram.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoLock.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoLogin.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoNewbie.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoEssentials.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBroadcast.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RammyAPI.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-RammyAFK.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoChat.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoTown.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\json.sk"]}]
\ No newline at end of file
[]
\ No newline at end of file
{"primary_server_id":-1,"project_id":1547352194,"addons":[],"name":"rammycraft","files":["C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoMob.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-Logger.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoHologram.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RammyClasses.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoLock.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoClan.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-LootCrate.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBomb2.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-DefReborn.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoLogin.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoArmor.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\Empty Sk File.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBan.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoAchievement.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoNewbie.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoEconomy.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoEssentials.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBounty.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoDonate.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RCC-Miner.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\Market.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBomb.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoBroadcast.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RammyAPI.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-RammyAFK.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-Craft.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\README.md","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoChat.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\PR-Auction.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoRun.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoTown.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoSmelt.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\RC-PotatoSocket.sk","C:\\Users\\TomYaMee\\Documents\\rammycraft\\json.sk"],"skript_version":"Latest","last_open":["RC-PotatoLock.sk"]}
\ No newline at end of file
......@@ -1159,12 +1159,15 @@ on join:
set {_player} to size of all players
#set {_max} to max players #Umbaska
set {_max} to max players count
if {re.%player%.current.hour} is more than 0:
# set tab header to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%" and footer to "Current Session: %{re.%player%.current.hour}% hour(s) | Ping : %{_ping}%" for player
if {re.%player%.current.hour} is more than 0:
set tablist header of player to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%"
set tablist footer of player to "Current Session: %{re.%player%.current.hour}% hour(s) | Ping : %{_ping}%"
else if {re.%player%.current.minute} is more than 0:
# set tab header to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%" and footer to "Current Session: %{re.%player%.current.minute}% minute(s) | Ping : %{_ping}%" for player
set tablist header of player to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%"
set tablist footer of player to "Current Session: %{re.%player%.current.minute}% minute(s) | Ping : %{_ping}%"
else if {re.%player%.current.second} is more than 0:
# set tab header to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%" and footer to "Current Session: %{re.%player%.current.second}% second(s) | Ping : %{_ping}%" for player
set tablist header of player to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%"
set tablist footer of player to "Current Session: %{re.%player%.current.second}% second(s) | Ping : %{_ping}%"
#on join:
# while player is online:
......
command /spawnbuilders:
command /spawnbuilders:
permission: op
trigger:
set {_location} to location at -405, 74, -397.4
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment