mirror of
https://github.com/eaglerforge/EaglerForgeInjector
synced 2025-07-26 07:19:26 -09:00
13 lines
351 B
Markdown
13 lines
351 B
Markdown
## /spawnxp command
|
|
This tutorial will cover spawning in entities using the `ModAPI.promisify()` API.
|
|
|
|
As usual, we'll start with the boilerplate:
|
|
```javascript
|
|
(function SpawnXPMod() {
|
|
ModAPI.meta.title("Spawn XP");
|
|
ModAPI.meta.description("Adds a /spawnxp command.");
|
|
ModAPI.meta.credits("By <author_name>");
|
|
|
|
//future code
|
|
})();
|
|
``` |