Skip to content

Using other modules? #1

@BasToTheMax

Description

@BasToTheMax

Is is possible to use other modules ( for example fs, mysql and redis) with custom realms?
Like this:

ServerCommands.register('/file', (player, call) => {

    const fs = require("fs");
   player.sendMessage(fs.readFileSync(__dirname + '/file.txt'));

});

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions