mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Edit To Readme
This commit is contained in:
37
README.md
37
README.md
@@ -1,23 +1,18 @@
|
|||||||
#### How to install?
|
####Using The Core Files
|
||||||
|
1. Copy the core folder and the StdLib File
|
||||||
|
2. Require StdLib event.lua before the core file-header
|
||||||
|
3. Use require to run the file-header inside the core file
|
||||||
|
4. Make any changes to the rank table you wish to use
|
||||||
|
5. Add you own code to the stand alone folder using the function defined in core
|
||||||
|
|
||||||
1. Open terminal / cmd in the folder.
|
####Using The Addons
|
||||||
2. Run:
|
1. Copy the addons folder
|
||||||
```
|
2. Remove any you do not wish to have
|
||||||
npm install
|
3. Remove the require inside the addons file-header
|
||||||
```
|
|
||||||
|
|
||||||
#### How to run once?
|
####Making Your Own Addons
|
||||||
|
* Make sure to require it after the core files
|
||||||
1. Open terminal / cmd in the folder.
|
* Add and return the credits vaible with your info inside
|
||||||
2. Run:
|
* Make sure the core is upto date with out latest version
|
||||||
```
|
* It is recomened that your do not edit the core file
|
||||||
gulp
|
* The core files use comments to help explain the many functions
|
||||||
```
|
|
||||||
|
|
||||||
#### How to watch file?
|
|
||||||
|
|
||||||
1. Open terminal / cmd in the folder.
|
|
||||||
2. Run:
|
|
||||||
```
|
|
||||||
gulp watch
|
|
||||||
```
|
|
||||||
|
|||||||
16
gulpfile.js
16
gulpfile.js
@@ -1,16 +0,0 @@
|
|||||||
var gulp = require('gulp');
|
|
||||||
var rename = require('gulp-rename');
|
|
||||||
var luaminify = require('gulp-luaminify');
|
|
||||||
|
|
||||||
gulp.task('minify', function () {
|
|
||||||
return gulp.src(['source.lua'])
|
|
||||||
.pipe(luaminify())
|
|
||||||
.pipe(rename('control.lua'))
|
|
||||||
.pipe(gulp.dest('.'));
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task('watch', function() {
|
|
||||||
gulp.watch('source.lua', ['minify']);
|
|
||||||
});
|
|
||||||
|
|
||||||
gulp.task('default', ['minify']);
|
|
||||||
24
package.json
24
package.json
@@ -1,24 +0,0 @@
|
|||||||
{
|
|
||||||
"name": "explosivegaming-scenario",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"description": "",
|
|
||||||
"main": "index.js",
|
|
||||||
"scripts": {
|
|
||||||
"start": "node index.js"
|
|
||||||
},
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/badgamernl/explosivegaming-main.git"
|
|
||||||
},
|
|
||||||
"author": "badgamernl",
|
|
||||||
"license": "ISC",
|
|
||||||
"bugs": {
|
|
||||||
"url": "https://github.com/badgamernl/explosivegaming-main/issues"
|
|
||||||
},
|
|
||||||
"homepage": "https://github.com/badgamernl/explosivegaming-main#readme",
|
|
||||||
"dependencies": {
|
|
||||||
"gulp": "^3.9.1",
|
|
||||||
"gulp-luaminify": "0.0.1",
|
|
||||||
"gulp-rename": "^1.2.2"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user