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

[REMOVED] Specter

Comments in 'Plugin Releases' started by Falk, Dec 28, 2014.

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

    Jon Active Member Plugin Developer

    Joined:
    Sep 1, 2013
    Posts:
    201
    Plugins:
    3
    Minecraft User:
    Heromine14
    Sure, it's because i am going to develop on it
  2. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    how i do to look another side?
  3. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    You could use iControlU and turn the player around, or set the yaw and pitch from another plugin.
  4. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    oh, yea! thank you Falk :D
    hoyinm14mc and xFlare like this.
  5. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    do that can be touched so they can be add command's with Tap To Do :3
  6. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    This is not possible, players are not blocks and firing PlayerInteractEvent when they are touched would just cause confusion with other plugins.
  7. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    ah, I understand, thanks :D
  8. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    When I have time I'll make a plugin called SlapIt that allows so.
    TonyDroidd likes this.
  9. TonyDroidd
    Offline

    TonyDroidd Active Member

    Joined:
    Sep 6, 2014
    Posts:
    180
    Minecraft User:
    TonyDroidd
    Awesome :D
  10. boybook
    Offline

    boybook New Member Plugin Developer

    Joined:
    Mar 16, 2014
    Posts:
    18
    Plugins:
    3
    Minecraft User:
    boybook
    Help ! The API didn't work

    Error: Call to undefined function FCMiniGame\ new \spector\api\DummyPlayer()
    File: /FCMiniGame/src/FCMiniGame/FCHelper
    Line: 22
    Type: E_ERROR

    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: FCMiniGame v0.0.1 Alpha Build 1

    Code:
    [13]
    [14] private $plugin;
    [15]
    [16] public function __construct(FCMiniGame $plugin){
    [17] parent::__construct($plugin);
    [18] $this->plugin = $plugin;
    [19] }
    [20]
    [21] public function onRun($currentTick) {
    [22] $dummy = new \spector\api\DummyPlayer("Playername");
    [23] $this->plugin->fchelper = $dummy;
    [24] $p = $this->plugin->fchelper->getPlayer();
    [25] $p->teleport(new Vector3(73.5,40,128.5));
    [26] $p->setNameTag("Welcome to FunCraft");
    [27] }
    [28] }
    [29]
  11. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    It is Specter not Spector.
    Mat and Falk like this.
  12. TheLukeGuy
    Offline

    TheLukeGuy New Member

    Joined:
    Jan 17, 2015
    Posts:
    1
    Minecraft User:
    TheLukeGuy
    I need help despawning my "Dummy". Plz help.
  13. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    You can just kick them like a normal player.
    hoyinm14mc and PEMapModder like this.
  14. boybook
    Offline

    boybook New Member Plugin Developer

    Joined:
    Mar 16, 2014
    Posts:
    18
    Plugins:
    3
    Minecraft User:
    boybook
    Help ! The problem is still!
    Call to undefined function FCMiniGame\ new \specter\api\DummyPlayer()
    File: /FCMiniGame/src/FCMiniGame/FCHelper
    Line: 22
    Type: E_ERROR

    I guess PM just thinks this is a function !name
  15. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Did you separate the new and the backslash with a space?

    And why can't you just `use specter\api\DummyPlayer();`?
  16. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Can you give us the chunk of code around line 22?
  17. WoodenBarrel
    Offline

    WoodenBarrel New Member

    Joined:
    Apr 6, 2014
    Posts:
    32
    Minecraft User:
    WoodenBarrel
    Suggestion? Being able to rotate the direction the spectre faces?
  18. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    OK I'll add it.
  19. boybook
    Offline

    boybook New Member Plugin Developer

    Joined:
    Mar 16, 2014
    Posts:
    18
    Plugins:
    3
    Minecraft User:
    boybook
    Error: Call to undefined function FCMiniGame\ new \specter\api\DummyPlayer()
    File: /FCMiniGame/src/FCMiniGame/FCHelper
    Line: 22
    Type: E_ERROR

    THIS CRASH WAS CAUSED BY A PLUGIN
    BAD PLUGIN: FCMiniGame v0.0.1 Alpha Build 1

    Code:
    [13]
    [14] private $plugin;
    [15]
    [16] public function __construct(FCMiniGame $plugin){
    [17] parent::__construct($plugin);
    [18] $this->plugin = $plugin;
    [19] }
    [20]
    [21] public function onRun($currentTick) {
    [22] $dummy = new \specter\api\DummyPlayer("Playername");
    [23] $this->plugin->fchelper = $dummy;
    [24] $p = $this->plugin->fchelper->getPlayer();
    [25] $p->teleport(new Vector3(73.5,40,128.5));
    [26] $p->setNameTag("Welcome to FunCraft");
    [27] }
    [28] }
    [29]
  20. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    So weird.
Thread Status:
Not open for further replies.

Share This Page

Advertisement