New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

impact-worldmaster

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

impact-worldmaster - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

package.json

@@ -14,3 +14,3 @@ {

],
"version": "1.0.0",
"version": "1.0.1",
"main": "./src/server",

@@ -17,0 +17,0 @@ "scripts": {

@@ -1,23 +0,56 @@

node-impact
===========
#node-impact
#Initial Setup
##Initial Setup
-----------
You'll need to provide the following:
- src/public/lib/impact
To be clear, this node module is actually a full boilerplate.
First, after running npm install `impact-worldmaster`, you'll now have your node_modules, and within that, the impact worldmaster folder.
This is the actual impact game folder, that you must have purchased
the files within the impact worldmaster filder? That's your project root.
You can copy these and put them elsewhere, or just work right out of this folder. Nontheless, this is your project root for the game. You can ignore all the preceding directories.
- src/public/lib/weltmeister
Same with this - its the weltmeister folder.
##Adding impact
---
Now, You'll need to provide the following:
- src/public/weltmeister.html
And the weltmeister point of entry. Add this. You can access it by going to <server>/weltmeister once you are running.
1. `src/public/lib/impact`
You can then run the server with npm start. Instead of the ususal php backend, it will use the node code in this boilerplate.
This is the actual impact game folder, that you must have purchased
2. `src/public/lib/weltmeister`
Same with this - its the weltmeister folder, just paste it right in, you should own this.
3. `src/public/weltmeister.html`
And the weltmeister point of entry. Add this. You can locally access it by going to `localhost:port/weltmeister` once you are running.
If necessary, run npm install.
## Configuration
---
The weltmeister/config.js might still be pointing to old php files. You don't want this.
Make sure you're calling the right node routes for everything now, you no longer need the .php extensions!
Edit this in the config file in the /weltmeister folder you added to the project.
```js
'api': {
'save': '/worldmaster/save',
'browse': '/worldmaster/browse',
'glob': '/worldmaster/glob'
}
```
## Run It
--
At the root of the project, you can run ```npm start``` and it should start running on he default port.
Instead of the ususal php backend, it will use the node code in this boilerplate.
You might also note there is no tools folder. This will be eventually replaced with gulp.
`/` should go to the "it works" screen. This is your game.
`/weltmesiter.html` will take you, as expected to the world editor.
Have fun.

@@ -33,1 +66,2 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc