Filled KillRefill

Discussion in 'Plugin Requests' started by adi0115, Mar 20, 2019.

Thread Status:
Not open for further replies.
  1. Offline

    adi0115

    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
     
  2. Offline

    Jamiezi

    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)
     
  3. Offline

    adi0115

    @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.
     
  4. Offline

    Jamiezi

    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?
     
  5. Offline

    adi0115

    @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.
     
    Last edited: Mar 24, 2019
  6. Offline

    Jamiezi

  7. Offline

    adi0115

    @Jamiezi The plugins works perfectly now :) thanks for filling out the plugin.
     
Thread Status:
Not open for further replies.

Share This Page