Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on place of structure void:
- gamemode of player is not creative
- cancel event
- on script load:
- register new shapeless recipe for enchantment table using air, book, air, diamond, lapis block, diamond, lapis block, lapis block, lapis block
- register new shapeless recipe for xp bottle using air, lapis block, air, air, lapis block, air, air, air, air
- register new shapeless recipe for arrow using air, air, air, air, cobble, air, air, dirt, air
- register new shapeless recipe for enchanted book using air, air, air, air, diamond block, diamond block, air, diamond block, book
- register new shapeless recipe for ender chest using diamond block, emerald block, diamond block, emerald block, ender eye, emerald block, diamond block, emerald block, diamond block
- register new shapeless recipe for structure void using diamond block, emerald block, diamond block, emerald block, ender pearl, emerald block, diamond block, emerald block, diamond block
- register new shapeless recipe for end portal frame using diamond block, emerald block, diamond block, emerald block, redstone block, emerald block, diamond block, emerald block, diamond block
- on craft:
- event-item is enchanted book
- execute console command "give %player% enchanted_book 1 0 {StoredEnchantments:[{id:70,lvl:1}]}"
- loop all items in player's inventory:
- loop-item is event-item
- remove loop-item from player
- command /serverclose <text>:
- permission: op
- trigger:
- set {closereason} to arg-1
- loop all players:
- loop-player doesn't have permission "op"
- kick the loop-player due to "server closed!"
- message "サーバーをクローズしました"
- command /serveropen:
- permission: op
- trigger:
- clear {closereason}
- message "サーバーをオープンしました"
- stop
- on join:
- player does not have permission "canjoin"
- {closereason} is set
- kick the player due to {closereason}
- on break:
- x coord of location of event-block is greater than or equal to 99989
- x coord of location of event-block is smaller than or equal to 100045
- z coord of location of event-block is greater than or equal to 99962
- z coord of location of event-block is smaller than or equal to 100011
- if event-block is coal ore:
- player's tool is pickaxe
- set event-block to bedrock
- cancel event
- give player 1 coal
- add 1 to xp of player
- if player's tool is enchanted with "Fortune 1" parsed as enchantment type:
- set {_fortune} to 25
- if player's tool is enchanted with "Fortune 2" parsed as enchantment type:
- set {_fortune} to 50
- if player's tool is enchanted with "Fortune 3" parsed as enchantment type:
- set {_fortune} to 75
- if player's tool is enchanted with "Fortune 4" parsed as enchantment type:
- set {_fortune} to 100
- if {_fortune} is set:
- chance of random integer between 0 and {_fortune}%:
- give player 1 coal
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 10 seconds
- set event-block to coal ore
- if event-block is iron ore:
- player's tool is stone pickaxe or iron pickaxe or diamond pickaxe
- set event-block to bedrock
- cancel event
- give player 1 iron ore
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 12 seconds
- set event-block to iron ore
- if event-block is gold ore:
- player's tool is iron pickaxe or diamond pickaxe
- set event-block to bedrock
- cancel event
- give player 1 gold ore
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 14 seconds
- set event-block to gold ore
- if event-block is lapis ore:
- player's tool is stone pickaxe or iron pickaxe or diamond pickaxe
- set event-block to bedrock
- cancel event
- give player 6 lapis lazuli
- add 4 to xp of player
- if player's tool is enchanted with "Fortune 1" parsed as enchantment type:
- set {_fortune} to 25
- if player's tool is enchanted with "Fortune 2" parsed as enchantment type:
- set {_fortune} to 50
- if player's tool is enchanted with "Fortune 3" parsed as enchantment type:
- set {_fortune} to 75
- if player's tool is enchanted with "Fortune 4" parsed as enchantment type:
- set {_fortune} to 100
- if {_fortune} is set:
- chance of random integer between 0 and {_fortune}%:
- give player 6 lapis lazuli
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 18 seconds
- set event-block to lapis ore
- if event-block is stone:
- player's tool is pickaxe
- set event-block to bedrock
- cancel event
- give player 1 cobblestone
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 10 seconds
- set event-block to stone
- if event-block is redstone ore:
- player's tool is iron pickaxe or diamond pickaxe
- set event-block to bedrock
- cancel event
- give player 5 redstone dust
- add 3 to xp of player
- if player's tool is enchanted with "Fortune 1" parsed as enchantment type:
- set {_fortune} to 25
- if player's tool is enchanted with "Fortune 2" parsed as enchantment type:
- set {_fortune} to 50
- if player's tool is enchanted with "Fortune 3" parsed as enchantment type:
- set {_fortune} to 75
- if player's tool is enchanted with "Fortune 4" parsed as enchantment type:
- set {_fortune} to 100
- if {_fortune} is set:
- chance of random integer between 0 and {_fortune}%:
- give player 5 redstone dust
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 16 seconds
- set event-block to redstone ore
- if event-block is diamond ore:
- player's tool is iron pickaxe or diamond pickaxe
- set event-block to bedrock
- cancel event
- give player 1 diamond
- add 7 to xp of player
- if player's tool is enchanted with "Fortune 1" parsed as enchantment type:
- set {_fortune} to 25
- if player's tool is enchanted with "Fortune 2" parsed as enchantment type:
- set {_fortune} to 50
- if player's tool is enchanted with "Fortune 3" parsed as enchantment type:
- set {_fortune} to 75
- if player's tool is enchanted with "Fortune 4" parsed as enchantment type:
- set {_fortune} to 100
- if {_fortune} is set:
- chance of random integer between 0 and {_fortune}%:
- give player 1 diamond
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 50 seconds
- set event-block to diamond ore
- if event-block is emerald ore:
- player's tool is iron pickaxe or diamond pickaxe
- set event-block to bedrock
- cancel event
- give player 1 emerald
- add 20 to xp of player
- if player's tool is enchanted with "Fortune 1" parsed as enchantment type:
- set {_fortune} to 25
- if player's tool is enchanted with "Fortune 2" parsed as enchantment type:
- set {_fortune} to 50
- if player's tool is enchanted with "Fortune 3" parsed as enchantment type:
- set {_fortune} to 75
- if player's tool is enchanted with "Fortune 4" parsed as enchantment type:
- set {_fortune} to 100
- if {_fortune} is set:
- chance of random integer between 0 and {_fortune}%:
- give player 1 emerald
- add 10 to xp of player
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- wait 40 seconds
- set event-block to emerald ore
- if event-block is gravel:
- cancel event
- if player's tool is axe:
- add 1 to data value of player's tool
- if player's tool is wooden axe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden axe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron axe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond axe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone axe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- if player's tool is sword:
- add 2 to data value of player's tool
- if player's tool is wooden sword:
- if data value of player's tool is greater than or equal to 60:
- remove player's tool from player's inventory
- if player's tool is golden sword:
- if data value of player's tool is greater than or equal to 33:
- remove player's tool from player's inventory
- if player's tool is iron sword:
- if data value of player's tool is greater than or equal to 251:
- remove player's tool from player's inventory
- if player's tool is diamond sword:
- if data value of player's tool is greater than or equal to 1562:
- remove player's tool from player's inventory
- if player's tool is stone sword:
- if data value of player's tool is greater than or equal to 132:
- remove player's tool from player's inventory
- if player's tool is pickaxe:
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- if player's tool is shovel:
- add 1 to data value of player's tool
- if player's tool is wooden shovel:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden shovel:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron shovel:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond shovel:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone shovel:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- chance of 10%:
- set {_yes} to true
- give player 1 flint
- if {_yes} is not set:
- give player 1 gravel
- set event-block to bedrock
- wait 10 seconds
- set event-block to gravel
- cancel event
- #
- #
- #
- # LOGS
- #
- #
- #
- on damage:
- y coord of location of victim is smaller than or equal to -30
- loop all items in victim's inventory:
- loop-item is structure void
- remove 1 structure void from victim
- cancel event
- execute console command "effect %victim% resistance 10 99"
- wait 1 ticks
- command "tp %victim% 8 65 8"
- broadcast "&c%victim%はstructure voidの力で奈落への落下を無効化した!"
- on mine:
- x coord of location of event-block is greater than or equal to -100055
- x coord of location of event-block is smaller than or equal to -99941
- z coord of location of event-block is greater than or equal to -100061
- z coord of location of event-block is smaller than or equal to -99942
- if event-block is vertical oak log:
- cancel event
- if player's tool is axe:
- add 1 to data value of player's tool
- if player's tool is wooden axe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden axe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron axe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond axe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone axe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- if player's tool is sword:
- add 2 to data value of player's tool
- if player's tool is wooden sword:
- if data value of player's tool is greater than or equal to 60:
- remove player's tool from player's inventory
- if player's tool is golden sword:
- if data value of player's tool is greater than or equal to 33:
- remove player's tool from player's inventory
- if player's tool is iron sword:
- if data value of player's tool is greater than or equal to 251:
- remove player's tool from player's inventory
- if player's tool is diamond sword:
- if data value of player's tool is greater than or equal to 1562:
- remove player's tool from player's inventory
- if player's tool is stone sword:
- if data value of player's tool is greater than or equal to 132:
- remove player's tool from player's inventory
- if player's tool is pickaxe:
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- if player's tool is shovel:
- add 1 to data value of player's tool
- if player's tool is wooden shovel:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden shovel:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron shovel:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond shovel:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone shovel:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- loop blocks in radius 1 of event-location:
- loop-block is log
- set {_location} to location of loop-block
- set loop-block to barrier
- if block under the loop-block is dirt or grass block:
- set loop-block to oak sapling
- loop 50 times:
- loop blocks in radius 1 of {_location}:
- loop-block-2 is log
- set {_location} to location of loop-block-2
- set loop-block-2 to barrier
- if block under the loop-block-2 is dirt or grass block:
- set loop-block-2 to oak sapling
- loop 1000 times:
- loop blocks in radius 3 of {_location}:
- loop-block-2 is not air or barrier block or dirt or grass block or oak sapling
- set {_location} to location of loop-block-2
- set loop-block-2 to structure void
- if block under the event-block is dirt or grass block:
- set event-block to oak sapling
- set {_ransu} to random integer between 1 and 6
- if {_ransu} is 1:
- give player 1 vertical oak log
- if {_ransu} is 2:
- give player 1 vertical spruce log
- if {_ransu} is 3:
- give player 1 vertical birch log
- if {_ransu} is 4:
- give player 1 vertical jungle log
- if {_ransu} is 5:
- give player 1 vertical acacia log
- if {_ransu} is 6:
- give player 1 vertical dark oak log
- loop 2 times:
- chance of 10%:
- set {_ransu} to random integer between 1 and 6
- if {_ransu} is 1:
- give player 1 oak sapling
- if {_ransu} is 2:
- give player 1 spruce sapling
- if {_ransu} is 3:
- give player 1 birch sapling
- if {_ransu} is 4:
- give player 1 jungle sapling
- if {_ransu} is 5:
- give player 1 acacia sapling
- if {_ransu} is 6:
- give player 1 dark oak sapling
- wait 10 seconds
- set {_location} to event-location
- loop 500 times:
- loop blocks in radius 5 of {_location}:
- loop-block is barrier or oak sapling
- set {_location} to location of loop-block
- set loop-block to vertical oak log
- loop 500 times:
- loop blocks in radius 3 of {_location}:
- loop-block is structure void
- set {_location} to location of loop-block
- set loop-block to oak leaves
- if event-block is grass block:
- cancel event
- if player's tool is axe:
- add 1 to data value of player's tool
- if player's tool is wooden axe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden axe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron axe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond axe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone axe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- if player's tool is sword:
- add 2 to data value of player's tool
- if player's tool is wooden sword:
- if data value of player's tool is greater than or equal to 60:
- remove player's tool from player's inventory
- if player's tool is golden sword:
- if data value of player's tool is greater than or equal to 33:
- remove player's tool from player's inventory
- if player's tool is iron sword:
- if data value of player's tool is greater than or equal to 251:
- remove player's tool from player's inventory
- if player's tool is diamond sword:
- if data value of player's tool is greater than or equal to 1562:
- remove player's tool from player's inventory
- if player's tool is stone sword:
- if data value of player's tool is greater than or equal to 132:
- remove player's tool from player's inventory
- if player's tool is pickaxe:
- add 1 to data value of player's tool
- if player's tool is wooden pickaxe:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden pickaxe:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron pickaxe:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond pickaxe:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone pickaxe:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- if player's tool is shovel:
- add 1 to data value of player's tool
- if player's tool is wooden shovel:
- if data value of player's tool is 60:
- remove player's tool from player's inventory
- if player's tool is golden shovel:
- if data value of player's tool is 33:
- remove player's tool from player's inventory
- if player's tool is iron shovel:
- if data value of player's tool is 251:
- remove player's tool from player's inventory
- if player's tool is diamond shovel:
- if data value of player's tool is 1562:
- remove player's tool from player's inventory
- if player's tool is stone shovel:
- if data value of player's tool is 132:
- remove player's tool from player's inventory
- give player 1 dirt
- set event-block to air
- wait 10 seconds
- set event-block to grass block
- if event-block is leaves:
- cancel event
- if "%event-block%" is "SUGAR_CANE_BLOCK":
- set event-block to air
- cancel event
- give player 1 sugar cane
- wait 30 seconds
- command "/setblock %x coord of event-location% %y coord of event-location% %z coord of event-location% reeds"
- cancel event
- clear {locationwood}
- on any movement:
- clear {lobbywarp.%player%}
- command /lobbywarp:
- trigger:
- {warprunning.%player%} is not set
- set {lobbywarp.%player%} to true
- set {warprunning.%player%} to true
- message "&aロビーへ転送します...一切動かないでください..."
- wait 10 seconds
- if {lobbywarp.%player%} is not set:
- message "&cロビーワープが中断されました!"
- clear {warprunning.%player%}
- stop
- execute console command "/tp %player% 8 64 8"
- message "&aワープしました!"
- clear {warprunning.%player%}
- on damage:
- if attacker's tool is axe:
- set damage to damage/10
- add damage to victim's health
- set damage to 0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement