Advertisement
nick191821971782

Untitled

Jan 19th, 2020
119
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. /**
  2. * Example haxroomie configuration file.
  3. *
  4. * Opens one room with a simple custom roomscript. The script is located on
  5. * directory above this file and the fila path is parsed using the node.js
  6. * path module.
  7. *
  8. * This is useful starter config for ppl that are porting their scripts
  9. * to haxroomie. You can try adding other plugins incrementally to
  10. * test if they work with your script.
  11. */
  12.  
  13. const path = require('path');
  14.  
  15. let config = {
  16. room: {
  17. autoStart: true,
  18. roomName: `haxroomie`,
  19. playerName: `host`,
  20. maxPlayers: 10,
  21. public: true,
  22. roomScript: path.join(__dirname, '..', 'room-script.js'),
  23. },
  24. };
  25. module.exports = config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement