Other available versions. Ordered by newest to oldest versions:
Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
# MineBlock 2.3 by AcaiBerii/Horizon Development. All rights reserved.
# Made originally by me for GumbleCraft, but I released it to the public because I felt sorry that I'm an advanced coder in SkriptLang.
# @stoovie.#8420 on Dankcord :P
# No snooping here allowed! :o
on damage:
damage cause is fall:
cancel event
#Anti fall-damage (cant figure out the hell that is WorldGuard so this will do.) Also its not a pain for other people using this script.
command /mbadmin [<text>]:
permission: gumble.mbadmin
trigger:
if arg-1 is "reload":
make server execute "/sk reload MineBlock"
send "&aGumbleCraft &f&l>> &fReloaded MineBlock!"
# Mineblock admin cmds...
# Ez skript reloads!
# Commands coming soon dont ask me why they're not here yet (TM) (R)
command /mbhub:
permission: gumble.mineblockhub
trigger:
make server execute "/mvtp %player% mineblockhub"
#Teleports player to mineblock hub
command /mineblock [<text>] [<text>]:
aliases: /mb
permission: gumble.mineblock
trigger:
if arg-1 is "create":
send "Attempting to create island!"
make server execute "/mv clone sbtemplate %player%"
make server execute "/mvtp %player% %player%"
set {level_%player%} to 1
give 1 of wooden axe to player
give 1 of oak log to player
give 1 of iron ore to player
give 1 of coal ore to player
give 1 of diamond ore to player
# Gives generators to kids once they start an island :D
else:
if arg-1 is "delete":
make server execute "/mvdelete %player%"
make server execute "/mvconfirm"
set {level_%player%} to 0
send "Block deleted!"
else:
if arg-1 is "home":
make server execute "/mvtp %player% %player%"
else:
if arg-1 is "help":
send "-------[&aGumbleCraft &eMineBlock&f]-------" to player
send "Use /mineblock create to start. Use /mineblock home to go home." to player
send "Or use /mineblock delete to delete your world." to player
send "&a&lAliases&f&l >> &r/mb" to player
else:
if arg-1 is "upgrade":
if arg-2 is "confirm":
if {level_%player%} is 1:
if balance of player >= 5000:
set {level_%player%} to 2
remove 5000 from player's balance
make server execute "/mv delete %player%"
make server execute "/mvconfirm"
make server execute "/mv clone sbtemplate2 %player%"
make server execute "/mvtp %player% %player%"
send "&f"
send "&a&lDone! &fYour island has been overwritten with your new upgrade."
send "&f"
else:
send "&f"
send "&4&lYou don't have sufficient funds to complete this operation."
send "&f"
else:
send "&f"
send "&4&lAre you sure?"
send "This will overwrite your existing island."
send "use /mb upgrade confirm if you're sure."
send "&f"
else:
if arg-1 is "shop":
make player execute "/mbshop"
else:
if arg-1 is "clear":
if arg-2 is "confirm":
make server execute "/mv delete %player%"
make server execute "/mv confirm"
make server execute "/mv clone sbtemplate %player%"
make server execute "/mvtp %player% %player%"
else:
send "&f"
send "&4&lARE YOU SURE?"
send "This will delete everything on your island, including resetting your upgrades."
send "&1&luse /mb clear confirm to continue!"
send "&f"
# HUGE lines of text here. This is the MineBlock general command, to operate basic commands such as create, delete, sell (/mbsell GUI), upgrade and clear. Also needs MultiVerse-Core
command /mbshop:
permission: gumble.mbshopgui
trigger:
open virtual chest inventory named "&1&lMBShopHome" to player
format gui slot 0 of player with cobblestone named "&4&lSell" to close then run player command "/mbsell"
command /mbsell:
trigger:
open virtual chest inventory named "&a&lGumble &1&lMBShop" to player
format gui slot 0 of player with cobblestone named "Sell All Cobblestone" to close then run player command "/sellall cobblestone"
format gui slot 1 of player with oak log named "Sell All Oak Log" to close then run player command "/sellall oak_log"
format gui slot 2 of player with iron ore named "Sell All Iron Ore" to close then run player command "/sellall iron_ore"
format gui slot 3 of player with diamond ore named "Sell All Diamond Ore" to close then run player command "/sellall diamond_ore"
format gui slot 4 of player with emerald ore named "Sell All Emerald Ore" to close then run player command "/sellall emerald_ore"
# Here you go. This is what /mb sell operates. Needs TuSKe because Y E S
on mine oak log:
set the block to oak log
add oak log to player's inventory
on mine iron ore:
set the block to iron ore
add iron ingot to player's inventory
on mine diamond ore:
set the block to diamond ore
add diamond to player's inventory
on mine coal ore:
set the block to coal ore
add coal to player's inventory
on mine emerald ore:
set the block to emerald ore
add emerald to player's inventory
on mine gold ore:
set the block to gold ore
add gold ingot to player's inventory
# "unbreakable" blocks. Oak logs and ores dont break. Check GumbleUtils.sk for cmds to pack oak logs :D
# There, a detailed walkthrough of MineBlock by GumbleCraft!