Minecraft PC IP: play.cubecraft.net

Do you want to see this in the future?

  • Yes :)

    Votes: 12 80.0%
  • No ;(

    Votes: 3 20.0%

  • Total voters
    15

pewax

Well-Known Member
Sep 4, 2015
219
32
103
22
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!
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
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!
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
 

pewax

Well-Known Member
Sep 4, 2015
219
32
103
22
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

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:

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
I have now my private teacher. But do it!!!
I'm his private teacher, I feel pro ;)
And yes it will be a lot easier if you already know some Java
God, THANKS
Yes I do know quite a bit of Java myself
:)
who want to make plugins with only a few hours of learning, Skript is the better option
If you know a lot of Java, it will take some hours to learn how Bukkit/Spigot/Bungee' works
 

pewax

Well-Known Member
Sep 4, 2015
219
32
103
22
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

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
 

pewax

Well-Known Member
Sep 4, 2015
219
32
103
22
Can I see some Skript syntax please?

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
 

pewax

Well-Known Member
Sep 4, 2015
219
32
103
22
BTW the first instalment of the tutorial will be coming soon :)
 

codexprivateㅤㅤㅤㅤ

Dedicated Member
May 14, 2016
895
901
168
α муѕтяισυѕ ρƖα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
 

DrHam

Forum Veteran
Sep 15, 2015
3,615
4,163
518
Kepler-452b
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
Is this Lua?
 
Members Online

Team online

Latest profile posts

Today... 216 wins in one day!
1711671596534.png
you dont know how long ive been waiting to see this <3
IMG_8461.jpeg
Frontlane wrote on S4nne's profile.
Top Bottom