1 | exports.command = {
|
2 | name: "entrypoint",
|
3 | autoload: true,
|
4 | unloadable: true,
|
5 | min_rank: 8,
|
6 | display: "sets the world's entrypoint to wherever you are",
|
7 | help: ".entrypoint sets the world's entrypoint to wherever you are.",
|
8 | usage: ".entrypoint",
|
9 | weigth: 0,
|
10 |
|
11 |
|
12 | execute: function(socket, command, command_access) {
|
13 | var chalk = require('chalk');
|
14 | command_access.getUniverse().entrypoint = socket.db.where;
|
15 | command_access.saveUniverse();
|
16 | socket.write(chalk.green(":: ") + "The Universe's entrypoint is now here.\r\n");
|
17 | }
|
18 | }
|