I, was one of themYou 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
thats like when my parents sayDon't use Skript. End of discussion.
they don't say that it was just an examplethats like when my parents say
"Don't have friends. End of Discussion"
LMAO
Skript is horribly inefficient.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
Never said skript is better, if it was I wouldn't be doing a coarse on Java rnPlugins are capable of much much more than Skript, and more efficient.
Skript is easier, that's about the only pro I can think of.
// 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;
}
}
# 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!"
nowrite code