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

[DELETED] [DELETED] Slender SCARE

Comments in 'Plugin Releases' started by TrilogiForce, Oct 11, 2013.

Thread Status:
Not open for further replies.
  1. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    i am going to update somethings
  2. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    Yay!!!
  3. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    About that modify me config file,does it actually generate a file?because I don't see it.
  4. Syriamanal
    Offline

    Syriamanal Ban Evader Banned

    Joined:
    Oct 2, 2013
    Posts:
    221
    Minecraft User:
    Syriamanal
    I can't post a Pic why he'll pme pleas
  5. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    Wha
    do you mean???
  6. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    it does not put a config file working on that you have too open it from notepad or notepad++ i recomend you notepad++
  7. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    Maybe I can mAke it add a config file? Btw I'm a slow coder. I started Friday and is making a great plugin for Halloween!!!!
  8. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    Darn it.sorry if I did a typo or something,I'm on a mobile device
  9. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    yes and i didnt note that when i make this plugin
  10. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    Oh
    ok
  11. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    What do you mean by I didn't know that when I make this plugins?
  12. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    i am going to do a pack of the 2 plugins and release it and make it temporal until halloween ends it sounds cool guys?
  13. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    that its was going to be halloween and it was scary (not so much scary)
  14. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    Hey I know! You can post one thread,and download one file but have 3 different plugins in it.like pocket essentials
  15. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    okay on my pc and working on the config!!!
  16. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    waiting from approval!
  17. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    ok thanks i will put your name on my 2 plugins (i can put it to my herobrine plugin too!)
  18. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    just use other plugin code that make a config file and start coding easier thatw how i did 1 command!
  19. TrilogiForce
    Offline

    TrilogiForce Ban Evader Banned

    Joined:
    Sep 7, 2013
    Posts:
    228
    Minecraft User:
    TrilogiForce
    code the slender plugin not the 2 in 1 plugin!
  20. Legomite
    Offline

    Legomite Active Member Plugin Developer

    Joined:
    Sep 8, 2013
    Posts:
    470
    Plugins:
    2
    Minecraft User:
    Legomite
    err I think I failed but here is kinda what it coulkd be? someone bug fix this!!!

    <?php
    /*
    __PocketMine Plugin__
    name=HB&Slscare
    version=1.0.0
    author=TrilogiForce
    class=HBSlscare
    apiversion=8, 9, 10
    */

    /*
    This its a beta version of 2in1 plugin
    please report any bugs to trilogiforce in pocketmine!
    */

    class HBSlscare implements Plugin{
    private $api;
    public function __construct(ServerAPI $api, $server = false){
    $this->api = $api;
    }

    public function init(){
    $config =new Config($this->api->plugin->configPath($this)."config.yml", CONFIG_YAML, array( 'Herobrine' => 41, '));
    define("hb", $config->get('Herobrine'));
    $this->api->console->register("hb", "This command summons Herobrine", array($this, "handleCommand"));
    $this->api->console->register("hbscare", "It scare people saying something!", array($this, "handleCommand"));
    $this->api->console->register("hbscare2", "It scare people saying something!", array($this, "handleCommand"));
    $this->api->console->register("about2in1", "It says about the 2 in 1 plugin", array($this, "handleCommand"));
    $this->api->console->register("slender", "This command summons Slender", array($this, "handleCommand"));
    $this->api->console->register("slscare", "It scare people saying something!", array($this, "handleCommand"));
    $this->api->console->register("slscare2", "It scare people saying something!", array($this, "handleCommand"));
    }

    public function __destruct(){}

    public function handleCommand($cmd, $args, $issuer, $alias){
    switch($cmd){
    case "hb":
    $this->api->chat->broadcast("Herobrine has joined the game");/*Modify me!*/
    $this->api->chat->broadcast("Herobrine: I AM HERE. I AM WATCHING. ALWAYS.");/*Modify me!*/
    break;
    case "hbscare":
    $user = strtolower($args[0]);
    $this->api->chat->broadcast("Herobrine: I will find you. Better watch your back.");/*Modify me!*/
    break;
    case "hbscare2":
    $user = strtolower($args[0]);
    $this->api->chat->broadcast("Herobrine: I am Behind you $user.");/*Modify me!*/
    break;
    case "slender":
    $this->api->chat->broadcast("Slender has joined the game");/*Modify me!*/
    $this->api->chat->broadcast("Slender: I AM HERE. I AM WATCHING. ALWAYS.");/*Modify me!*/
    break;
    case "slscare":
    $user = strtolower($args[0]);
    $this->api->chat->broadcast("Slender: I will find you. Better watch your back.");/*Modify me!*/
    break;
    case "slscare2":
    $user = strtolower($args[0]);
    $this->api->chat->broadcast("Slender: I am Behind you stupid $user.");/*Modify me!*/
    break;
    case "about2in1":
    $output .= '2 in 1 plugin §b1.0.0§r made it by §aTrilogiForce§r';
    return $output;
    break;
    }
    }

    }
Thread Status:
Not open for further replies.

Share This Page

Advertisement