Jump to content

[NodeJS - JS/TS]Metin2 API Script


Recommended Posts

  • Management

M2 Download Center

This is the hidden content, please
( Internal )

Hello

Since most of the work I do is in NodeJS (JavaScript and TypeScript), I needed to make a script to access the Metin2 API.

GitHub: 

This is the hidden content, please

It has a JavaScript and a TypeScript version.

To use just edit either file and set your server's data. This code is synchronous, meaning, it will block while waiting for a response from the server. It can be made asynchronous with Promises.

On both files there's also a list of the most useful commands available, you can create more on the game source.

You can find how to use it on the GitHub repository.

Hope it's useful to someone.

  • Metin2 Dev 126
  • Eyes 6
  • Dislove 6
  • Angry 1
  • Not Good 1
  • Cry 1
  • Think 2
  • Confused 4
  • Scream 2
  • Good 49
  • Love 4
  • Love 79

raw

raw

Link to comment
Share on other sites

  • 10 months later...
  • 3 weeks later...

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.