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

Kill Bounty 1.0.1.5

Put and Bounty to encourage player to kill someone!

  1. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    I'm using 1.0.1.4
  2. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    Ok With the Update the YML file with Bounties is unneeded. It Takes it from the Sqlite database
  3. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    Ok i will try that now
  4. predawnia
    Offline

    predawnia Active Member

    Joined:
    Dec 23, 2014
    Posts:
    167
    Minecraft User:
    GhostSpex
    I haven't install this plugin yet, but can you kill someone in your own faction (when using the FactionsPro plugin)? Or in other words, is it FactionsPro compatible?
  5. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    Yes Your able to kill Everyone and Collect Bounties from Everyone! And Yes it is!
  6. predawnia
    Offline

    predawnia Active Member

    Joined:
    Dec 23, 2014
    Posts:
    167
    Minecraft User:
    GhostSpex
    If I am in the same faction with player A, I can kill player A and get bounty too?
    FactionsPro doesn't allow you to kill people from your own faction
  7. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    Oh, Then never Mind. If you cant attack a member in your faction and kill them then you cant get their bounty.
  8. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    Code:
    PocketMine-Soft Crash Dump Sat Feb 14 07:02:10 EST 2015
    
    Error: Call to undefined function CyberTech\query()
    File: /KillBounty_v1.0.1.4.phar/src/CyberTech/Main
    Line: 86
    Type: E_ERROR
    
    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: KillBounty v1.0.1.4
    
    Code:
    [77]            
    [78]             $this->api->addMoney ( $sender->getName(), $eslf['amount'] );
    [79]             $sender->sendMessage("-------Page $page--------");
    [80]         }
    [81]
    [82]         public function DeleteBounty(Player $sender, $player) {
    [83]             $yml = (new Config($this->getServer()->getDataPath() . "/plugins/Bounty/" . "Bounty.yml", Config::YAML ,array()));
    [84]             $temp = $yml->getAll();
    [85]             $sendern = $sender->getName();
    [86]             $sqlr = $this->db>query("SELECT * FROM bounty WHERE setby='$sendern'AND player LIKE '%$player%' ORDER BY `id` DESC LIMIT 0,1");
    [87]             $eslf = $sqlr->fetchArray(SQLITE3_ASSOC);
    [88]             $this->api->addMoney ( $sender->getName(), $eslf['amount'] );
    [89]             $message = "Bounty Removed From ".$eslf['player']."'s Head.";
    [90]             $this->getServer()->broadcastMessage($message);
    [91]         }
    [92]        
    [93]         public function SetBounty($sendplayer, $setplayer, $args) {
    [94]             $yml = (new Config($this->getServer()->getDataPath() . "/plugins/Bounty/" . "Bounty.yml", Config::YAML ,array()));
    [95]             $temp = $yml->getAll();
    [96]             $this->getLogger()->info("Came To Funtion");
    
    Backtrace:
    #0 (): pocketmine\Server->crashDump()
    
    PocketMine-MP version: 1.4.1dev #232 [Protocol 20; API 1.11.0]
    Git commit: 0000000000000000000000000000000000000000
    uname -a: Linux Zulu.HostingItAll.com 3.10.23-xxxx-std-ipv6-64 #1 SMP Tue Mar 18 14:48:24 CET 2014 x86_64
    PHP Version: 5.6.2
    Zend version: 2.6.0
    OS : Linux, linux
    
    Loaded plugins:
    SimpleMessages 1.2 by Dutok for API(s) 1.0.0
    PocketGuard 2.1.1 by MinecrafterJPN for API(s) 1.10.0
    MSpawns 1.4 by EvolSoft for API(s) 1.9.0
    ASR 2.0.1 by iJoshuaHD for API(s) 1.9.0, 1.10.0, 1.11.0
    PurePerms 1.0.6 by 64FF00 for API(s) 1.9.0
    iProtector 2.0 by LDX for API(s) 1.6.0
    SimpleAuth 1.6.0 by PocketMine Team, shoghicp for API(s) 1.8.0
    DisguiseMe 1.1 by Falkirks for API(s) 1.6.0
    EconomyAPI 2.0.4 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
    WorldEditArt 1.0.0_beta_dev_#045 by PEMapModder for API(s) 1.0.0
    EssentialsPE 1.1.0 Beta 4 by LegendsOfMCPE Team for API(s) 1.9.0
    Whois 1.1.4 by hoyinm for API(s) 1.7.0
    CustomAlerts 1.1 by EvolSoft for API(s) 1.9.0
    iControlU 1.3 by Falkirks for API(s) 1.6.0
    FactionsPro 1.2.0 by Tethered_ for API(s) 1.4.0
    Alias 1.1.1 by ZacHack for API(s) 1.1.0
    KillBounty 1.0.1.4 by  for API(s) 1.0.1.4
    EconomySell 2.0.3 by onebone for API(s) 1.3.0, 1.3.1, 1.4.0, 1.4.1
    PureChat 1.2.3 by 64FF00 for API(s) 1.9.0
    EconomyShop 2.0.3 by onebone for API(s) 1.3.0, 1.3.1, 1.4.0, 1.4.1
    EconomyLand 2.0.5 by onebone for API(s) 
    this what happens when i try to do /bounty del <name> and when person kills player with bounty they dont get bounty
  9. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    Ok, Ill Look into the COde Now :)
  10. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt

    I have Just got done with an Update this should fix your problem.

    Attached Files:

  11. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    Ok great thanks :) but when i do /bounty set (name) (amount) nothing happens :/
  12. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
  13. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    Code:
    13:27:40 [INFO] [KillBounty] Boutny Plugin Has Been Set Command!
    13:27:40 [INFO] [KillBounty] Came To Funtion
    This is what i get in console when i do /bounty set (player) (amount) but it doesnt set the bounty on the person :(
  14. predawnia
    Offline

    predawnia Active Member

    Joined:
    Dec 23, 2014
    Posts:
    167
    Minecraft User:
    GhostSpex
    Can we have permission nodes for each command? :)
  15. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    Sorry it took so long. But console isn't supported for putting bouties on players heads right now. I'll make an update for it tho.
  16. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    I will also add this in the update
  17. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    What i meant was when i did /bounty set (player) (amount) that showed up in the console and no bounty was set
  18. yungtechboy1
    Offline

    yungtechboy1 Active Member Plugin Developer

    Joined:
    Dec 25, 2014
    Posts:
    57
    Plugins:
    1
    Minecraft User:
    yungt
    That is because it is trying to take money from consoles account. But console doesn't have any money. It doesn't set
  19. Bublz_654
    Offline

    Bublz_654 Active Member

    Joined:
    Dec 31, 2014
    Posts:
    120
    Forgot to mention when a player executes the command and they do have enough money
  20. dxm_hippie
    Offline

    dxm_hippie Active Member Plugin Developer

    Joined:
    Feb 1, 2015
    Posts:
    413
    Plugins:
    1
    Minecraft User:
    XxDXM_hippiexX
    It didnt make the Bounty.yml...so i just copied it and put it in the file manually, just thought you should know:) also its still not giving any message..it did for a sec after i put the yml in it but now i get a error when running any command. Happened before i put the yml in also

    [CRITICAL] Unhandled exception executing command 'bounty' in bounty: Undefined offset: 0

Share This Page

Advertisement