Used for locking functions until a specified time has passed.
Used for locking functions for a player until a specified time has passed.
Modules in start.js are built in host (outside of the vm). It is highly recommended to use this function to require them in a VM context. If you opt to use require() instead, you may have issues.
A promisified version of setTimeout, useful for writing timeouts syncronously.
The smart-buffer package on npm.
Shortcut to Game.world
Contains all the global variables that are copied into the VM.