Skript vs Plugins

Status
This thread has been locked.

warfox

Professional Water Drinker
Premium
Feedback score
8
Posts
587
Reactions
251
Resources
0
Decent amount of people (that I know of) are starting to use skript nowadays I want to know what would be pros and cons about plugin & skript.
 

Lone____Wolf

Big Money Man! xD
Supreme
Feedback score
6
Posts
90
Reactions
97
Resources
8
You must not know anyone that has good servers then with more then 100 people, skript just isn't as efficient and can't do as much. It will never compare to an actual plugin made with java
 

solo

Setups, Configurations, Management, and Designs
Supreme
Feedback score
83
Posts
1,871
Reactions
847
Resources
0
You must not know anyone that has good servers then with more then 100 people, skript just isn't as efficient and can't do as much. It will never compare to an actual plugin made with java
I, was one of them :)

120 was our peak, 90% of the unique features
built on skript. Never had issues with skript tho
 

solo

Setups, Configurations, Management, and Designs
Supreme
Feedback score
83
Posts
1,871
Reactions
847
Resources
0
Don't use Skript. End of discussion.
thats like when my parents say

"Don't have friends. End of Discussion"

LMAO[DOUBLEPOST=1597221641][/DOUBLEPOST]
thats like when my parents say

"Don't have friends. End of Discussion"

LMAO
they don't say that it was just an example
 

Classified

Developer
Ultimate
Feedback score
4
Posts
103
Reactions
39
Resources
0
thats like when my parents say

"Don't have friends. End of Discussion"

LMAO[DOUBLEPOST=1597221641][/DOUBLEPOST]
they don't say that it was just an example
Skript is horribly inefficient.
 

Norska

Java Developer (https://norska.dev)
Supreme
Feedback score
68
Posts
901
Reactions
1,406
Resources
13
59ba5b4f35022ef6becd3013ad5c7695478d13df.png
 

Attachments

  • 59ba5b4f35022ef6becd3013ad5c7695478d13df.png
    59ba5b4f35022ef6becd3013ad5c7695478d13df.png
    347.6 KB · Views: 81

Brandon

Developer
Premium
Feedback score
6
Posts
552
Reactions
313
Resources
0
Plugins are capable of much much more than Skript, and more efficient.
Skript is easier, that's about the only pro I can think of.
 

solo

Setups, Configurations, Management, and Designs
Supreme
Feedback score
83
Posts
1,871
Reactions
847
Resources
0
Plugins are capable of much much more than Skript, and more efficient.
Skript is easier, that's about the only pro I can think of.
Never said skript is better, if it was I wouldn't be doing a coarse on Java rn

Skript is better in terms of eh, getting small things done within a short period of time? Its easy to
understand and like everything has its faults and boundaries, but yes Java Plugins are much better
optimized and are better to use. Which is why I'm learning the ability to do so
 

Radialbog9

Feedback score
0
Posts
4
Reactions
1
Resources
0
Skript is easier to learn and is written in close-to-english, whereas java is slightly more complicated.
Here's a sample:
Code:
// Java Plugin Command
# plugin.yml
name: SomePlugin
author: Radialbog9
version: 1.0
main
commands:
    somecommand:
        description: Some command
        usage: /<command>
        permission: someplugin.somepermission
//SpigotPlugin.java
package uk.radialbog9.someplugin;
public class SpigotPlugin extends JavaPlugin {
    @Override
    public void onEnable() {
        //plugin enable
        this.getCommand("somecommand").setExecutor(new SomeCommand());
    }
    @Override
    public void onDisable() {
        //plugin disable
    }
}
//SomeCommand.java
package uk.radialbog9.someplugin.commands;
public class SomeCommand implements CommandExecutor {
    @Override
    public boolean onCommand(CommandSender sender, Command command, String label, String[] args){
        if(sender instanceof Player) {
            //Sender is a player
            Player p = (Player) sender;
            p.sendMessage("Hello, " + p.getDisplayName() + "!");
        } else {
            sender.sendMessage("Hello, console!");
        }
        return true;
    }
}
Code:
# Skript command
# someskript.sk
command /somecommand:
    permission: someskript.somepermission
    trigger:
        if executor is not console:
            # Sender is a player
            message "Hello, %player's display name%!" to player
        else:
            # Sender is console
            message "Hello, console!"
In 9 lines of skript code I was able to do the same thing as around 35 lines of java (not including java import statements).
The main pro of using skript is that you can write code quickly.
The main pro of using java is that you can do much more with it than you can do with skript.
The con of using skript is that it is les versatile.
The con of using java is that you have to compile everything into a jar file, upload it to your server and then restart your server instead of just uploading a file to your server and running a command.
 
Last edited:
Status
This thread has been locked.
Top