Hello I'm curious on how to save a inventory items. I know you can use flatfiles or mysqls and config will just take waaaay to much room. When...
PropGamer In the stacktrace it logs that it can't find the "com.propgamer.godvault.main.config" class, update your plugin.yml and try again. I...
Umm how can we tell whats wrong with it if we don't know the problem :/.
Coded Removed ~ PropGamer
@EventHandler public void PlayerInteract(PlayerInteractEvent event) { final Player p = event.getPlayer();...
swimmer1929 You use public void onDamage(EntityDamageByEntityEvent e) Here's my code that I coded for someone here's a example. When the...
First you need to register your event in onEnable this.getServer().getPluginManager().registerEvents(this, this); Then Add this code wh public...
You need Player p = event.getPlayer(); and p.addPotionEffect(new PotionEffect(PotionEffectType.REGENERATION, 300, 2)); You forgot the second )
package me.propgamer.test; import org.bukkit.ChatColor; import org.bukkit.Material; import org.bukkit.entity.Player; import...
What do you want it to do ? HaitherecreeperMC
Well i'm glad it works but it doesn't work for me for some odd reason.
Well, When I left click the air or a block nothing happens still.
Still don't work.
I'm pretty sure you don't need a null check.
package me.propgamer.main; import org.bukkit.Bukkit; import org.bukkit.Material; import org.bukkit.entity.Player; import...
Assist Thanks man that fixed the problem.
The constructor is undefined but I don't see how thats possible. Assist
chasechocolate Assist I'm getting a new error
package me.propgamer.banmessage; import java.util.logging.Logger; import net.minecraft.server.v1_6_R2.Material; import org.bukkit.ChatColor;...
Elsifo92 You need to save it in a config.
Separate names with a comma.