Home›Java›Mods›[SKRIPT] Lobby System By M0ajod_
[SKRIPT] Lobby System By M0ajod_
ModsJava

[SKRIPT] Lobby System By M0ajod_

Java mod listed for Minecraft 1.7–1.15. Downloads from the MC Java Mods app on Android.

⬇ Download on Spigot
Welcome To My Skript

Skript : Lobby System 1.0

Author : M0ajod_





---------[SCOREBOARD]---------

[​IMG]


--------[JOIN MSG]--------

[​IMG]


--------[SERVER SELECTOR ITEM]

[​IMG]


-------[ENDER BUFF ITEM]-------

[​IMG]

:love: DONT FORGET TO DOWNLOAD :love:


/setrank PLayer Rank shortcut the pex command!
Note : Add suffix: in pex for work scoreboard rank


THE SKRIPT

------------------------------------------------------------------------------------
#------------------------------------

# Lobby System By M0ajod_

# Version 1.0

# YT: www.Youtube.com/Ma8wd34Majd

#------------------------------------







#------------------------------------

# On Join make msg info server

#------------------------------------

on join:
lobby(player)
set join message to ""
send "&3&l&m------------------------"
send "&1"
send "&f● &3&lExampleMC Network &f●"
send "&2"
send "&f● &3Website: &fwww.ExampleMC.ml"
send "&f● &3Client: &fwww.ExampleMC.ml/client"
send "&f● &3Store: &fwww.ExampleMC.ml/store"
send "&3"
send "&3&l&m------------------------"

#------------------------------------

# On Drop Item Cancel EVENT

#------------------------------------

on inventory click:
world is "world":
cancel event

on drop:
world is "world":
cancel event

on place:
world is "world":
cancel event

on break:
world is "world":
cancel event

at 18:00:
set time to 7:00

on quit:
set quit message to ""

#------------------------------------

# Scoreboard

#------------------------------------

function createBoard(p: player, t: text, size: integer = 15):
add "&a", "&b", "&c", "&d", "&e", "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9" and "&f" to {_d::*}
if stylish scoreboard "%{_t}%-%{_p}%" does not exist:
create new stylish scoreboard named "%{_t}%-%{_p}%"
loop {_size} times:
create a new id based score "%{_p}%Slot%loop-number%" with text "%{_d::%loop-number%}%" slot loop-number for stylish scoreboard "%{_t}%-%{_p}%"
wait a tick
set stylish scoreboard of {_p} to "%{_t}%-%{_p}%"

function deleteBoard(p: player):
loop "Hub":
if stylish scoreboard "%loop-value%-%{_p}%" exists:
loop 15 times:
delete the id based score "%{_p}%Slot%loop-number-2%" in stylish scoreboard "%loop-value-1%-%{_p}%"
delete stylish scoreboard "%loop-value-1%-%{_p}%"

function setSlot(p: player, board: text, slot: integer, t: text):
add "&a", "&b", "&c", "&d", "&e", "&1", "&2", "&3", "&4", "&5", "&6", "&7", "&8", "&9" and "&f" to {_d::*}
if {_slot} is between 1 and 15:
set text of id "%{_p}%Slot%{_slot}%" to "%{_d::%{_slot}%}%%{_t}%"

function setScoreboard(p: player, board: text):
set {_uuid} to uuid of {_p}
deleteBoard({_p})
wait a tick
if {_board} is "Hub":
createBoard({_p}, {_board}, 9)
set title of stylish scoreboard "%{_board}%-%{_p}%" to "&f● &3&lExampleMC &f| &7Hub &f●"
while {_p}'s world is "world":
if stylish scoreboard "%{_board}%-%{_p}%" exists:
setSlot({_p}, {_board}, 9, "&7&m-------------------------")
setSlot({_p}, {_board}, 8, "&3&lOnline Players")
setSlot({_p}, {_board}, 7, "&f%number of all players%")
setSlot({_p}, {_board}, 6, "")
setSlot({_p}, {_board}, 5, "&3&lRank")
setSlot({_p}, {_board}, 4, "&f> %colored {_p}'s suffix%")
setSlot({_p}, {_board}, 3, "")
setSlot({_p}, {_board}, 2, "&3&lwww.Examplemc.ml")
setSlot({_p}, {_board}, 1, "&7&m-------------------------")
wait a second

#------------------------------------

# Names Items in lobby

#------------------------------------

options:

HUBCOMPASS: &8● &3&lSERVER SELECTOR &7(Right Click) &8●

ENDERBUFF: &8● &3&lENDER BUFF &7(Right Click) &8●

#-----------------------------------

# In Lobby enable features

#-----------------------------------

function lobby(p: player):
make console execute command "mvtp %{_p}% world"
wait 5 ticks
setScoreboard({_p}, "Hub")
set slot 0 of {_p} to glowing nether_star named "{@HUBCOMPASS}"
set slot 8 of {_p} to glowing 1024 ender_pearl named "{@ENDERBUFF}"


#-----------------------------------

# /hub

#-----------------------------------
# if player's world is "ffa":
# make console execute command "ffa leave"

#command hub:
# trigger:
# if player's world is "world":
# make console execute command "mvtp %player% world"
# lobby(player)

#----------------------------------

# on click in ender_pearl teleport like HUB CORE SERVERS

#----------------------------------

on rightclick with ender pearl:
if player's gamemode is not creative:
cancel event
wait 1 tick
push player forwards at speed 2.0

#----------------------------------

# /Setrank shortcut the command /pex user Player group set Rank

#----------------------------------

command /setrank [<offline player>] [<text>]:
permission: staff.owner
permission message: &c&lSetRank &8> &7You Don't have permission!
trigger:
if arg-2 is not set:
send "&c&lSetRank &8> &7Use:"
send "&c/setrank &7<player> <rank>"
if arg-2 is set:
execute console command "pex user %arg-1% group set %arg-2%"
send "&c&lSetRank &8> &7%arg-1% Is now a %arg-2%"
send "&c&lSetRank &8> &7Your rank is now %arg-2%!" to arg 1
---------------------------------------------------------------------------------------------
Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

[SKRIPT] Lobby System By M0ajod_ is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 212 times (via Spigot). Download it and open it directly in the game.

Explore more