Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- command /bungeeworlds [<text>] [<text>]:
- aliases: /bungee, /bg
- permission: bg.use
- trigger:
- if arg 1 is "help":
- send "&6&l&m-----&3&l BungeeWorlds &6&l&m-----"
- send ""
- send " &c&l&m--&3&l Help &a- wiew help/command list"
- send " &c&l&m--&3&l Create &a- Create a server/world"
- if {bg.gadgets.settings} is set:
- send " &c&l&m--&3&l &aSettings &a- Wiew a menu with settings for your world/server"
- else:
- send " &c&l&m--&3&l &cSettings &a- Wiew a menu with settings for your world/server&c(Download a gadget)"
- send " &c&l&m--&3&l Gadgets &a- Wiew a list with installed gadgets, or not installed"
- send " &c&l&m--&3&l Remove &a- Remove a server/world"
- send " &c&l&m--&3&l info &a- Wiew a info list"
- send ""
- send "&6&l&m------------------------"
- if arg 1 is not set:
- send "&6&l&m-----&3&l BungeeWorlds &6&l&m-----"
- send ""
- send " &c&l&m--&3&l Help &a- wiew help/command list"
- send " &c&l&m--&3&l Create &a- Create a server/world"
- if {bg.gadgets.settings} is set:
- send " &c&l&m--&3&l &aSettings &a- Wiew a menu with settings for your world/server"
- else:
- send " &c&l&m--&3&l &cSettings &a- Wiew a menu with settings for your world/server&c(Download a gadget)"
- send " &c&l&m--&3&l Gadgets &a- Wiew a list with installed gadgets, or not installed"
- send " &c&l&m--&3&l Remove &a- Remove a server/world"
- send " &c&l&m--&3&l info &a- Wiew a info list"
- send ""
- send "&6&l&m------------------------"
- if arg 1 is "info":
- send "&3&l&m---------------------------------"
- send " &aName of skript: &3&l&nBungeeWorlds"
- send " &aAuthor of skript: &3&l&nIlusionMan"
- send " &aAuthor of gadgets: &3&l&nlets11231"
- send " &aLanguage: &3&lEN"
- send "&3&l&m---------------------------------"
- if arg 1 is "create":
- if arg 2 is set:
- if {bw.server.%arg 2%} is not set:
- send "&aI create a settings for &3&l%arg 2%&a..."
- wait 1 seconds
- send "&3&lWait &a5"
- wait 1 seconds
- send "&3&lWait &a4"
- wait 1 seconds
- send "&3&lWait &a3"
- wait 1 seconds
- send "&3&lWait &42"
- wait 1 seconds
- send "&3&lWait &c1"
- send "&aServer settings for &3&l%arg 2%&a created"
- open chest with 3 rows named "&3&lSelectAType" to player
- format slot 4 of player with redstone named "&aWhat type for &3&l%arg 2%&a?" to be unstealable
- format slot 11 of player with grass named "&3&lFlat" to close then run [make player execute command "/bg_flag_Create %arg 2%"]
- format slot 15 of player with grass named "&3&lNormal" to close then run [make player execute command "/bg_norml_Create %arg 2%"]
- format slot 26 of player with red glass named "&c&lClose" with lore "&4&lTo close menu" to close
- else:
- send "&c&lServer &4&l&n%arg 2%&c&l is created!!"
- else:
- send "&c&lPlease write a &4&lSERVER!"
- if arg 1 is "settings":
- if {bg.gadgets.settings} is set:
- make player execute command "/bggs"
- else:
- send "&aOh no! you not downloaded a &c&l&ngadget&a for this!"
- if arg 1 is "gadgets" or "gadget":
- open chest with 3 rows named "&3&lGadgets" to player
- if {bg.gadgets.settings} is set:
- format slot 0 of player with glowing emerald block named "&a&lSettings" with lore "||&aDownloaded!|| &3&lCommands|| &6&l&m--&a/bungee settings" to be unstealable
- else:
- format slot 0 of player with coal block named "&c&lSettings" with lore "||&cNot downloaded" to be unstealable
- if {bg.gadgets.chat} is set:
- format slot 1 of player with glowing emerald block named "&a&lChat" with lore "||&aDownloaded!|| &3&lCommands|| &6&l&m--&c&l Not commands" to be unstealable
- else:
- format slot 1 of player with coal block named "&c&lChat" with lore "||&cNot downloaded" to be unstealable
- if {bg.gadgets.join} is set:
- format slot 2 of player with glowing emerald block named "&a&lJoin" with lore "||&aDownloaded!|| &3&lCommands|| &6&l&m--&a /server" to be unstealable
- else:
- format slot 2 of player with coal block named "&c&lJoin" with lore "||&cNot downloaded" to be unstealable
- if {bg.gadgets.gamerule} is set:
- format slot 3 of player with glowing emerald block named "&a&lGamerule" with lore "||&aDownloaded!|| &3&lCommands|| &6&l&m--&a /sgamerule" to be unstealable
- else:
- format slot 3 of player with coal block named "&c&lGamerule" with lore "||&cNot downloaded" to be unstealable
- if arg 1 is "remove":
- if arg 2 is set:
- if {bw.server.%arg 2%} is set:
- send "&aRemoving server &3&l%arg 2%"
- delete {bw.server.%arg 2%}
- remove arg 2 from {bw.servers::*}
- make console execute command "/mv remove %arg 2%"
- make console execute command "/mv delete %arg 2%"
- make console execute command "/mvconfirm"
- send "&aServer &3&l%arg 2%&a removed"
- else:
- send "&c&lThis server is not existed!"
- else:
- send "&c&lPlease write a &4&lSERVER!"
- command /bg_flag_Create [<text>]:
- trigger:
- send "&aWait i create a world for &3&l%arg 1%"
- make console execute command "/mv create %arg 1% normal -t flat"
- send "&aServer &3&l%arg 1% &acreated!"
- wait 20 tick
- send "&aJoining you to &3&l%arg 1%"
- make console execute command "/mv tp %player% %arg 1%"
- wait 20 tick
- set {bw.server.%arg 1%} to location of player
- add arg 1 to {bw.servers::*}
- command /bg_norml_Create [<text>]:
- trigger:
- send "&aWait i create a world for &3&l%arg 1%"
- make console execute command "/mv create %arg 1% normal"
- send "&aServer &3&l%arg 1% &acreated!"
- wait 20 tick
- send "&aJoining you to &3&l%arg 1%"
- make console execute command "/mv tp %player% %arg 1%"
- wait 20 tick
- set {bw.server.%arg 1%} to location of player
- add arg 1 to {bw.servers::*}
Advertisement
Add Comment
Please, Sign In to add comment