mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-24 17:21:43 +00:00
craftyjs becomes flying-squid (due to name conflict)
This commit is contained in:
parent
8c06acf155
commit
94926df8da
4 changed files with 18 additions and 18 deletions
14
README.md
14
README.md
|
|
@ -1,11 +1,11 @@
|
||||||
Craftyjs
|
Flying-squid
|
||||||
================
|
================
|
||||||
|
|
||||||
[](https://gitter.im/mhsjlw/craftyjs?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
[](https://gitter.im/mhsjlw/flying-squid?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
|
||||||
[](https://github.com/mhsjlw/craftyjs/blob/master/LICENSE)
|
[](LICENSE)
|
||||||
[](http://wiki.vg/Protocol)
|
[](http://wiki.vg/Protocol)
|
||||||
[](https://img.shields.io/github/issues/mhsjlw/craftyjs.svg)
|
[](https://img.shields.io/github/issues/mhsjlw/flying-squid.svg)
|
||||||
[](https://circleci.com/gh/mhsjlw/craftyjs) [](https://gratipay.com/~mhsjlw/)
|
[](https://circleci.com/gh/mhsjlw/flying-squid) [](https://gratipay.com/~mhsjlw/)
|
||||||
|
|
||||||
A semi-functional minecraft server in Node.js
|
A semi-functional minecraft server in Node.js
|
||||||
|
|
||||||
|
|
@ -18,7 +18,7 @@ A semi-functional minecraft server in Node.js
|
||||||
* Player movement
|
* Player movement
|
||||||
|
|
||||||
## Test server!
|
## Test server!
|
||||||
We created an auto updating test server (see the repository [here](https://github.com/mhsjlw/auto-craftyjs))
|
We created an auto updating test server (see the repository [here](https://github.com/mhsjlw/autonomous-squid))
|
||||||
|
|
||||||
Connection address: 45.55.62.8 (Port 25565, default port)
|
Connection address: 45.55.62.8 (Port 25565, default port)
|
||||||
|
|
||||||
|
|
@ -28,7 +28,7 @@ Before running or building it is recommended that you configure the server in co
|
||||||
npm install
|
npm install
|
||||||
node app.js
|
node app.js
|
||||||
|
|
||||||
Or try our autoupdating craftyjs server [auto-craftyjs](https://github.com/mhsjlw/auto-craftyjs)
|
Or try our autoupdating flying-squid server [autonomous-squid](https://github.com/mhsjlw/autonomous-squid)
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
Documentation for how to operate and how to customize your server are coming soon!
|
Documentation for how to operate and how to customize your server are coming soon!
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"help": "Available commands: /version and /bug",
|
"help": "Available commands: /version and /bug",
|
||||||
"version": "This server is running craftyjs version 0.1.0",
|
"version": "This server is running flying-squid version 0.1.0",
|
||||||
"bug": "Report bugs / issues here: https://github.com/mhsjlw/craftyjs/issues"
|
"bug": "Report bugs / issues here: https://github.com/mhsjlw/flying-squid/issues"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
10
doc/api.md
10
doc/api.md
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
- [API](#api)
|
- [API](#api)
|
||||||
- [Classes](#classes)
|
- [Classes](#classes)
|
||||||
- [CraftyJS.Entity](#craftyjsentity)
|
- [Flying-squid.Entity](#flying-squidentity)
|
||||||
- [entity.id](#entityid)
|
- [entity.id](#entityid)
|
||||||
- [entity.type](#entitytype)
|
- [entity.type](#entitytype)
|
||||||
- [entity.username](#entityusername)
|
- [entity.username](#entityusername)
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
- [entity.food](#entityfood)
|
- [entity.food](#entityfood)
|
||||||
- [entity.player](#entityplayer)
|
- [entity.player](#entityplayer)
|
||||||
- [MCServer](#mcserver)
|
- [MCServer](#mcserver)
|
||||||
- [CraftyJS.createMCServer(options)](#craftyjscreatemcserveroptions)
|
- [Flying-squid.createMCServer(options)](#flying-squidcreatemcserveroptions)
|
||||||
- [Properties](#properties)
|
- [Properties](#properties)
|
||||||
- [serv.entityMaxId](#serventitymaxid)
|
- [serv.entityMaxId](#serventitymaxid)
|
||||||
- [serv.players](#servplayers)
|
- [serv.players](#servplayers)
|
||||||
|
|
@ -74,7 +74,7 @@
|
||||||
|
|
||||||
## Classes
|
## Classes
|
||||||
|
|
||||||
### CraftyJS.Entity
|
### Flying-squid.Entity
|
||||||
|
|
||||||
Entities represent players, mobs, and objects. They are emitted
|
Entities represent players, mobs, and objects. They are emitted
|
||||||
in many events, and you can access your own entity with `bot.entity`.
|
in many events, and you can access your own entity with `bot.entity`.
|
||||||
|
|
@ -165,7 +165,7 @@ The player
|
||||||
|
|
||||||
## MCServer
|
## MCServer
|
||||||
|
|
||||||
### CraftyJS.createMCServer(options)
|
### Flying-squid.createMCServer(options)
|
||||||
|
|
||||||
Create and return an instance of the class MCServer.
|
Create and return an instance of the class MCServer.
|
||||||
|
|
||||||
|
|
@ -227,7 +227,7 @@ broadcasts `message` to all the players with the optional `color`.
|
||||||
|
|
||||||
#### player.entity
|
#### player.entity
|
||||||
|
|
||||||
The entity of the player, of type `CraftyJS.Entity`
|
The entity of the player, of type `Flying-squid.Entity`
|
||||||
|
|
||||||
#### player.username
|
#### player.username
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"name": "craftyjs",
|
"name": "flying-squid",
|
||||||
"description": "A minecraft server written in node.js",
|
"description": "A minecraft server written in node.js",
|
||||||
"version": "0.1.0",
|
"version": "0.1.0",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
|
|
@ -11,7 +11,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"bin": {
|
"bin": {
|
||||||
"craftyjs": "./app.js"
|
"flying-squid": "./app.js"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha --reporter spec"
|
"test": "mocha --reporter spec"
|
||||||
|
|
@ -34,10 +34,10 @@
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git://github.com/mhsjlw/craftyjs.git"
|
"url": "git://github.com/mhsjlw/flying-squid.git"
|
||||||
},
|
},
|
||||||
"bugs": {
|
"bugs": {
|
||||||
"url": "http://github.com/mhsjlw/craftyjs/issues"
|
"url": "http://github.com/mhsjlw/flying-squid/issues"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"doctoc": "^0.15.0",
|
"doctoc": "^0.15.0",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue