# ██ ██ █████ ██████ ██ ██████ ███ ███ █████ ███ ██ █████ ██████ ███████ ██ ██ ███ █████ # ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ████ ██ ██ ████ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ # ██ ████ ██ ██ ██ ██████ ██ ██ ██ ██ ████ ██ ███████ ██ ██ ██ ███████ ██ ██ █████ ██ ██ ██ ██ ██ ██ # ████ ████ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ████ ██ ██ ██ ██ ██ ████ ██ ██ ██ # ██ ██ █████ ██ ██ ███████ ██████ ██ ██ ██ ██ ██ ███ ██ ██ ██████ ███████ ██ ███████ ██ █████ # ᴀᴜᴛʜᴏʀ ɪs xKᴜʙᴜs_ # ʀᴜʟᴇs # Cʜᴀɴɢɪɴɢ ᴛʜᴇ ᴀᴜᴛʜᴏʀ ɪs ᴘʀᴏʜɪʙɪᴛᴇᴅ # Bᴀɴ ᴏɴ sᴇʟʟɪɴɢ ᴛʜᴇ sᴄʀɪᴘᴛ on load: send "%nl%&d&lWᴏʀʟᴅ Mᴀɴᴀɢᴇ &fsᴋʀɪᴘᴛ &8- &a&nsᴜᴄᴄᴇsғᴜʟʏ ʟᴏᴀᴅ&r&f!%nl%&fTʜᴀɴᴋs ғᴏʀ ᴜsɪɴɢ ᴛʜɪs sᴄʀɪᴘᴛ%nl%" to console on tab complete of "/wm" or "/worldmanage" or "/worldmanage:wm" or "/worldmanage:worldmanage": set tab completions for position 1 to "create" and "list" and "delete" and "teleport" and "tp" and "del" and "help" and "load" and "unload" and "spawn" and "setspawn" and "clone" and "seed" and "edit" and "reload" if tab arg-1 = "create": set tab completions for position 2 "< name >" on chat: if {_editing::seed::%player%} is true: cancel event if message contains "stop": send "&2&l* &aCanceling.." to player wait 1 second set {_editing::seed::%player%} to false open {_edit::third} to player if message contains "a" or "b" or "c" or "d" or "e" or "f" or "g" or "h" or "i" or "j" or "k" or "l" or "m" or "n" or "o" or "p" or "r" or "s" or "t" or "u" or "ó" or "w" or "x" or "y" or "z" or "+": send "&4&l* &cMeesage can contains only number and -, try one more time!" to player if meesage don't contains "a" or "b" or "c" or "d" or "e" or "f" or "g" or "h" or "i" or "j" or "k" or "l" or "m" or "n" or "o" or "p" or "r" or "s" or "t" or "u" or "ó" or "w" or "x" or "y" or "z" or "+": send "&2&l* &aSetted seed! &c&l&nIf it has a different sign than numbers and - there will be an error in the code!" to player set {_world::seed} to content of message set {_editing::seed::%player%} to false open {_edit::third} to player if {_editing::name::%player%} is true: cancel event if message contains "stop": send "&2&l* &aCanceling.." to player wait 1 second set {_editing::name::%player%} to false open {_edit::fifth} to player else: set {_world::name} to content of message set {_editing::name::%player%} to false open {_edit::fifth} to player on inventory click: event-inventory is not player's inventory if name of event-inventory is "&d&lWorldManage &8| &fWorld Creating": cancel event if clicked slot is 22: wait 1 tick close player's inventory send "&2&l* &aWorld creating canceled" to player if clicked slot is 10: set {_world::type} to "amplified" send "&2&l* &aChoosed world type is &a&nAMPLIFIED" to player close player's inventory wait 3 ticks open {_edit::second} to player if clicked slot is 10: set {_world::type} to "normal" send "&2&l* &aChoosed world type is &a&nNORMAL" to player close player's inventory wait 3 ticks open {_edit::second} to player if clicked slot is 10: set {_world::type} to "flat" send "&2&l* &aChoosed world type is &a&nFLAT" to player close player's inventory wait 3 ticks open {_edit::second} to player if clicked slot is 10: set {_world::type} to "large_biomes" send "&2&l* &aChoosed world type is &a&nLARGE BIOMES" to player close player's inventory wait 3 ticks open {_edit::second} to player if clicked slot is 10: set {_world::type} to "legacy" send "&2&l* &aChoosed world type is &a&nLEGACY" to player close player's inventory wait 3 ticks open {_edit::second} to player if clicked slot is 10: set {_world::type} to "buffet" send "&2&l* &aChoosed world type is &a&nBUFFET" to player close player's inventory wait 3 ticks open {_edit::second} to player if name of event-inventory is "&d&lWorldManage &8| &fChoosing Dimension": cancel event if clicked slot is 22: close player's inventory send "&2&l* &aWorld creating canceled" to player if clicked slot is 16: set {_world::dimension} to "The End" send "&2&l* &aWorld dimension is The End" to player close player's inventory wait 3 ticks open {_edit::third} to player if clicked slot is 10: set {_world::dimension} to "Overworld" send "&2&l* &aWorld dimension is Overworld" to player close player's inventory wait 3 ticks open {_edit::third} to player if clicked slot is 13: set {_world::dimension} to "Nether" send "&2&l* &aWorld dimension is Nether" to player close player's inventory wait 3 ticks open {_edit::third} to player if clicked slot is 21: close player's inventory wait 3 ticks open {_edit::second} to player if name of event-inventory is "&d&lWorldManage &8| &fChoosing seed": cancel event if clicked slot is 22: close player's inventory send "&2&l* &aWorld creating canceled" to player if clicked slot is 21: close player's inventory wait 3 ticks open {_edit::second} to player if clicked slot is 15: set {_editing::seed::%player%} to true close player's inventory send title "&d&lWorldManage" with subtitle "&fEnter world seed in chat" to player send "&2&l* &fWrite world seed in chat or type stop to cancel this action" to player send "&2&l* &fYou have 30s to write seed" to player wait 30 seconds if {_editing::seed::%player%} is true: send title "&d&lWorldManage" with subtitle "&cEnd of time to enter seed" to player send "&4&l* &cEnd of time to ender seed of the world" to player set {_editing::seed::%player%} to false open {_edit::third} to player stop else: stop if clicked slot is 11: set {_world::seed} to "Random" close player's inventory wait 3 ticks open {_edit::fourth} to player send "&2&l* &aWorld seed is Random" to player if name of event-inventory is "&d&lWorldManage &8| &fHardcore": cancel event if clicked slot is 22: close player's inventory send "&2&l* &aWorld creation canceled" to player if clicked slot is 21: close player's inventory wait 3 ticks open {_edit::third} to player if clicked slot is 15: close player's inventory wait 3 ticks send "&2&l* &aHardcore mode enabled" to player open {_edit::fifth} to player set {_world::hardcore} to "Yes" if clicked slot is 11: close player's inventory wait 3 ticks send "&2&l* &aHardcore mode &cdisabled" to player open {_edit::fifth} to player set {_world::hardcore} to "No" if name of event-inventory is "&d&lWorldManage &8| &fName": cancel event if clicked slot is 22: close player's inventory send "&2&l* &aWorld creating canceled" to player if clicked slot is 21: close player's inventory wait 3 ticks open {_edit::fourth} to player if clicked slot is 13: close player's inventory send title "&d&lWorldManage" with subtitle "&fWrite new name in chat" to player send "&d&lWorldManage &7write here new named for this world! When you want to cancel write stop. You have 30s for this" to player set {_editing::name::%player%} to true wait 30 seconds if {_editin::name::%player%} is true: set {_editing::name::%player%} to false open {_edit::fifth} to player send "&4&l* &cEditting canceled, time expired" to player stop else: stop command /wm [] [] []: # # # # # # # # # < 8 aliases: worldmanage, worldmanage:wm, worldmanage:worldmanage # # # # # # # # # < 17 trigger: # # # # # # # # # < 26 if arg 1 is "create": if arg 2 is set: if player has permission "worldmanage.world.create": set {_world::name} to arg 2 set {_edit::start} to chest inventory with 3 rows named "&d&lWorldManage &8| &fWorld Creating" set slot [integers between 0 and 26] of {_edit::start} to gray stained glass pane named "&7" set slot 10 of {_edit::start} to lime candle named "&a&lAmplified" with lore "&8&l| &7Just for fun, requires%nl%&8&l| &7beefy computer%nl%&7%nl%&8&l| &7Click to set world type%nl%&8&l| &7to amplified" set slot 11 of {_edit::start} to green candle named "&2&lNormal" with lore "&8&l| &7Normal minecraft world%nl%&7%nl%&8&l| &7Click to set world type%nl%&8&l| &7to normal" set slot 12 of {_edit::start} to lime candle named "&a&lFlat" with lore "&8&l| &7Flat world with%nl%&8&l| &7structures only%nl%&7%nl%&8&l| &7Click to set world type%nl%&8&l| &7to flat" set slot 14 of {_edit::start} to lime candle named "&a&lLarge Biomes" with lore "&8&l| &7World with large biomes%nl%&8%nl%&8&l| &7Click to set world type%nl%&8&l| &7to large biomes" set slot 15 of {_edit::start} to green candle named "&2&lLegacy" with lore "&8&l| &7Smaller world only bedrock%nl%&8%nl%&8&l| &7Click to set world type%nl%&8&l| &7to legacy" set slot 16 of {_edit::start} to lime candle named "&a&lBuffet" with lore "&8&l| &7World with only one biome%nl%&7%nl%&8&l| &7Click to set world type%nl%&8&l| &7to buffet" set slot 5 of {_edit::start} to book named "&d&lSettings" with lore "&8&l| &7Here will be options%nl%&8&l| &7you set" set slot 22 of {_edit::start} to barrier named "&4&lᴄʟᴏsᴇ" with lore "&8&l| &7Click here to cancel%nl%&8&l| &7world creation" open {_edit::start} to player else: send "&4&l* &cAcces denied" to player else: send "&4&l* &cSpecify name of the world" to player set {_edit::second} to chest inventory with 3 rows named "&d&lWorldManage &8| &fChoosing Dimension" set slot [integers between 0 and 26] of {_edit::second} to gray stained glass pane named "&7" set slot 10 of {_edit::second} to grass block named "&a&lOverworld" with lore "&8&l| &7World with villages, trees%nl%&8&l| &7and caves to explore%nl%&7%nl%&8&l| &7Clik to set world dimension%nl%&8&l| &7to overworld" set slot 13 of {_edit::second} to netherrack named "&c&lNether" with lore "&8&l| &7World with bastions and fortresses%nl%&8%nl%&8&l| &7Click to set world dimension%nl%&8&l| &7to nether" set slot 16 of {_edit::second} to end stone named "&d&lThe End" with lore "&8&l| &7World with dragons and cities%nl%&8&l| &7with elytras%nl%&7%nl%&8&l| &7Click to set world dimension%nl%&8&l| &7to the end" set slot 22 of {_edit::second} to barrier named "&4&lᴄʟᴏsᴇ" with lore "&8&l| &7Click here to cancel%nl%&8&l| &7world creation" set slot 5 of {_edit::second} to book named "&d&lSettings" with lore "&8&l| &7World type&8: &f%{_world::type}%" set slot 21 of {_edit::second} to arrow named "&e&lʙᴀᴄᴋ" with lore "&8&l| &7Click here to return%nl%&8&l| &7to the previous page" set {_edit::third} to chest inventory with 3 rows named "&d&lWorldManage &8| &fChoosing seed" set slot [integers between 0 and 26] of {_edit::third} to gray stained glass pane named "&7" set slot 11 of {_edit::third} to red candle named "&c&lRandom Seed" with lore "&8&l| &7Click here to create%nl%&8&l| &7world with random seed" set slot 15 of {_edit::third} to lime candle named "&a&lSet seed" with lore "&8&l| &7Click here to set seed%nl%&8&l| &7for your world" set slot 5 of {_edit::third} to book named "&d&lSettings" with lore "&8&l| &7World type&8: &f%{_world::type}%%nl%&8&l| &7World dimension&8: &f%{_world::dimension}%" set slot 22 of {_edit::third} to barrier named "&4&lᴄʟᴏsᴇ" with lore "&8&l| &7Click here to cancel%nl%&8&l| &7world creation" set slot 21 of {_edit::third} to arrow named "&e&lʙᴀᴄᴋ" with lore "&8&l| &7Click here to return%nl%&8&l| &7to the previous page" set {_edit::fourth} to chest inventory with 3 rows named "&d&lWorldManage &8| &fHardcore" set slot [integers between 0 and 26] of {_edit::fourth} to gray stained glass pane named "&7" set slot 11 of {_edit::fourth} to red candle named "&c&lNo" with lore "&8&l| &7Click here to set hardcore%nl%&8&l| &7mode to false on world" set slot 15 of {_edit::fourth} to lime candle named "&a&lYes" with lore "&8&l| &7Click here to set hardcore%nl%&8&l| &7mode to true on world" set slot 5 of {_edit::fourth} to book named "&d&lSettings" with lore "&8&l| &7World type&8: &f%{_world::type}%%nl%&8&l| &7World dimension&8: &f%{_world::dimension}%%nl%&8&l| &7World seed&8: %{_world::seed}%" set slot 22 of {_edit::fourth} to barrier named "&4&lᴄʟᴏsᴇ" with lore "&8&l| &7Click here to cancel%nl%&8&l| &7world creation" set slot 21 of {_edit::fourth} to arrow named "&e&lʙᴀᴄᴋ" with lore "&8&l| &7Click here to return%nl%&8&l| &7to the previous page" set {_edit::fifth} to chest inventory with 3 rows named "&d&lWorldManage &8| &fName" set slot [integers between 0 and 26] of {_edit::fifth} to gray stained glass pane named "&7" set slot 13 of {_edit::fifth} to paper named "&f&lWorld name" with lore "&8&l| &7Actual name is&8: %{_world::name}%%nl%&8%nl%&8&l| &7To change it click here" set slot 22 of {_edit::fifth} to barrier named "&4&lᴄʟᴏsᴇ" with lore "&8&l| &7Click here to cancel%nl%&8&l| &7world creation" set slot 21 of {_edit::fifth} to arrow named "&e&lʙᴀᴄᴋ" with lore "&8&l| &7Click here to return%nl%&8&l| &7to the previous page" set {_edit::sixth} to chest inventory with 3 rows named "&d&lWorldManage &8| &fGenerator"