Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #
- # Learn To Code In Minecraft Plugin ;)
- #
- on join:
- set {compass} to a compass named "&a&lCoding Compass!"
- set the 1st line of {compass} to "&3Right Click To Open The Menu"
- set slot 4 of player to {compass}
- on drop:
- cancel event
- on rightclick:
- player is holding a compass named "&a&lCoding Compass!":
- open chest with 6 rows named "Coding Menu" to player
- wait 3 ticks
- format slot 0 of player with a stained glass pane:5 named "&f&lSkript &a&lEasy" to close then run "say The first item was clicked! Menu Closed!"
- format slot 1 of player with a stained glass pane:7 named " " to close
- format slot 2 of player with a stained glass pane:5 named "&a&lIntroduction" with lore "&aEasy, Lesson 1" to close then run [make player execute "/easy1"]
- format slot 3 of player with a stained glass pane:5 named "&a&lHello World" with lore "&aEasy, Lesson 2" to close then run [make player execute "/easy2"]
- format slot 4 of player with a stained glass pane:5 named "&a&lEvents" with lore "&aEasy, Lesson 3" to close then run [make player execute "/easy3"]
- format slot 5 of player with a stained glass pane:5 named "&a&lConditions" with lore "&aEasy, Lesson 4" to close then run [make player execute "/easy4"]
- format slot 6 of player with a stained glass pane:5 named "&f&lSkript &a&lEasy" to close then run "say The first item was clicked! Menu Closed!"
- format slot 7 of player with a stained glass pane:5 named "&f&lSkript &a&lEasy" to close then run "say The first item was clicked! Menu Closed!"
- format slot 8 of player with a stained glass pane:5 named "&f&lSkript &a&lEasy" to close then run "say The first item was clicked! Menu Closed!"
- format slot 9 of player with a stained glass pane:7 named " " to close
- format slot 10 of player with a stained glass pane:7 named " " to close
- format slot 11 of player with a stained glass pane:7 named " " to close
- format slot 12 of player with a stained glass pane:7 named " " to close
- format slot 13 of player with a stained glass pane:7 named " " to close
- format slot 14 of player with a stained glass pane:7 named " " to close
- format slot 15 of player with a stained glass pane:7 named " " to close
- format slot 16 of player with a stained glass pane:7 named " " to close
- format slot 17 of player with a stained glass pane:7 named " " to close
- format slot 18 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 19 of player with a stained glass pane:7 named " " to close
- format slot 20 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 21 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 22 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 23 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 24 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 25 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 26 of player with a stained glass pane:1 named "&f&lSkript &6&lMeduim" to close then run "say The first item was clicked! Menu Closed!"
- format slot 27 of player with a stained glass pane:7 named " " to close
- format slot 28 of player with a stained glass pane:7 named " " to close
- format slot 29 of player with a stained glass pane:7 named " " to close
- format slot 30 of player with a stained glass pane:7 named " " to close
- format slot 31 of player with a stained glass pane:7 named " " to close
- format slot 32 of player with a stained glass pane:7 named " " to close
- format slot 33 of player with a stained glass pane:7 named " " to close
- format slot 34 of player with a stained glass pane:7 named " " to close
- format slot 35 of player with a stained glass pane:7 named " " to close
- format slot 36 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 37 of player with a stained glass pane:7 named " " to close
- format slot 38 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 39 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 40 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 41 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 42 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 43 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 44 of player with a stained glass pane:14 named "&f&lSkript &4&lHard" to close then run "say The first item was clicked! Menu Closed!"
- format slot 49 of player with a nether star named "&6&lAchivements" to close then run "say The first item was clicked! Menu Closed!"
- command /easy1:
- trigger:
- send "&f[&6MineCode&f] Welcome To MineCode!"
- wait 5 seconds
- send "&f[&6MineCode&f] My Name Is Pewax And I'll Be Teaching You To Code"
- wait 5 seconds
- send "&f[&6MineCode&f] You'll Be Able To Make Plugins In No Time :)"
- wait 5 seconds
- send "&f[&6MineCode&f] In These Tutorials I Will Be Teaching You Skript"
- wait 5 seconds
- send "&f[&6MineCode&f] Skript You May Ask? Why? What Is Skript?"
- wait 5 seconds
- send "&f[&6MineCode&f] Skript Is An Alternate Coding Language To Java"
- wait 5 seconds
- send "&f[&6MineCode&f] You Can Use It To Make Bukkit Plugins Easily"
- wait 5 seconds
- send "&f[&6MineCode&f] With Not A Very Steep Learning Curve"
- wait 5 seconds
- send "&f[&6MineCode&f] It Can Only Be Used In Minecraft"
- wait 5 seconds
- send "&f[&6MineCode&f] So Don't Expect To See Much Of It On The Internet"
- wait 5 seconds
- send "&f[&6MineCode&f] Despite This It's Still REALLY Easy To Learn"
- wait 5 seconds
- send "&f[&6MineCode&f] And Everything Is Writen Like An English Essay"
- wait 5 seconds
- send "&f[&6MineCode&f] So NO Need For brackets On Every Line"
- wait 5 seconds
- send "&f[&6MineCode&f] Here Is An Example Of Some Code From Skript:"
- wait 3 seconds
- send "&3on rightclick:"
- send " &3player is holding a fish:"
- send " &3send 'You Just Right Clicked With A Fish!'"
- wait 5 seconds
- send "&f[&6MineCode&f] I'll Teach You All About How The Code Works Later"
- wait 5 seconds
- send "&f[&6MineCode&f] For Now Though I Will Just Give You Some Tips"
- wait 5 seconds
- send "&f[&6MineCode&f] Before We Begin Our Journey Of Learning Together"
- wait 5 seconds
- send "&f[&6MineCode&f] The First Thing I Would Like To Tell You Is,"
- wait 5 seconds
- send "&f[&6MineCode&f] When I Do This <T> It Means I Am Using A Tab"
- wait 5 seconds
- send "&f[&6MineCode&f] When I Do This <T2> It Means 2 Tabs, ECT"
- wait 5 seconds
- send "&f[&6MineCode&f] I'll Give You A Quick Example:"
- wait 3 seconds
- send "&3command /example:"
- send "<T>&3trigger:"
- send "<T2>&3send '&aThis Is An Example!&3'"
- wait 5 seconds
- send "[&6MineCode&f] Instead Of:"
- send "&3command /example:"
- send " &3trigger:"
- send " &3send '&aThis Is An Example!&3'"
- wait 5 seconds
- send "&f[&6MineCode&f] Oh And I Will Replace Speech Marks With '"
- wait 5 seconds
- send "&f[&6MineCode&f] No This Isn't Because I Hate Speech Marks"
- wait 5 seconds
- send "&f[&6MineCode&f] It's Because Skript Won't Let You Use Them"
- wait 5 seconds
- send "&f[&6MineCode&f] For Sending A Message To The Player :("
- wait 5 seconds
- send "&f[&6MineCode&f] Anyway Now Thats Done I Can Finish"
- wait 5 seconds
- send "&f[&6MineCode&f] With The Introduction And Teach You How"
- wait 5 seconds
- send "&f[&6MineCode&f] To Write Your First Bit Of Real Code!"
- wait 3 seconds
- send "&f[&6MineCode&f] &aYou Have Completed Easy Lesson 1!"
- #make player execute "/pex user (give player permission minecode.easy.2)"
- command /easy2:
- permission: minecode.easy.2
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Lesson 1' First!
- trigger:
- send "&f[&6MineCode&f] Hello Again I'm Glade Your Still Here :)"
- wait 5 seconds
- send "&f[&6MineCode&f] As I Said Before In This Level We Will Make"
- wait 5 seconds
- send "&f[&6MineCode&f] A Simple Hello World Plugin"
- wait 5 seconds
- send "&f[&6MineCode&f] For This I Am Going To Use Notepad++"
- wait 5 seconds
- send "&f[&6MineCode&f] Here Is The Download Link For It:"
- wait 5 seconds
- send "&f[&6MineCode&f] https://notepad-plus-plus.org/download/v6.9.1.html"
- wait 5 seconds
- send "&f[&6MineCode&f] But Before We Start Coding I'm Going To Tell You"
- wait 5 seconds
- send "&f[&6MineCode&f] How To Load Skript Plugins Onto Your Server"
- wait 5 seconds
- send "&f[&6MineCode&f] Because It's A Little Different Than With Java Ones"
- wait 5 seconds
- send "&f[&6MineCode&f] Here Is A Step By Step Guide:"
- wait 5 seconds
- send "&f[&6MineCode&f] 1. Make Your Plugin (In Notepad++)"
- wait 3 seconds
- send "&f[&6MineCode&f] 2. Save It As A .sk File On Your Desktop"
- wait 3 seconds
- send "&f[&6MineCode&f] 3. Go Into Your Plugins Folder"
- wait 3 seconds
- send "&f[&6MineCode&f] 4. Go Into The Folder That Says 'Skript'"
- wait 3 seconds
- send "&f[&6MineCode&f] 5. Open The Folder That Says 'scripts'"
- wait 3 seconds
- send "&f[&6MineCode&f] 6. Drop Your Plugin (Notepad++ File) In That Folder"
- wait 3 seconds
- send "&f[&6MineCode&f] 7. Restart The Server And Enjoy Your Plugin"
- wait 5 seconds
- send "&f[&6MineCode&f] Ok So Now You Can Load Plugins Onto Your Server"
- wait 5 seconds
- send "&f[&6MineCode&f] All We Need Now Is An Amazing Plugin!"
- wait 5 seconds
- send "&f[&6MineCode&f] Lets Get Started By Showing You A Hello World Plugin:"
- wait 3 seconds
- send "&3on rightclick"
- send "<T>&3send 'Hello World'"
- wait 5 seconds
- send "&f[&6MineCode&f] As You Can See It's REALLY Simple"
- wait 5 seconds
- send "&f[&6MineCode&f] NOTE: 'on rightclick' Can Be Changed For Any Event"
- wait 5 seconds
- send "&f[&6MineCode&f] NOTE: I'll Talk About Events In Level 3!"
- wait 5 seconds
- send "&f[&6MineCode&f] You Can Send Anything To A Player With The Send Command"
- wait 5 seconds
- send "&f[&6MineCode&f] You Can Even Send Players A Variable/Value"
- wait 5 seconds
- send "&f[&6MineCode&f] I'll Explain Variables Later On In The Tutorials"
- wait 5 seconds
- send "&f[&6MineCode&f] This Was Pretty A Simple Tutorial But It Will Help"
- wait 5 seconds
- send "&f[&6MineCode&f] In The Long Run!"
- wait 5 seconds
- send "&f[&6MineCode&f] Anyway I'm Going To End It Off Here"
- wait 5 seconds
- send "&f[&6MineCode&f] I Hope You Enjoyed And Are Ready For The Next One"
- wait 5 seconds
- send "&f[&6MineCode&f] We Will Be Covering Events!"
- wait 5 seconds
- send "&f[&6MineCode&f] Events Will Be Way More Fun Than This :)"
- wait 5 seconds
- send "&f[&6MineCode&f] &aYou Have Completed Easy Lesson 2!"
- command /easy3:
- permission: minecode.easy.3
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Lesson 2' First!
- trigger:
- send "&f[&6MineCode&f] So You've Made It This Far? Congratz And Thank You"
- wait 5 seconds
- send "&f[&6MineCode&f] For This Lesson We Will Be Doing Events"
- wait 5 seconds
- send "&f[&6MineCode&f] Events Are Things That Are Triggered By An Entity!"
- wait 5 seconds
- send "&f[&6MineCode&f] Earlyer On In Lesson 2 We Did A Hello World Command"
- wait 5 seconds
- send "&f[&6MineCode&f] Above Where It Said: send 'Hello World'"
- wait 5 seconds
- send "&f[&6MineCode&f] There Was A Trigger: on rightclick"
- wait 5 seconds
- send "&f[&6MineCode&f] As You Could Probaly Tell When The Player"
- wait 5 seconds
- send "&f[&6MineCode&f] Right Clicked It Would Print In The Players Chat"
- wait 5 seconds
- send "&f[&6MineCode&f] 'Hello World', But We Can Do More Than This"
- wait 5 seconds
- send "&f[&6MineCode&f] With Events, Here Is An Example:"
- wait 3 seconds
- send "&3on portal enter:"
- send "<T>&3send 'You Traveled Through A Portal!'"
- wait 5 seconds
- send "&f[&6MineCode&f] There Is A List Of: on <something> Events"
- wait 5 seconds
- send "&f[&6MineCode&f] On The Skript Developers Website:"
- wait 3 seconds
- send "&f[&6MineCode&f] http://njol.ch/projects/skript/doc/events/"
- wait 5 seconds
- send "&f[&6MineCode&f] So It Should Be Fairly Easy To Make Changes To"
- wait 5 seconds
- send "&f[&6MineCode&f] Any Code You Have Or See In My Tutorials :)"
- wait 5 seconds
- send "&f[&6MineCode&f] I Guess You Know What I'm Talking About now But"
- wait 5 seconds
- send "&f[&6MineCode&f] Lets Give You Another Example Just So You Can"
- wait 5 seconds
- send "&f[&6MineCode&f] See It's Power And How Simple It Is:"
- wait 3 seconds
- send "&3on grow:"
- send "<T>&3player is holding a diamond hoe:"
- send "<T2>&3give diamond to the player"
- send "<T2>&3send 'One of your crops has risen from the earth!'"
- wait 5 seconds
- send "&f[&6MineCode&f] See It's Not So Hard Huh?"
- wait 5 seconds
- send "&f[&6MineCode&f] One Thing I'm Going To Mention Is That"
- wait 5 seconds
- send "&f[&6MineCode&f] You NEED An : After An Event Or After"
- wait 5 seconds
- send "&f[&6MineCode&f] Your Testing If An Entity Has Something!"
- wait 5 seconds
- send "&f[&6MineCode&f] I Recommend You Try This Out For Yourself Before"
- wait 5 seconds
- send "&f[&6MineCode&f] Moving On To The Next Lesson Because It Can"
- wait 5 seconds
- send "&f[&6MineCode&f] Be Hard To Understand!"
- wait 5 seconds
- send "&f[&6MineCode&f] But To Get This Far I Guess Your Doing Really Well"
- wait 5 seconds
- send "&f[&6MineCode&f] So Thats It For This Tutorial I Hope You Will Stay"
- wait 5 seconds
- send "&f[&6MineCode&f] For Our Next Topic That Will Be Using Conditions"
- wait 5 seconds
- send "&f[&6MineCode&f] I Hope You Are All Hyped Because This Is Where"
- wait 5 seconds
- send "&f[&6MineCode&f] You Start To Really Get Into Coding :)"
- wait 5 seconds
- send "&f[&6MineCode&f] Anyway Have A Great Day And I'll Catch You Later!"
- wait 5 seconds
- send "&f[&6MineCode&f] I Hope xD"
- wait 5 seconds
- send "&f[&6MineCode&f] &aYou Have Completed Easy Lesson 3!"
- command /easy4:
- permission: minecode.easy.4
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Lesson 3' First!
- trigger:
- send "&f[&6MineCode&f] Welcome Back Patreon"
- wait 5 seconds
- send "&f[&6MineCode&f] Today We Will Be Doing Conditions!"
- wait 5 seconds
- send "&f[&6MineCode&f] Conditions Are Testing If The Player"
- wait 5 seconds
- send "&f[&6MineCode&f] Is Doing Something For Example:"
- wait 3 seconds
- send "&3on rightclick:"
- send "<T>&6player is sprinting:"
- send "<T2>&3effect apply Speed 1 to the player for 10 seconds"
- send "&f[&6MineCode&f] I've Highlighted The Condition In Orange!"
- wait 5 seconds
- send "&f[&6MineCode&f] As You Can See It's Used With The Format:"
- wait 5 seconds
- send "&f[&6MineCode&f] <player> is <something>"
- wait 5 seconds
- Send "&f[&6MineCode&f] So We Could Have: player is riding <something>"
- wait 5 seconds
- send "&f[&6MineCode&f] Or: player is holding <something>"
- wait 5 seconds
- send "&f[&6MineCode&f] There Is A Big List Of These Made By The"
- wait 5 seconds
- send "&f[&6MineCode&f] Developer, Here Is The Link:"
- wait 5 seconds
- send "&f[&6MineCode&f] http://njol.ch/projects/skript/doc/conditions/"
- wait 5 seconds
- send "&f[&6MineCode&f] Oh And Also You Need An : After A Condition"
- wait 5 seconds
- send "&f[&6MineCode&f] I Have Already Gone Through : But I'll Talk"
- wait 5 seconds
- send "&f[&6MineCode&f] About It Later As Well Because It's Important!"
- wait 5 seconds
- send "&f[&6MineCode&f] Although This Tutorial Has Been Pretty Quick"
- wait 5 seconds
- send "&f[&6MineCode&f] (Quicker Than The Others) It Has Hopefully"
- wait 5 seconds
- send "&f[&6MineCode&f] Helped You In Writing Better Bits Of Code"
- wait 5 seconds
- send "&f[&6MineCode&f] And Also If You Practice You Will Become"
- wait 5 seconds
- send "&f[&6MineCode&f] Better So I Suggest Doing That Before Moving"
- wait 5 seconds
- send "&f[&6MineCode&f] On To The Next Lesson That Will Be On"
- wait 5 seconds
- send "&f[&6MineCode&f] Expressions! :D"
- wait 5 seconds
- send "&f[&6MineCode&f] Anyway That's It For Now! Goodbye :)"
- wait 5 seconds
- send "&f[&6MineCode&f] &aYou Have Completed Easy Lesson 4!"
- command /easy5:
- permission: minecode.easy.5
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Lesson 4' First!
- trigger:
- send "Expressions"
- command /easy6:
- permission: minecode.easy.6
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Lesson 5' First!
- trigger:
- send "If-Else"
- command /easy7:
- permission: minecode.easy.7
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Lesson 6' First!
- trigger:
- send "Making A Gun :D"
Advertisement
Add Comment
Please, Sign In to add comment