Advertisement
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Economy Potion Dispenser 0.0.2

A potion dispenser for EconomyS

  1. Khinenw
    Dependency Plugins:
    EconomyS
    For PocketMine-MP:
    1.12.0
    Economy Potion Dispenser
    A potion dispenser for EconomyS

    How to create a Potion Dispenser:
    Make a sign like this

    Line | Text which must be in sign
    1 | [POTION SHOP]
    2,3 | (Potion Name or Id):Amplifier:duration
    4 | Price

    Tips:

    • Unit of duration is second.
    • clear in potion data makes a dispenser which deletes all of players' effects.
    • When 2nd line is insufficient, please use 3rd line. If not, 3rd line must be blank.
    How to change the language:

    1. Open the config.yml in data folder.
    2. Change language: en to prefered language.
    3. Restart your server.
    4. Then, the plugin will read translation_[entered language].yml
    5. ????
    6. PROFIT!

    FAQ

    Q: Why potion duration is so loooong?
    A: Because you entered cost to 3rd line.
    Alternate Categories:
    • Economy
    Plugin Access:
    • Other Plugins
    • Data Saving
    • Custom Threading
    • Entities
    • Tile Entities
    KubixQ, pomee4 and Taha_The_Hacker like this.

Recent Updates

  1. Economy Potion Dispenser 0.0.2

