Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # -------------------- #
- # LobbySystem - SrSergioxx #
- # Plugin Version 2.0 #
- # -------------------- #
- # ------------------------- #
- # Configuration Zone #
- # Messages // Settings #
- # ------------------------- #
- options:
- Prefix: &3LOBBY &fยป
- #=======================#
- # Messages #
- #=======================#
- Set: &7Lobby has been changed to your location.
- Teleport: &7You have been teleported to the Lobby!
- Teleported: &e%arg 1% &7has been teleported to the Lobby!
- SetVip: &7Lobby for VIP players have been changed !
- TeleportVip: &7You have been teleported to the Vip Lobby!
- Join: &a+ &e%player% &7Has joined the server.
- Join_Vip: &a&l+ &6&lVIP &a%player% &7Has joined the server.
- Leave: &4- &e%player% &7Has left the server.
- Leave_Vip: &4&l- &6&lVIP &a%player% &7Has left the server.
- #=======================#
- # Join Message #
- #=======================#
- Line1: &6Welcome &7%player%
- Line2: &6
- Line3: &ePlaying: &f%number of all players%/100
- Line4: &eMoney: &f-/-
- Line5: &eShop: &fshop.servername.net
- Spacer: &7&m---------------------------
- #=======================#
- # True/False Settings #
- #=======================#
- Lobby_Vip: false
- Tiles: true
- Title: &6&LWelcome Again, &a&l%player%
- Subtitle: &7Hope you enjoy the server!
- Lobby_Title: &6&lYou've Return To Lobby
- Lobby_Subtitle: &7Plugin Developed By @SrSergioxx
- ActionBar: true
- Bar: &3&lIP: &Dmc.servername.net
- JoinMSG: true
- ClearChat: true
- #=======================#
- # Join Items (Max 5) #
- #=======================#
- #---- Item 1 ----#
- Item1: true
- Slot1: 0
- Name1: &6Server Selector
- ID1: compass
- CMD1: /menu
- #---- Item 2 ----#
- Item2: true
- Slot2: 1
- Name2: &6Shop
- ID2: book
- CMD2: /shop
- #---- Item 3 ----#
- Item3: true
- Slot3: 7
- Name3: &6Test Item
- ID3: bone
- CMD3: /say Hello World!
- #---- Item 4 ----#
- Item4: true
- Slot4: 8
- Name4: &aTeleport Lobby
- ID4: diamond axe
- CMD4: /lobby
- # ---- Item 5 ----#
- Item5: false
- Slot5: 0
- Name5: &aVipLobby
- ID5: diamond
- CMD5: /lobbyvip
- #-----------------#
- # ------------------------- #
- # Codification Zone #
- # Commands // Events #
- # ------------------------- #
- on join:
- clear player's inventory
- if {@Item1} is true:
- set slot {@Slot1} of player's inventory to {@ID1} named "{@Name1}"
- if {@Item2} is true:
- set slot {@Slot2} of player's inventory to {@ID2} named "{@Name2}"
- if {@Item3} is true:
- set slot {@Slot3} of player's inventory to {@ID3} named "{@Name3}"
- if {@Item4} is true:
- set slot {@Slot4} of player's inventory to {@ID4} named "{@Name4}"
- if {@Item5} is true:
- set slot {@Slot5} of player's inventory to {@ID5} named "{@Name5}"
- on rightclick with {@ID1}:
- if name of tool is "{@Name1}":
- make player execute command "{@CMD1}"
- on rightclick with {@ID2}:
- if name of tool is "{@Name2}":
- make player execute command "{@CMD2}"
- on rightclick with {@ID3}:
- if name of tool is "{@Name3}":
- make player execute command "{@CMD3}"
- on rightclick with {@ID4}:
- if name of tool is "{@Name4}":
- make player execute command "{@CMD4}"
- on rightclick with {@ID5}:
- if name of tool is "{@Name5}":
- make player execute command "{@CMD5}"
- on join:
- if {@ClearChat} is true:
- loop 32 times:
- send ""
- on join:
- if {@JoinMSG} is true:
- send "{@Spacer}"
- send "{@Line1}"
- send "{@Line2}"
- send "{@Line3}"
- send "{@Line4}"
- send "{@Line5}"
- send "{@Spacer}"
- command /lobbysystem:
- aliases: /ls
- permission: lobby.admin
- trigger:
- send ""
- send " &a&lLobby&3&lSystem"
- send ""
- send "&f&lCommands"
- send "&e/lobby [<player>]"
- send "&e/lobbyv [<player>]"
- send "&e/setlobby"
- send "&e/setlobbyvip"
- send ""
- command /setlobby:
- trigger:
- if player has the permission "lobby.admin":
- set {server.lobby} to location of player
- send "{@Prefix} {@Set}"
- command /lobby [<player>]:
- trigger:
- if arg 1 is a player:
- player has permission "lobby.admin"
- teleport arg-1 to {server.lobby}
- send "{@Prefix} {@Teleported}" to player
- send player title "{@Lobby_Title}" with subtitle "{@Lobby_Subtitle}" for 2 seconds
- send "{@Prefix} {@Teleport}" to arg 1
- if arg 1 is not set:
- send player title "{@Lobby_Title}" with subtitle "{@Lobby_Subtitle}" for 2 seconds
- teleport player to {server.lobby}
- send "{@Prefix} {@Teleport}" to player
- command /setlobbyvip:
- trigger:
- if player has the permission "lobby.admin":
- set {server.lobbyvip} to location of player
- send "{@Prefix} {@SetVip}"
- command /lobbyvip [<player>]:
- aliases: /lobbyv
- trigger:
- if arg 1 is a player:
- player has permission "lobby.admin"
- teleport arg-1 to {server.lobbyvip}
- send "{@Prefix} {@Teleported}" to player
- send player title "{@Lobby_Title}" with subtitle "{@Lobby_Subtitle}" for 2 seconds
- send "{@Prefix} {@TeleportVip}" to arg 1
- if arg 1 is not set:
- teleport player to {server.lobbyvip}
- send player title "{@Lobby_Title}" with subtitle "{@Lobby_Subtitle}" for 2 seconds
- send "{@Prefix} {@TeleportVip}" to player
- on join:
- if player has the permission "lobby.vip":
- if {@Lobby_Vip} is true:
- teleport player to {server.lobbyvip}
- set join message to "{@Join_Vip}"
- else:
- teleport player to {server.lobby}
- set join message to "{@Join}"
- on join:
- {@Tiles} is true
- send player title "{@Title}" with subtitle "{@Subtitle}" for 2 seconds
- on join:
- {@ActionBar} is true
- set action bar of player to "{@Bar}"
- on quit:
- if player has the permission "lobby.vip":
- teleport player to {server.lobbyvip}
- set quit message to "{@Leave_Vip}"
- else:
- teleport player to {server.lobby}
- set quit message to "{@Leave}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement