1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Teaching people code here! [Skript] [Easy] [Idea]

Discussion in 'Plugins/Codes' started by pewax, Jun 15, 2016.

?

Do you want to see this in the future?

  1. Yes :)

    12 vote(s)
    85.7%
  2. No ;(

    2 vote(s)
    14.3%
  1. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    Welcome everyone,

    I am thinking of making a minecraft programming tutorial in Skript using the skript plugin from bukkit.
    Here I will explain the basics of what I will have in my tutorials! :)

    What is Skript:
    Skript is a programming language used for the sole purpose of creating minecraft "plugins" with ease. It will also be what I will be using for the tutorial!

    What I will teach:
    Loops,
    If-else statements,
    Nested if-else statements (maybe),
    Variables,
    Effects,
    Expressions,
    Events,
    Types,
    Commands,
    + Much more!

    What projects will I go though:
    A simple cookie clicker,
    Making a simple command,
    =+= Suggest more =+=

    It will only go ahead if enough people wish to see these tutorials in the future!

    If you would like to comment any suggestions please do because it will help bring this tutorial to life and improve it when it is released!
     
  2. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,535
    Likes Received:
    1,480
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Do you know Java coding?
    I mean, using Eclipse/IntelliJ coding yourself?

    I heard a little a bit of Skript, I want to see how it is, will be easier if I alredy know Java? :p
     
  3. idrias

    idrias Member

    Joined:
    May 12, 2016
    Messages:
    77
    Likes Received:
    12
    Trophy Points:
    8
    Gender:
    Male
    Location:
    Here
    I have now my private teacher. But do it!!!
     
  4. Landviz

    Landviz Member

    Joined:
    Feb 20, 2016
    Messages:
    667
    Likes Received:
    391
    Trophy Points:
    63
    Gender:
    Male
    Location:
    North pole
    Yes please :)
     
  5. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    Yes I do know quite a bit of Java myself but just for people who want to make plugins with only a few hours of learning, Skript is the better option (if your only going to make minecraft "plugins")! :p

    And yes it will be a lot easier if you already know some Java :)
     
    Last edited: Jun 16, 2016
  6. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    Glad you like the idea :)
     
  7. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    Well if you ever get stuck you know where to come for help ;)
     
  8. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,535
    Likes Received:
    1,480
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    I'm his private teacher, I feel pro ;)
    God, THANKS
    :)
    If you know a lot of Java, it will take some hours to learn how Bukkit/Spigot/Bungee' works
     
  9. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    Yes that is why I will be using Skript for the tutorials instead of the bukkit or spigot API but maybe in the future I'll do a Java tutorial :p
     
  10. BalthierTSK_daForumSeeker

    BalthierTSK_daForumSeeker Member

    Joined:
    Jan 3, 2016
    Messages:
    488
    Likes Received:
    123
    Trophy Points:
    43
    Gender:
    Male
    Occupation:
    Making Sense For Non-sensycal People
    Location:
    Somewhere Behind The Sky
    Home Page:
    :v i only know C++ :v
     
  11. Landviz

    Landviz Member

    Joined:
    Feb 20, 2016
    Messages:
    667
    Likes Received:
    391
    Trophy Points:
    63
    Gender:
    Male
    Location:
    North pole
    Probably more usefull than HTML & CSS
     
  12. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    Well its better than nothing :)
     
  13. CattyCat

    CattyCat Member

    Joined:
    Jan 6, 2016
    Messages:
    1,315
    Likes Received:
    171
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Programmer, Mathematician
    Location:
    Canada FTW
    Home Page:
    Can I see some Skript syntax please?
     
  14. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    You mean like this?

    Code:
    every second:
        if {variable} is equal to 5:
            send "The variable {variabe} is equal to 5" to all-entities
        else:
            send "The variable {variabe} is not equal to 5" to all-entities
     
  15. CattyCat

    CattyCat Member

    Joined:
    Jan 6, 2016
    Messages:
    1,315
    Likes Received:
    171
    Trophy Points:
    63
    Gender:
    Male
    Occupation:
    Programmer, Mathematician
    Location:
    Canada FTW
    Home Page:
    Yes thank you.
     
  16. pewax

    pewax Member

    Joined:
    Sep 4, 2015
    Messages:
    210
    Likes Received:
    26
    Trophy Points:
    28
    Gender:
    Male
    BTW the first instalment of the tutorial will be coming soon :)
     
  17. ͘L͘yz

    ͘L͘yz Member

    Joined:
    May 14, 2016
    Messages:
    669
    Likes Received:
    523
    Trophy Points:
    93
    Occupation:
    Love the life you live. Live the life you love.
    Location:
    α муѕтяισυѕ ρƖαcє
    Skript? Isn't it script?
     
  18. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,535
    Likes Received:
    1,480
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
  19. ͘L͘yz

    ͘L͘yz Member

    Joined:
    May 14, 2016
    Messages:
    669
    Likes Received:
    523
    Trophy Points:
    93
    Occupation:
    Love the life you live. Live the life you love.
    Location:
    α муѕтяισυѕ ρƖαcє
    Code:
    hook.Add( "Think", "ThinkAboutIt", function()
        if input.IsKeyDown(KEY_B) then
            local closest = nil
           
            local hitpos = LocalPlayer():GetEyeTrace()
           
            for k, v in pairs( ents.FindInSphere(hitpos.HitPos,500) ) do
                if v:IsPlayer() and v != LocalPlayer() then
                    if v:Alive() then
                        closest = v
                    end
                end
            end
           
            if closest and closest:IsPlayer() and closest:Alive() then
                local head = closest:LookupBone("ValveBiped.Bip01_Head1")
                local headpos, headang = closest:GetBonePosition(head)
               
                LocalPlayer():SetEyeAngles( (headpos-LocalPlayer():GetShootPos()):Angle() )
                RunConsoleCommand("+attack")
                timer.Simple(0.25,function()
                    RunConsoleCommand("-attack")
                end)
            end
        end
    end)


    spooky
     
  20. A Christmas Hangar

    A Christmas Hangar Member

    Joined:
    Sep 15, 2015
    Messages:
    2,535
    Likes Received:
    1,480
    Trophy Points:
    113
    Gender:
    Male
    Location:
    Kepler452B
    Home Page:
    Is this Lua?