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

Question Bringing in test player (fake)

Comments in 'General Discussion' started by codmadnesspro, Dec 20, 2014.

  1. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    551
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
    Hello,
    Is there a way to bring a test player into the server with a given name so I can test my plugins with it while I use my client to test on the dummy player?
    Thanks
  2. Gamecrafter
    Offline

    Gamecrafter

    Joined:
    Nov 20, 2014
    Posts:
    978
    Plugins:
    9
    You should find or create a plugin that spawns bots for debugging your server.
  3. codmadnesspro
    Offline

    codmadnesspro Notable Member Plugin Developer

    Joined:
    Sep 11, 2013
    Posts:
    551
    Plugins:
    1
    Minecraft User:
    Codmadnesspro
    What function what that happen to be?
    Can't find anything
  4. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    There has been a project similar to this one discussed awhile back. The developers used a client that accessed the server and performed basic tasks. The idea was dismissed as insecure due to the potential threat of malicious users. I would recommend creating an external app that logs into the server. I don't think a plugin would work out because plugins cant trigger in-game events like a player breaking a block.
  5. Falk
    Offline

    Falk Staff Member Global Moderator

    Joined:
    Sep 2, 2013
    Posts:
    1,706
    Plugins:
    22
    Minecraft User:
    Falkirknh
    Incorrect. It is very possible to do in a plugin. In fact, @PEMapModder and I were both working on projects to accomplish this in a plugin. We both abandoned them though :(
    PEMapModder likes this.
  6. Tuff
    Offline

    Tuff Active Member

    Joined:
    Jan 25, 2014
    Posts:
    203
    Minecraft User:
    Roboroug2
    Oh okay, an automated testing setup would be extremely helpful for developers. I've been a shadow at a tech firm here and they make a big deal out of testing their software. Coding automated testing programs is half of the work.
  7. PEMapModder
    Offline

    PEMapModder Notable Member Plugin Developer

    Joined:
    Oct 9, 2013
    Posts:
    7,294
    Plugins:
    11
    Minecraft User:
    PEMapModder
    Use specter.

Share This Page

Advertisement