• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.
  • Minecraft 1.16.220 Update + Bug/Crash Fixes
    Added MCPE 1.16.220 version and fixed crashes for multiple plugins. You can view the full changelist here.
  • Forum Updates - 4/11/2021
    Various changes have been made to the forums and a few categories. You can view the full changelist here.

Custom potions

Warning!
Hello , there have been no replies in this thread for more than 30 days.
Please make sure you have a valid reason before you reply to this thread or you may face moderation action.
#1
Cmd create cp
Cmd unregister cp

Cmd add cp if %args%[3] = 373 then goto 2
Cmd add cp if %args%[5] = “Mining” then goto 6
Cmd add cp if %args%[5] = “PvP" then goto 11
Cmd add cp if %args%[5] = “Clear" then goto 16
Cmd add cp exit

Cmd add cp /effect %p% night_vision 300 1
Cmd add cp /effect %p% haste 300 3
Cmd add cp /effect %p% speed 300 3
Cmd add cp message %p% [+] Mining Potion consumed [+]
Cmd add cp exit

Cmd add cp /effect %p% strength 300 3
Cmd add cp /effect %p% speed 300 4
Cmd add cp /effect %p% invisibility 300 1
Cmd add cp message %p% [+] PVP potion consumed [+]
Cmd add cp exit

Cmd add cp /cmd run /effect %p% clear
Cmd add cp [+] your effects have been cleared [+]

Cmd trigger eat cp

To give yourself a custom potion do :

give example 373 1 {display:{Name:"example"}}
 
#6
Hey so I made a command similar to this one (just removed pvp and clear potions) but I would get the mining potion effect even when I just drank a normal water bottle. Any suggestions on how to fix this?