Enchantment Calculator Discord Bot

Discussion in 'Player Made Guides' started by Majorblake, Aug 16, 2018.

  1. Majorblake

    Majorblake Well-Known Member
    Scoria Noble Explorer

    Joined:
    Nov 30, 2016
    Messages:
    24
    Likes Received:
    10
    [​IMG]
    Invite to Discord server: Click Here

    This Discord Bot tool is designed to be a helping hand in helping you to create your sets, tools, and weapons. Due to the nature of discord bots, it is 100% safe and only requires read/send message permissions, with no need for you to ever download any files.

    -


    How To Install and Use
    [​IMG]

    The prefix for the bot is '!' and will only respond if a command prefix is used.
    To install you must have the 'Manage Server' permission on your Discord server. (or administrator)
    If you have the permission, click on the link above, select which server you want the bot on, and click 'Authorize'

    -

    Commands

    !calc

    This command calculates the amount of Energy needed to enchant a piece of equipment to the specified level

    Lets say you want to know how much Energy you need to enchant a diamond pickaxe to level 20. Firstly, start with the command '!calc', then 'pickaxe', then 'diamond' then '20' -
    so '!calc pickaxe diamond 20'


    The bot should respond immediately with confirmation of the command and the amount of Energy needed.

    [​IMG]

    The '!calc' command can now be used to calculate the amount of Energy needed for the specified prestige tier pickaxe with specified pickaxe level.

    For example, if you want to know how much Energy you need to enchant an iron pickaxe to prestige 4, level 30. Firstly, start with the command '!calc', then 'pickaxe', then 'diamond' then 'IV', then '30'-
    so '!calc pickaxe diamond IV 30'
    You can use Numerals (I-V) or Numbers (1-5) for the prestige level.

    The bot should respond immediately with confirmation of the command and the amount of Energy needed.

    [​IMG]

    -​

    !target
    This command seems complicated at first, but it's actually alot more simple than it seems.

    Lets say you have a level 10 iron pickaxe, and want to know how much more Energy you need to get it to level 20. First, start with the command '!target' then 'pickaxe' then 'iron' then '10' and finally '20' - so '!target pickaxe iron 10 20'

    Again the bot should respond immediately with confirmation and the amount of Energy needed.

    [​IMG]


    Keep in mind when using the '!target' command with guards, disregard the '[rarity]' clause. eg; '!target guard 10 20'

    -

    !help

    Ever forget how to use the bot? Simply type '!help' and the full command help will be displayed.

    [​IMG]


    -

    !stats

    Statistics for nerds!

    [​IMG]

    -

    Important information, suggestions & Bugs

    Level Cap is set at 100. If anyone needs more than this, well, let me know through a DM, you nutjob!

    It's not going to be perfect! You may encounter bugs. You will encounter bugs. Report these by sending me a DM on forums or through discord 'Majorblake#8042'.

    Stupid Major! He didn't include 'insert suggestion here'! pfff!
    Send suggestions through a DM on forums or through discord 'Majorblake#8042'

    -

    Nerd stuff

    I coded this bot using node.js (javascript) and discord.js.
    node.js and discord.js are completely safe, and since they run through a discord bot, has no way of damaging you, your PC, or your feelings. :)

    Changelog:
    • diamond armor added
    • diamond pickaxe added
    • diamond sword added
    • fixed a bug where !target command would fail to respond
    • term 'armour' can now be used in replacement for 'armor'
    • fixed calculation bug for iron armor when using 'target' command
    • added guards with cap of 40
    • added all rarities of axes
    • !armor, !pickaxe, !sword, !axe & !guard have all been moved under the same command '!calc'
    • !target can no longer return minus values when being used improperly
    • "golden" & "wooden" can now be used instead of "gold" & "wood"
    • "pick" can be used instead of "pickaxe"
    • fixed diamond pickaxe "!target" bug which caused the bot to crash
    • added satchels for !calc & !target - "coal", "coalore", "iron", "ironore", etc...
    • removed armor, swords & axes from the bot due to the "PvP Update", replaced with explanation message.
    • added "!send" command for suggestions, bugs & other information
    • level cap for satchels raised to 150
    • added <prestige level> for the '!calc pickaxe' command
    -

    TL : DR it does the maths 4 u, so u dont have to. click the link at the top to add to your discord server.


    Thats it! Pce Prisoners

    -
     
    #1 Majorblake, Aug 16, 2018
    Last edited: May 17, 2019
    • Like Like x 4
    • Winner Winner x 1
    • Informative Informative x 1
    • Useful Useful x 1
  2. Ryan_the_Boss_10

    Ryan_the_Boss_10 Moderator
    Moderator Alpha Tester I Elder Terminator Timeless V+ Ash Sahara V+ Emperor+ Pioneer

    Joined:
    Oct 25, 2016
    Messages:
    2,952
    Likes Received:
    110
    seems impressive. im going to test it right now :D

    EDIT: it seems diamond doesnt work at all
    EDIT: seems axes dont work
     
    #2 Ryan_the_Boss_10, Aug 16, 2018
    Last edited: Aug 16, 2018
  3. Majorblake

    Majorblake Well-Known Member
    Scoria Noble Explorer

    Joined:
    Nov 30, 2016
    Messages:
    24
    Likes Received:
    10
    It will be added soon, sorry about that :)
     
  4. Ryan_the_Boss_10

    Ryan_the_Boss_10 Moderator
    Moderator Alpha Tester I Elder Terminator Timeless V+ Ash Sahara V+ Emperor+ Pioneer

    Joined:
    Oct 25, 2016
    Messages:
    2,952
    Likes Received:
    110
    didnt see that part lol its fine
     
  5. BigJonathan

    BigJonathan Active Member
    Ash Imperial Pioneer

    Joined:
    Aug 1, 2018
    Messages:
    65
    Likes Received:
    1
    very cool just tried it but when you !axe diamond any level you type there it says 0 energy
     
  6. BigJonathan

    BigJonathan Active Member
    Ash Imperial Pioneer

    Joined:
    Aug 1, 2018
    Messages:
    65
    Likes Received:
    1
    oh i didnt see he wrote it too xD it didnt refresh the page
     
    • Kappa Kappa x 1
  7. XsSlayeR3

    XsSlayeR3 Community Manager
    Administrator

    Joined:
    Oct 22, 2016
    Messages:
    3,953
    Likes Received:
    554
  8. mattyboy84

    mattyboy84 Alpha Tester I
    Alpha Tester I Supreme Magma Sahara III

    Joined:
    Oct 26, 2016
    Messages:
    2,539
    Likes Received:
    280
  9. CraftStarOr123

    CraftStarOr123 Alpha Tester II
    Alpha Tester II Ash Emperor Oak

    Joined:
    Nov 10, 2016
    Messages:
    5,133
    Likes Received:
    219
    Nice, can already see myself using it! :D
     
  10. 2MuchSkillForU

    2MuchSkillForU Well-Known Member
    Sentry Vulcan Sahara IV Emperor+

    Joined:
    Nov 27, 2016
    Messages:
    88
    Likes Received:
    2
    doesn't seem to work when another bot with same prefix is also in the discord.
     
  11. 2MuchSkillForU

    2MuchSkillForU Well-Known Member
    Sentry Vulcan Sahara IV Emperor+

    Joined:
    Nov 27, 2016
    Messages:
    88
    Likes Received:
    2
    nevermind had to sort some permissions for the bot but all good now, in future maybe make it armor and armour are the same as UK and US spellings and also guard energies. but great work so far
     
  12. Majorblake

    Majorblake Well-Known Member
    Scoria Noble Explorer

    Joined:
    Nov 30, 2016
    Messages:
    24
    Likes Received:
    10
    For now (since the majority of the player base is US) it’s Armor but both spellings may be included in a later patch. Thanks for the suggestion!
     
  13. TMarioC

    TMarioC Well-Known Member
    Spruce Emperor+ Magma Martian Bot

    Joined:
    Dec 3, 2016
    Messages:
    853
    Likes Received:
    46
    This is actually sick, some great work here well done
     
  14. itzfrosted

    itzfrosted Well-Known Member
    Scoria Sentry Spruce Emperor+ Sahara II

    Joined:
    May 20, 2017
    Messages:
    674
    Likes Received:
    7
    Seems really good!! Good work!! You should submit it to @trembo for the next CCC.
     
  15. itzfrosted

    itzfrosted Well-Known Member
    Scoria Sentry Spruce Emperor+ Sahara II

    Joined:
    May 20, 2017
    Messages:
    674
    Likes Received:
    7
    You get triggered when it's US Spelling? xD
     
  16. N8Vapes

    N8Vapes Well-Known Member
    Emperor+ Ra Predator

    Joined:
    Nov 7, 2016
    Messages:
    179
    Likes Received:
    3
    Where will the download for the update be
     
  17. Herobrine64

    Herobrine64 Well-Known Member
    Supreme

    Joined:
    Sep 26, 2017
    Messages:
    1,288
    Likes Received:
    55
    Omfg this thing is beautiful

    Is the armour calculator for one piece or all 4??
     
  18. MagmaCubeBoss

    MagmaCubeBoss Well-Known Member
    Ash Imperial

    Joined:
    Aug 6, 2017
    Messages:
    1,168
    Likes Received:
    116
    The discord bot would update it’s not like a download or anything
     
    • Informative Informative x 2
  19. CraftStarOr123

    CraftStarOr123 Alpha Tester II
    Alpha Tester II Ash Emperor Oak

    Joined:
    Nov 10, 2016
    Messages:
    5,133
    Likes Received:
    219
    Its not that he is triggered about it, its just that some people are used to the UK spelling
     
  20. Majorblake

    Majorblake Well-Known Member
    Scoria Noble Explorer

    Joined:
    Nov 30, 2016
    Messages:
    24
    Likes Received:
    10
    As @Kasomy said, there’s no download, updates are rolled out server-side with only a minute or 2 of downtime :)

    Thanks! The Armor calculator is for individual peices. Hope this helps
     
    • Like Like x 1
    • Informative Informative x 1