Plugin category: Pvp Minecraft version: 1.8 Suggested name: KillRefill What I want: When a player kills someone with a sword that has a specific name on it, any empty bowls inside the player's inventory will be replaced with stew. The bowls will only be replaced when the any sword has been named to something specific which can be adjusted in the config. Ideas for commands: No commands needed Ideas for permissions: No permission needed When I'd like it by: Today/Tomorrow
Pretty sure that it's what you wanted. If something is wrong, lemme know and I can try to get it fixed asap. Commands: /krrl - Reloads the config after you make changes to it. (Permission: "kr.rl") Download: https://www.dropbox.com/s/c7auak2aouezyf5/KillRefill.jar?dl=0 (Also, the config supports color codes, eg: &b&lBigSword)
@Jamiezi Thanks for doing this, I can't seem to get it working, when I kill someone, the sword name that I set in the config shows up in chat with colour codes in white but doesn't refill soups.
Seems I gave you the wrong version, but it still should be functional, can you copy/paste the name in the config that you're using?
@Jamiezi I have set it to Sword_Name: &cRefill I'm not sure if for colour codes I should use Sword_Name: '&cRefill' instead? EDIT: yeah sorry, adding ' ' for colour coded names works but everytime someone dies, even someone not using the refill sword, the chat gets spammed twice with "&cRefill" in white. EDIT 2: After testing it, the messages it seems to spam in the chat are the ones of any sword, I have another sword called PvP and when I kill someone with it, it will dusplay that instead.
Yea, the debug messages are because I sent you the wrong version, here's the version without those annoying messages. https://www.dropbox.com/s/c7auak2aouezyf5/KillRefill.jar?dl=0