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, Level 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, Level 2" to close then run [make player execute "/easy2"]
- format slot 4 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 5 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 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:
- wait 3 seconds
- 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's Means 2 Tabs, ECT"
- wait 5 seconds
- send "&f[&6MineCode&f] <T2> Means 2 Tabs But <T> Is Only Equal To 1 Tab"
- 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 Level 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, Level 1' First!
- trigger:
- send "&f[&6MineCode&f] Hello Again I'm Glade Your Still Here :)"
- send "&f[&6MineCode&f] As I Said Before In This Level We Will Make"
- send "&f[&6MineCode&f] A Simple Hello World Plugin"
- send "&f[&6MineCode&f] For This I Am Going To Use Notepad++"
- send "&f[&6MineCode&f] Here Is The Download Link For It:"
- send "&f[&6MineCode&f] https://notepad-plus-plus.org/download/v6.9.1.html"
- send "&f[&6MineCode&f] But Before We start coding I'm Going To Tell You"
- send "&f[&6MineCode&f] How To Load Skript Plugins Onto Your Server"
- send "&f[&6MineCode&f] Because It's A Little Different Than With Java Ones"
- send "&f[&6MineCode&f] Here Is A Step By Step Guide:"
- send "&f[&6MineCode&f] 1. Make Your Plugin (In Notepad++)"
- send "&f[&6MineCode&f] 2. Save It As A .sk File On Your Desktop"
- send "&f[&6MineCode&f] 1. Go Into Your Plugins Folder"
- send "&f[&6MineCode&f] 2. Go Into The Folder That Says 'Skript'"
- send "&f[&6MineCode&f] 3. Open The Folder That Says 'scripts'"
- send "&f[&6MineCode&f] 4. Drop Your Plugin (Notepad++ File) In That Folder"
- send "&f[&6MineCode&f] 5. Restart The Server And Enjoy Your Plugin"
- send "&f[&6MineCode&f] "
- command /easy3:
- permission: minecode.easy.3
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Level 2' First!
- trigger:
- send "Events"
- command /easy4:
- permission: minecode.easy.4
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Level 3' First!
- trigger:
- send "Conditions"
- command /easy5:
- permission: minecode.easy.5
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Level 4' First!
- trigger:
- send "Expressions"
- command /easy6:
- permission: minecode.easy.6
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Level 5' First!
- trigger:
- send "If-Else"
- command /easy7:
- permission: minecode.easy.7
- permission message: &f[&6MineCode&f] You Must Complete 'Easy, Level 6' First!
- trigger:
- send "Making A Gun :D"
Advertisement
Add Comment
Please, Sign In to add comment