Recent Reviews

  1. ManiakMCPE
    ManiakMCPE
    2/5,
    Version: 0.0.1 hotfix 2
    Great Idea. Just causes crash...

    PocketMine-MP Crash Dump Thu Oct 15 20:43:47 UTC 2015

    Error: Call to undefined method pocketmine\item\IronSword::isPlaceable()
    File: /Economy Potion Dispenser 0.0.1 hotfix2.phar/src/Khinenw/PotionDispenser/Dispenser
    Line: 273
    Type: E_ERROR

    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: EconomyPotionDispenser v0.0.1 alpha

    Code:
    [264] $this->dispensers[$dispenserId]["cost"],
    [265] $api->getMonetaryUnit()
    [266] ));
    [267] }
    [268]
    [269] }else{
    [270] $event->getPlayer()->sendMessage(TextFormat::RED.$this->getTranslation("NO_MONEY"));
    [271] }
    [272]
    [273] if($event->getItem()->isPlaceable()){
    [274] $this->itemPlaceList[$event->getPlayer()->getName()] = true;
    [275] }
    [276]
    [277] $event->setCancelled(true);
    [278] }
    [279]
    [280] public function onBlockPlace(BlockPlaceEvent $event){
    [281] if(isset($this->itemPlaceList[$event->getPlayer()->getName()]) && $this->itemPlaceList[$event->getPlayer()->getName()]){
    [282] $event->setCancelled(true);
    [283] unset($this->itemPlaceList[$event->getPlayer()->getName()]);

    Backtrace:
    #0 (): pocketmine\Server->crashDump(boolean)

    PocketMine-MP version: 1.6dev #30 [Protocol 34; API 1.13.0]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux mcpe5.netherbox.com 2.6.32-042stab108.8 #1 SMP Wed Jul 22 17:23:23 MSK 2015 x86_64
    PHP Version: 5.6.10
    Zend version: 2.6.0
    OS : Linux, linux

    Loaded plugins:
    PurePerms 1.1.12 by 64FF00 for API(s) 1.13.0
    EasyMOTD 1.0a by LDX for API(s) 1.12.0
    SimpleAuth 1.7.1 by PocketMine Team, shoghicp for API(s) 1.12.0
    DevTools 1.10.0 by PocketMine Team for API(s) 1.3.1
    VIPSlots 0.0.4 by iJoshuaHD for API(s) 1.12.0
    ClearLagg 1.1.0 by LegendOfMCPE for API(s) 1.0.0
    Slapper 1.2.5 by jojoe77777 for API(s) 1.12.0
    CrateKeys 1.0 by Savion for API(s) 1.12.0
    NetherChests 1.1.0 by aliuly for API(s) 1.12.0
    RealTime 2.1 by Guillaume351 for API(s) 1.0.0
    Broadcaster 1.16 by EvolSoft for API(s) 1.12.0
    TapToDo 2.1.2 by Falk for API(s) 1.0.0
    CombatLogger 1.2.0 by Lambo for API(s) 1.12.0
    BuyCraft 1.2.1 by Falkirks for API(s) 1.0.0
    EconomyAPI 2.0.7 by onebone for API(s) 1.0.0, 1.1.0, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1
    MultiTP 1.0.0 by Minifixio for API(s) 1.8.0
    ManyWorlds 2.0.2 by aliuly for API(s) 1.10.0
    MSpawns 1.5 by EvolSoft for API(s) 1.11.0
    EconomyPotionDispenser 0.0.1 alpha by Khinenw for API(s) 1.12.0
    MCG76_WorldEdit 0.5.2 by minecraftgenius76 for API(s) 1.8.0
    VoteReward 2.1 by LDX for API(s) 1.0.0, 1.1.0, 1.2.0, 1.3.0
    AlwaysSpawn 2.2.2 by Philip Shilling for API(s) 1.12.0
    VoteBan 1.0.2 by GmWM for API(s) 1.12.0
    iProtector 3.1a by LDX for API(s) 1.9.0
    LinkSlots 1.0.0 by kvetinac97 for API(s) 1.12.0
    ASR 2.0.1 by iJoshuaHD for API(s) 1.9.0, 1.10.0, 1.11.0
    BasicHUD 1.0.6 by aliuly for API(s) 1.12.0
    SubnetBan 1.0.0 by for API(s) 1.0.0
    CustomAlerts 1.2 by EvolSoft for API(s) 1.11.0
    BlockEffects 1.0.5 by GmWM for API(s) 1.12.0
    FastTransfer 1.0.2 by shoghicp for API(s) 1.12.0
    KillHeart 1.0.0 by BukkitPlaysMC for API(s) 1.0.0
    xAntiFly 1.0.0 by xFlare for API(s) 1.0.0
    SimpleAuthHelper 2.0.4 by aliuly for API(s) 1.12.0
    AllServers 1.2 by hoyinm14mc for API(s) 1.12.0
    EconomySell 2.0.5 by onebone for API(s) 1.12.0
    PureChat 1.2.6 by 64FF00 for API(s) 1.11.0
    BattleKits 1.0.4 by Falkirks for API(s) 1.0.0
    KillRate 1.2.2 by aliuly for API(s) 1.10.0

    ----------------------REPORT THE DATA BELOW THIS LINE-----------------------

    ===BEGIN CRASH DUMP===
    eNrVPA1v27a2f4Vwh3uTC8vfdhIPGZAl6drbpPGN09v3UA0FLVGWGknURCqON/S/v3NISqKUdklT
    b8BLW0Q6Is/3Fymqf3RklLDOfDiZTI4mw8PRQbfD8pznnfkfHbnN4FHn/OP59fXVdafbSZgQdI2w
    UxrHRHJSpD4LopT5JGEy5D7JuHfLZAIg140kS1z3dc7T5Ybn/nweiUVMPUZXMdvbB3xBFCOy/rnH
    U55syYLLiKfkLBIZSwXLyaA36A1JyGUQ3Y96WUjzvsi9/psQ8Kebvh5fDe9XV4A7hiG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xYa5JvjqA1OCqYs11Tl5eXFyMx/9
    eNCdHt0Pu+P7cXf04/BHH9oDnR338M2Vhzns+HBA1hAXQt9Npvvm3QG7lyxFFakXnadQDO0vuX31
    drC+h3q07sxVwHU7mYeDzY34LY4kG+vvzh39jfvv+kN0fQh45UHbFVbjcR869WleA/T/x1HeFXlc
    3QRRrD6TAtRDfbI4kFn1dO3Xl0kNDiEJVN/zfRKN71ySld4lrwZDF7vNZC2MpMibb4u+XFwoDvBF
    aOZB61lP3oLw6ot3c0WmeChyiFogDr7MGw2mgzFc/vAa9wy82eHharZaeeOBP57RYEy98STw/cnq
    YDVdHRweBGwKP+QHfOkbooqqbyAyLqL72gBm16I8homiXbPALKwBquixIDhc+d5suhqsGA0Ogwn1
    2SwYzILDySGb+ZOxH/iHo5miJ8KE1zoUKgBFU9JIGwIGS37LUqhreQV5z+gt5A+tKHU8YEvVGyn1
    vT66RJTpO/xQ9PPn/wN5RX+M
    ===END CRASH DUMP===
    1. Khinenw
      Author's Response
      This is because of new api in mcpe-0.12 and it is fixed at new update which is currently pending. Sorry for inconvenience!
  2. fycarman
    fycarman
    5/5,
    Version: 0.0.1 hotfix 2
    Good,but a tip: in next version,add support for MassiveEconomy and PocketMoney :)
  3. ItzRubbenJace
    ItzRubbenJace
    5/5,
    Version: 0.0.1 hotfix 2
    Cool
  4. KubixQ
    KubixQ
    5/5,
    Version: 0.0.1 hotfix 2
    Good idea.
Advertisement