Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

send user command without config #8

Open
Nokitoo opened this issue May 11, 2018 · 0 comments
Open

send user command without config #8

Nokitoo opened this issue May 11, 2018 · 0 comments

Comments

@Nokitoo
Copy link
Collaborator

Nokitoo commented May 11, 2018

As discussed in mage/mage#249, we should be able to use the SDK to manually send user commands.

mageSDK.setEndpoint(
    'http://127.0.0.1:8080',
    'game'
);
mageSDK.sendCommand(
    'players.register',
    {
        username: 'test'
        password: 'qdsqdsqds'
    }
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant