bukkit-runtime
bukkit-runtime copied to clipboard
Using other modules?
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'));
});
You can't currently, but I think you should be able to. That is something that needs to be implemented in https://github.com/customrealms/bukkit-runtime. I'll transfer this issue over to there.
I want to help implementing all of this. How would I do this?