diff --git a/mcMMO/Changelog.txt b/mcMMO/Changelog.txt new file mode 100644 index 000000000..fd7cee3b8 --- /dev/null +++ b/mcMMO/Changelog.txt @@ -0,0 +1,106 @@ +Changelog: +#Versions without changelogs probably had very small misc fixes, like tweaks to the source code# +Version 0.5.8 + + Fixed bug where players inventories would dupe during combat + +Version 0.5.7 + + Fixed monsters instant killing players + Misc fixes +Version 0.5.4 + + Changed herbalism skill gain from wheat to be WAAAAY slower + +Version 0.5.3 + + Players will now correctly drop their inventories when killed by a monster + +Version 0.5.2 + + Fixed MAJOR bug preventing swords skill from gaining through combat + +Version 0.5 + + Archery Added + Swords Added + Acrobatics Added + Logging for Party/Admin chat added + Fixed whois to show correct values for Excavation + Made death messages much much more specific + +Version 0.4.4 + + Fixed being able to repair full durability iron tools + Fixed herbalism benefits not behaving properly + Fixed removing 1 diamond from every stack of diamond when repairing diamond + +Version 0.4.2 + + Removed myspawn from the motd + +Version 0.4.1 + + Fixed /mcc showing incorrect command for herbalism + Changed unarmed skillrate to be much slower than before + Modified a few skill descriptions + Added permission for /whois + Players can now use admin chat without being op as long as they have the correct permission (requires Permissions) + +Version 0.4 + + Permissions support + Removed OPs having different names than normal players + Removed /setspawn & /spawn + Slowed down excavation skill rate + Fixed excavation coal drop being too rare + +Version 0.3.4 + + Creepers now give double xp for unarmed + Iron armor can now be repaired! + Fixed bug stopping items from being repaired + +Version 0.3.3 + + Yet another herbalism skill gain tweak + +Version 0.3.2 + + Changed excavation loot tables to be more rewarding + Changed sand to give normal excavation xp instead of double xp + Fixed herbalism skill exploit + Mobs killed with unarmed now drop loot properly + Unarmed xp rate depends on mob (zombies lowest fyi) + Huge player crashing bug fix on disarm! + +Version 0.3.1 + + Fixed excavation not saving properly + Fixed repair using excavation values + +Version 0.3 + + Unarmed skill + Herbalism skill + Excavation skill + Many bugfixes (thanks for reporting them!) + / - Detailed information about skills in game + +Version 0.2.1 + + Misc bugfixes + +Version 0.2 + + Repair ability added + Repair skill added + Iron Armor repair temporarily disabled + Anvils (Iron Block) added + /mcmmo & /mcc added + Misc changes to existing commands + Misc bug fixes + +Version 0.1 + + Releasing my awesome plugin diff --git a/mcMMO/com/bukkit/nossr50/mcMMO/mcEntityListener.java b/mcMMO/com/bukkit/nossr50/mcMMO/mcEntityListener.java index 9c46643e7..010a7b543 100644 --- a/mcMMO/com/bukkit/nossr50/mcMMO/mcEntityListener.java +++ b/mcMMO/com/bukkit/nossr50/mcMMO/mcEntityListener.java @@ -66,12 +66,6 @@ public class mcEntityListener extends EntityListener { * CHECKS IF THE PLAYER DIES, IF SO DROP HIS SHIT BECAUSE OF THE DAMAGE MODIFIERS * MIGHT BE A BIT BUGGY, IT SEEMS TO WORK RIGHT NOW AT LEAST... */ - if(defender.getHealth() - event.getDamage() <= 0){ - for(ItemStack i : defender.getInventory().getContents()){ - if(i != null && i.getTypeId() != 0) - defender.getLocation().getWorld().dropItemNaturally(defender.getLocation(), i); - } - } } /* * IF ATTACKER IS PLAYER @@ -211,10 +205,6 @@ public class mcEntityListener extends EntityListener { if(mcUsers.getProfile(defender).isDead()) return; if(defender.getHealth() <= 0){ - for(ItemStack i : defender.getInventory().getContents()){ - if(i != null && i.getTypeId() != 0) - defender.getLocation().getWorld().dropItemNaturally(defender.getLocation(), i); - } for(Player derp : plugin.getServer().getOnlinePlayers()){ derp.sendMessage(ChatColor.GRAY+attacker.getName() + " has " +ChatColor.DARK_RED+"slain "+ChatColor.GRAY+defender.getName() + " with an arrow."); mcUsers.getProfile(defender).setDead(true); @@ -339,6 +329,10 @@ public class mcEntityListener extends EntityListener { Entity x = event.getEntity(); if(x instanceof Player){ Player player = (Player)x; + for(ItemStack i : player.getInventory().getContents()){ + if(i != null && i.getTypeId() != 0) + player.getLocation().getWorld().dropItemNaturally(player.getLocation(), i); + } if(mcUsers.getProfile(player).isDead()){ mcUsers.getProfile(player).setDead(false); return; diff --git a/mcMMO/com/bukkit/nossr50/mcMMO/mcm.java b/mcMMO/com/bukkit/nossr50/mcMMO/mcm.java index d3b2d7e76..1baf54b87 100644 --- a/mcMMO/com/bukkit/nossr50/mcMMO/mcm.java +++ b/mcMMO/com/bukkit/nossr50/mcMMO/mcm.java @@ -451,10 +451,6 @@ public class mcm { * Make the defender drop items on death */ if(defender.getHealth() <= 0){ - for(ItemStack i : defender.getInventory().getContents()){ - if(i != null && i.getTypeId() != 0) - defender.getLocation().getWorld().dropItemNaturally(defender.getLocation(), i); - } for(Player derp : plugin.getServer().getOnlinePlayers()){ derp.sendMessage(ChatColor.GRAY+attacker.getName() + " has " +ChatColor.DARK_RED+"slain "+ChatColor.GRAY+defender.getName()); mcUsers.getProfile(defender).setDead(true); @@ -838,6 +834,7 @@ public class mcm { player.sendMessage(ChatColor.GRAY+"/party q - to quit a party"); player.sendMessage(ChatColor.GRAY+"/ptp - party teleport"); player.sendMessage(ChatColor.GRAY+"/p - toggles party chat"); + player.sendMessage(ChatColor.GREEN+"/stats"+ChatColor.GRAY+" - Check current skill levels"); player.sendMessage(ChatColor.GRAY+"/setmyspawn - set your own spawn location"); player.sendMessage(ChatColor.GRAY+"/myspawn - travel to myspawn, clears inventory"); player.sendMessage(ChatColor.GRAY+"/whois - view detailed info about a player (req op)"); diff --git a/mcMMO/plugin.yml b/mcMMO/plugin.yml index 7529f0bc4..8b1a33f08 100644 --- a/mcMMO/plugin.yml +++ b/mcMMO/plugin.yml @@ -1,3 +1,3 @@ name: mcMMO main: com.bukkit.nossr50.mcMMO.mcMMO -version: 0.5.7 \ No newline at end of file +version: 0.5.8 \ No newline at end of file