emopediaMC Posted September 6, 2021 Share Posted September 6, 2021 Yes, I could've put it into a pastebin or such, but I'm lazy lol #CONFIGURABLE options: serverName: servername serverIP: play.servername.net serverDiscord: discord.servername.net serverStore: store.servername.net #MAIN CODE function onJoin(p: player): if {core::joins::*} does not contain {_p}'s uuid: add 1 to {core::uniquejoins::*} add {_p}'s uuid to {core::joins::*} broadcast "&e&lNEW JOIN &8| &7%{_p}% &8(&7##%{core::uniquejoins::*}%)" send "&e-----&6-----&e-----&6-----&e-----" to {_p} send "&7Welcome to &e&l{@serverName}" to {_p} send "" to {_p} send "&eServer IP: &7<link:{@serverIP}>{@serverIP}<reset>" to {_p} send "&eDiscord: &7<link:{@serverDiscord}>{@serverDiscord}<reset>" to {_p} send "&eStore: &7<link:{@serverStore}>{@serverStore}<reset>" to {_p} send "" to {_p} send "&7We hope you enjoy your stay." to {_p} send "&e-----&6-----&e-----&6-----&e-----" to {_p} else: if {_p} has permission "core.staff": broadcast "&e&lSTAFF JOIN &8| &7%{_p}%" send "&e-----&6-----&e-----&6-----&e-----" to {_p} send "&7Welcome back to &e&l{@serverName}" to {_p} send "" to {_p} send "&eServer IP: &7<link:{@serverIP}>{@serverIP}<reset>" to {_p} send "&eDiscord: &7<link:{@serverDiscord}>{@serverDiscord}<reset>" to {_p} send "&eStore: &7<link:{@serverStore}>{@serverStore}<reset>" to {_p} send "" to {_p} send "&7We hope you enjoy your stay." to {_p} send "&e-----&6-----&e-----&6-----&e-----" to {_p} else: broadcast "&e&lJOIN &8| &7%{_p}%" send "&e-----&6-----&e-----&6-----&e-----" to {_p} send "&7Welcome back to &e&l{@serverName}" to {_p} send "" to {_p} send "&eServer IP: &7<link:{@serverIP}>{@serverIP}<reset>" to {_p} send "&eDiscord: &7<link:{@serverDiscord}>{@serverDiscord}<reset>" to {_p} send "&eStore: &7<link:{@serverStore}>{@serverStore}<reset>" to {_p} send "" to {_p} send "&7We hope you enjoy your stay." to {_p} send "&e-----&6-----&e-----&6-----&e-----" to {_p} on join: onJoin(player) Developer Joined Minecraft in 2010 on PC Joined Minehut in August 2016 1 year Skript experience 2 months Java experience 5 months Javascript experience Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now