Skip to content

Instantly share code, notes, and snippets.

@Pocanistaken
Created June 4, 2020 22:03
Show Gist options
  • Save Pocanistaken/a1c2d821d99c6cc2fe85b1eb419a6100 to your computer and use it in GitHub Desktop.
Save Pocanistaken/a1c2d821d99c6cc2fe85b1eb419a6100 to your computer and use it in GitHub Desktop.
ServerManager v0.0.1
# _______ _______ _______ _______ _______ _______ _______ _ _______ _______ _______ _______
#( ____ \( ____ \( ____ )|\ /|( ____ \( ____ ) ( )( ___ )( ( /|( ___ )( ____ \( ____ \( ____ )
#| ( \/| ( \/| ( )|| ) ( || ( \/| ( )| | () () || ( ) || \ ( || ( ) || ( \/| ( \/| ( )|
#| (_____ | (__ | (____)|| | | || (__ | (____)| | || || || (___) || \ | || (___) || | | (__ | (____)|
#(_____ )| __) | __)( ( ) )| __) | __) | |(_)| || ___ || (\ \) || ___ || | ____ | __) | __)
# ) || ( | (\ ( \ \_/ / | ( | (\ ( | | | || ( ) || | \ || ( ) || | \_ )| ( | (\ (
#/\____) || (____/\| ) \ \__ \ / | (____/\| ) \ \__ | ) ( || ) ( || ) \ || ) ( || (___) || (____/\| ) \ \__
#\_______)(_______/|/ \__/ \_/ (_______/|/ \__/ |/ \||/ \||/ )_)|/ \|(_______)(_______/|/ \__/
#
# _______ _______ _ _______ _________ _______
# ( ____ \( ___ )( ( /|( ____ \\__ __/( ____ \
# | ( \/| ( ) || \ ( || ( \/ ) ( | ( \/
# | | | | | || \ | || (__ | | | |
# | | | | | || (\ \) || __) | | | | ____
# | | | | | || | \ || ( | | | | \_ )
# | (____/\| (___) || ) \ || ) ___) (___| (___) |
# (_______/(_______)|/ )_)|/ \_______/(_______)
#
# _______ _______ __
# |\ /| ( __ ) ( __ ) / \
# | ) ( | | ( ) | | ( ) | \/) )
# | | | | | | / | | | / | | |
# ( ( ) ) | (/ /) | | (/ /) | | |
# \ \_/ / | / | | | / | | | |
# \ / | (__) | _ | (__) | _ __) (_
# \_/ (_______) (_) (_______) (_) \____/
#
#
#
#
# Developed by Pocan#4406
# Contact & Support & Report = https://discord.gg/QTGs4Kr
# Current Version = 0.0.1
#
options:
p: &c&lServerManager &8»
command /servermanager [<text>]:
aliases: sm, smanager, serverm
trigger:
if player has permission "servermanager.onlinecounter":
send "&8&m---------------[&bOnline Counter&8&m]---------------" to player
send "&aConnected to the server today &8» &d%{24hoursplayercounter}% &ctimes" to player
send "&aEstimated average online today &8» &d%{24hoursplayercounter}/3% &conlines" to player
send "&8&m---------------[&bOnline Counter&8&m]---------------" to player
on join:
add 1 to {24hoursplayercounter}
every 24 hours:
delete {24hoursplayercounter}
on join:
if player has permission "servermanager.welcome":
send "{@p} &7Welcome to server dear &a%player%" to player
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment