I will use e.getEntity().setVelocity(e.getEntity().getVelocity().setY(20));
Hello, i have packet reader in my plugin but when i listen for PacketPlayInFlying, it execute only once when i join the server, later not.. any...
Check when projectile lands, if it is arrow then check the mob which it hurted and if its your specific type then set it's health to 0
You have to put plugin.yml in src folder
config.save(this.getDataFolder() + "config.yml") ?
So config.save("config.yml") ?
Oh but how do i make it then?
Hello everyone, i have two config files but they are not saving when i turn off server. My code: @Override public void onDisable(){...
Line 18 is if(!Main.stats.getConfigurationSection("players").getBoolean("registered")){ Configurations by default are: config.yml - # Skywars...
19:44:48[ERROR] Could not pass event PlayerJoinEvent to Skywars v1.0.0 java.lang.NullPointerException: null at...
Hello everyone, i was using one config file and there was no problems but i wanna use more configs and it throw NullPointerException.. I think it...
Separate names with a comma.