Commit e24874f6 authored by Atsukio's avatar Atsukio 🐬

Essentials - Shortened code

parent 9c9e2845
......@@ -1159,15 +1159,13 @@ 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 tablist header of player to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%"
set tablist header of player to "&6You are now playing &lRammyCraft&r&6!%nl%&aOnline players: %{_player}%/%{_max}%"
if {re.%player%.current.hour} is more than 0:
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 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 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}%"
set tablist footer of player to "Current Session: %{re.%player%.current.second}% second(s) | Ping : %{_ping}%"
#on join:
# while player is online:
......
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