Hello, After much research on various forums and websites, I finally decided to post my request plugin. I am looking for something very simple, and I think that there is not a huge job to provide for this plugin. I would busy myself, but I'm too bad ^ ^! So here I am trying to disable xp on my server. but only different way to earn xp in vanilla (kill mobs, sin, nourish animals, mining, etc.) because on the other hand I want to keep the bar xp and enchantment systems. Why such a request? Because I use other plugins that give the xp to players based on certain events. Basically, I want to change the way to earn xp. But it is not my query here. I just want the players are no longer able to earn xp as before. Everything, absolutely every way to earn xp to be disabled. ================= Thanks a lot to Mannil for his plugin NoEXP Know Issue (11.16.2013):- Xp drop on breeding animals. I think Bukkit not yet integrated into the API an event like EventBreedingEntity that would stop the exp. I suggest you then this plugin (which works in 1.6.4 R2) http://dev.bukkit.org/bukkit-plugins/breedinglimiter/ ================= original post: Plugin category: MECHANICS Suggested name: DisableXp, NoXp, etc. What I want: Disable vanilla xp gains. And if possible remove the xp orbs. Ideas for commands: No commands needed for this plugin. Ideas for permissions: No permissions needed for this plugin, just drop in the plugins folder and let's go. When I'd like it by: One month to do that ?! I'm not joking, I'm in no hurry This is for a french futur big server.. We want a new xp mechanics with a skills system for our RP server. We want this plugin before opening the server, the eve of the Christmas holidays in France. (December 20). Thx a lot if someone want to try !!! PS: Sorry for my very bad english... thx to google trad ^^!
Hi, First, Thx a lot for your work (so fast ) ! But, I 'm testing right now your plugin and there is this amazing and boring exp drop when feed animals... Can you fix this ? Thx again
You can add this : Code: @EventHandler public void onExpChange(PlayerExpChangeEvent e) { e.setAmount(0); } the Orb will be spawn but give no exp I have try this : Code: //@EventHandler //test /*public void onSpawn(CreatureSpawnEvent e){ e.setCancelled(true); if(e.getSpawnReason().equals(SpawnReason.BREEDING)){ e.setCancelled(true); } }*/ but it's not working.... manniL if you have another idea it will be better
It's because you cancle the whole event ^^ I've developed the plugin already, so check my source: https://github.com/manniL/NoEXP
manniL : oups i see nowi can't make this, you have right I have check your source (thanks ) and make a test, but as Mr_Urfaneck say, you don't manage xp with BREEDING animals, so i have try to make this code, but as you can see, i don't have any idea to not generate orb when animals breeding, any idea ? EDIT : I see you work on it, GL
Skript has a "on experience spawn:" event You can just use the "cancel event" effect to disable XP. Simple as that