Filled Crafting EXP Bottler

Discussion in 'Plugin Requests' started by DangerfieldUK, Jul 22, 2015.

?

Have you added this plugin to your server?

  1. Yes

    25.0%
  2. No, but I'm about to add it

    25.0%
  3. No, and I'm not going to

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

    DangerfieldUK

    REQUEST FILLED BY PLOBNOB
    http://dev.bukkit.org/bukkit-plugins/expcraft/

    ===============================================================

    Sorry, I'm using the provided template for a request. Very boring of me, but that way I can provide you with the best information!

    Plugin category:
    Except for this information, because I don't know.

    Suggested name: ExpCraft

    What I want:
    Essentially, what I'd like for this plugin to do is provide a way to bottle experience levels simply by placing an empty glass bottle in your crafting table (or player crafting thing).

    I am aware that this is a very simple plugin, which sounds like there would be a million clones of out there, however I simply can not find one that fits the bill. I have checked out plugins such as Bottler, but they just don't fit.

    The bottles would take the experience and bottle it in terms of amount, not levels displayed, for example, if someone were to bottle 60 levels (7035 experience), then when activating the bottle, it would give them 60 levels, however, if someone were to bottle 30 levels (825 experience) twice, and activate them simultaneously, it would result in level 38 (1601 experience).

    Bottles of experience should display their amount in brackets after the item name, i.e, "Bottle O' Enchanting (28 levels)", and should be tradeable between players.

    In terms of regaining the experience from the bottles, players would simple just right click the bottle as if it were just any other bottle o' enchanting

    Ideas for commands:
    /expbottle "amount of levels" - places bottle with desired amount of levels in command users' inventory.

    Ideas for permissions:
    exp.craft - allows users to bottle their exp by placing a bottle in their crafting GUI
    exp.use - allows players to gain the exp from the bottles
    exp.spawn - allows those with permission (admin preferably) to create a bottle with a designated amount of levels.

    When I'd like it by: ASAP


    Thank You for anyone who has read this and is considering completing my request. It is much appreciated.

    Regards,
    DangerfieldUK
     
    Last edited: Jul 30, 2015
  2. Offline

    JetFureur

    So what would exactly be the craft recipe and you want that when we craft like lvl 1 bottle it adds us the amount of 1 lvl ?
     
  3. Offline

    DangerfieldUK

    Thank you for the suggestions, however I have already looked at these plugins and they don't fit the bill. The think i'm looking for mostly is the absence of commands, and the bottling of exp via crafting.

    The crafting recipie would simply be an empty glass bottle, which would give you a bottle o' enchanting with the amount of levels.

    You'd place a plain glass bottle in to the crafting menu, and it would give you the bottle o' enchanting in the output slot. Once removed, it would take your levels, and the bottle would be worth that many levels.

    Hope that clears it up for you. :)
     
    Last edited by a moderator: Jul 23, 2015
  4. Offline

    JetFureur

    So you place an empty bottle and it gets your current xp in a bottle o' xp ?
     
  5. Offline

    DangerfieldUK

    Exactly :) Just now realising that that is exactly how I should have put it in the first place, haha
     
  6. Offline

    jakenelson1999

    I'm Making this now :) Great idea.
     
  7. Offline

    DangerfieldUK

    Thank You so much!
     
  8. Offline

    DangerfieldUK

    Update please?
     
  9. Offline

    DangerfieldUK

    I know I should be patient, but it's been a week with no extra response, could you please let me know if you have made/are still making this or not, please?
     
  10. Offline

    plobnob

  11. Offline

    DangerfieldUK

    I've heard nothing from him, I've even messaged him and had no reply, so I assume he's abandoned it.

    If you want to wait for him to reply and give permission I'd understand, but I'd appreciate if you would make it.

    Thank You for your response! :)
     
  12. Offline

    plobnob

    @DangerfieldUK
    Alright, I will start work on it now and get it done as soon as I can, relying on the fact that jakenelson seems to have abandoned it and gone innactive.
     
  13. Offline

    DangerfieldUK

  14. Offline

    plobnob

    @DangerfieldUK
    As of current, I have the command to spawn the bottles in, provided you have permission. It displays the exp in the lore as of current. My question to you quickly, how should I display the level within the name? I would propose rounding the level down and then keeping the lore on the bottle showing the exp. Using a decimal in the name could be inaccurate when calculating how much exp to give the player, which could cause incorrect amounts to be given at times.

    Alternatively, I could set the exp in the lore to be the exp into that level. So, level 28 and 27 exp. I think storing just the level could cause problems and inaccuracy, so I might have to show the exp, either total or to next level, somewhere, if that's ok with you.

    Plob.

    EDIT: Also, should I disable the crafting and not allow the player to craft a bottle if they have no exp whatsoever, or just allow them to craft a bottle with no value that spawns nothing?
     
    Last edited: Jul 29, 2015
  15. Offline

    DangerfieldUK

    @plobnob
    Ah some good questions.

    In regards to the "Edit:" questions. Disable the crafting of bottles if experience = 0

    Urm, honestly, whatever makes your life easier. I think if it would make it work better, then put both the experience amount and level on there. The rounding the level down and showing the EXP in the lore sounds like a good option. What do you think?

    Thanks for all this! :)
     
  16. Offline

    plobnob

    @DangerfieldUK
    I have the level showing in the name, aswell as the full amount of exp shown in the lore, slightly coloured to be themed with the bottles themselves. Other than that, I have every aspect of the plugin complete. I will just make sure everything is finished and upload now, if you want?

    Plob.
     
  17. Offline

    DangerfieldUK

    @plobnob Sounds excellent. Yeah if you upload it now, I can test it out straight away and give some feedback :)
     
  18. Offline

    plobnob

    http://dev.bukkit.org/bukkit-plugins/expcraft/files/1-exp-craft/

    Commands:
    /expbottle <level> - Spawns in a bottle with the amount of experience needed for the level provided.

    Permissions:
    exp.craft - Enables crafting of exp bottles.
    exp.use - Enables a player to use exp bottles from the plugin.
    exp.spawn - Enables a player to use the /expbottle command to spawn exp bottles in.

    Config:
    Prefix: Change the prefix for the plugin to display how you want in chat.
    ShowPrefix: Set to true or false to determine whether to show the prefix on messages or not. NoPermisionCommand: The message to display when a player lacks permission to perform the /expbottle command.
    NoPermissionThrow: The message to display when a player lacks permission to use an exp bottle from the plugin.
    SpawnedExpMessage: The message to display when a player uses /expbottle to spawn in a bottle - uses {LEVELS} to replace with level value.
    WrongArgumentsMessage: The message to display when a player gives invalid arguments for the /expbottle command.

    Hope that works fine for you!
    Plob.
     
  19. Offline

    DangerfieldUK

    @plobnob Thank You so SO much. I really do appreciate your work. Testing now.
     
    plobnob likes this.
  20. Offline

    plobnob

    @DangerfieldUK
    No problem. I will be on for a bit still, so if there are any immediate bugs or anything present, feel free to give me a shout. I have tested everything immediately obvious to me on my server, but still, I dare say I haven't checked everything! :p
     
  21. Offline

    DangerfieldUK

    @plobnob All seemed good from what I managed to test. I got DDoSed half way through testing because I refused a guy OP haha.

    Anyway, thank you so much for your hard work, it really is appreciated and I hope we can collaborate with some more plugin ideas soon!

    I will update you if I find a bug

    Once again, thank you!
     
  22. Offline

    plobnob

    @DangerfieldUK
    No problem, any time! Glad to hear it all worked fine so far. If you have any other plugin requests you want filled, feel free to tag me in them and I will see if I can fill them for you!

    Plob.
     
    DangerfieldUK likes this.
  23. Offline

    DangerfieldUK

    @plobnob

    Little issue, if a bottle is put into a dispenser and released that way, it gives 1 exp (or less), regardless of the amount in the bottle.
     
  24. Offline

    plobnob

    @DangerfieldUK
    Alright, I will look into that. Give me a few minutes.

    EDIT: What should I do about permissions for dispensers using the bottles? They can't be assigned a permission per block as far as I'm aware, and if a player can't use them, surely they could use a dispenser to bypass this?
     
  25. Offline

    DangerfieldUK

    @plobnob Quite honestly, and the way I intend to use it on my server, the use of dispensers do not matter as everyone has access to use the bottle, just not to craft them.

    However, if this became an issue for someone else, they could limit the use of dispensers all together in another config.
     
Thread Status:
Not open for further replies.

Share This Page