noblox.js-server
Advanced tools
Comparing version 1.3.0 to 1.3.1
{ | ||
"name": "noblox.js-server", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "An example server that uses the noblox.js module.", | ||
@@ -20,3 +20,3 @@ "main": "server.js", | ||
"express": "^4.14.0", | ||
"roblox-js": "^2.0.0", | ||
"noblox.js": "^4.1.2", | ||
"validator": "^6.1.0" | ||
@@ -23,0 +23,0 @@ }, |
@@ -1,10 +0,10 @@ | ||
# roblox-js-server | ||
# noblox.js-server | ||
[![ROBLOX API Discord](https://img.shields.io/badge/discord-roblox%20api%20chat-blue.svg?style=flat-square)](https://discord.gg/EDXNdAT) | ||
This is a primitive example server that uses my [roblox-js](https://github.com/sentanos/roblox-js) library, allowing users to execute site actions from in-game via HttpService. | ||
This is a primitive example server that uses my [noblox.js](https://github.com/suufi/noblox.js) library, allowing users to execute site actions from in-game via HttpService. | ||
## Instructions | ||
Go to settings.json and set `username` and `password` to the username and password of the ROBLOX account you want to use. The `key` field is essentially a password for the site (to prevent strangers from accessing account functions). There is also an optional setting `maximumRank` which can be used to prevent attacks. User's above this rank are immune from having their rank changed and attempts to change a user's rank to something above this will be rejected. I recommend generating a random string or just smashing your keyboard since this will typically be accessed by another script that doesn't have to memorize said key. | ||
Go to settings.json and set `cookie` to the .ROBLOSECURITY cookie of the ROBLOX account you want to use. The `key` field is essentially a password for the site (to prevent strangers from accessing account functions). There is also an optional setting `maximumRank` which can be used to prevent attacks. User's above this rank are immune from having their rank changed and attempts to change a user's rank to something above this will be rejected. I recommend generating a random string or just smashing your keyboard since this will typically be accessed by another script that doesn't have to memorize said key. | ||
@@ -200,31 +200,3 @@ ## Free Host Tutorial | ||
### POST /forumPost/new/{forumId: number}?[locked: boolean] | ||
```http | ||
/forumPost/new/32?locked=true | ||
{"subject": "Test", "body": "Test", "key": "hunter2"} | ||
``` | ||
_NOTE: Lua function name is 'forumPostNew'_ | ||
{subject: string, | ||
body: string, | ||
key: string} | ||
Creates a new forumPost with subject `subject` and body `body` in forum with id `forumId`. If `locked` is true the replies to the post will be disabled. | ||
[newPostId: number] | ||
### POST /forumPost/reply/{postId: number}?[locked: boolean] | ||
```http | ||
/forumPost/reply/201983178?locked=true | ||
{"body": "Test", "key": "hunter2"} | ||
``` | ||
_NOTE: Lua function name is 'forumPostReply'_ | ||
{body: string, | ||
key: string} | ||
Replies to forumPost with postId `postId`, the reply has the body `body`. If `locked` is true the replies to the post will be disabled. | ||
[newPostId: number] | ||
## Credits | ||
Credits to sentanos for the original roblox-js-server which this project is based off of. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30772
10
201
+ Addednoblox.js@^4.1.2
+ Addedansi-styles@4.3.0(transitive)
+ Addedbufferutil@4.0.8(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcheerio@1.0.0(transitive)
+ Addedcheerio-select@2.1.0(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcss-select@5.1.0(transitive)
+ Addedcss-what@6.1.0(transitive)
+ Addedd@1.0.2(transitive)
+ Addeddom-serializer@2.0.0(transitive)
+ Addeddomelementtype@2.3.0(transitive)
+ Addeddomhandler@5.0.3(transitive)
+ Addeddomutils@3.1.0(transitive)
+ Addedencoding-sniffer@0.2.0(transitive)
+ Addedentities@4.5.0(transitive)
+ Addedes5-ext@0.10.64(transitive)
+ Addedes6-iterator@2.0.3(transitive)
+ Addedes6-symbol@3.1.4(transitive)
+ Addedesniff@2.0.1(transitive)
+ Addedevent-emitter@0.3.5(transitive)
+ Addedext@1.7.0(transitive)
+ Addedfiglet@1.7.0(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedhtmlparser2@9.1.0(transitive)
+ Addediconv-lite@0.6.3(transitive)
+ Addednext-tick@1.1.0(transitive)
+ Addednoblox.js@4.15.1(transitive)
+ Addednode-gyp-build@4.8.2(transitive)
+ Addednth-check@2.1.1(transitive)
+ Addedparse5@7.1.2(transitive)
+ Addedparse5-htmlparser2-tree-adapter@7.0.0(transitive)
+ Addedparse5-parser-stream@7.1.2(transitive)
+ Addedrequest-promise@4.2.6(transitive)
+ Addedrequest-promise-core@1.1.4(transitive)
+ Addedsignalr-client@0.0.20(transitive)
+ Addedstealthy-require@1.1.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtype@2.7.3(transitive)
+ Addedtypedarray-to-buffer@3.1.5(transitive)
+ Addedundici@6.19.8(transitive)
+ Addedutf-8-validate@5.0.10(transitive)
+ Addedwebsocket@1.0.35(transitive)
+ Addedwhatwg-encoding@3.1.1(transitive)
+ Addedwhatwg-mimetype@4.0.0(transitive)
+ Addedyaeti@0.0.6(transitive)
- Removedroblox-js@^2.0.0
- Removedcheerio@0.22.0(transitive)
- Removedcss-select@1.2.0(transitive)
- Removedcss-what@2.1.3(transitive)
- Removeddom-serializer@0.1.1(transitive)
- Removeddomelementtype@1.3.1(transitive)
- Removeddomhandler@2.4.2(transitive)
- Removeddomutils@1.5.1(transitive)
- Removedentities@1.1.2(transitive)
- Removedhtmlparser2@3.10.1(transitive)
- Removedlodash.assignin@4.2.0(transitive)
- Removedlodash.bind@4.2.1(transitive)
- Removedlodash.defaults@4.2.0(transitive)
- Removedlodash.filter@4.6.0(transitive)
- Removedlodash.flatten@4.4.0(transitive)
- Removedlodash.foreach@4.5.0(transitive)
- Removedlodash.map@4.6.0(transitive)
- Removedlodash.merge@4.6.2(transitive)
- Removedlodash.pick@4.4.0(transitive)
- Removedlodash.reduce@4.6.0(transitive)
- Removedlodash.reject@4.6.0(transitive)
- Removedlodash.some@4.6.0(transitive)
- Removednth-check@1.0.2(transitive)
- Removedreadable-stream@3.6.2(transitive)
- Removedrequest-promise@3.0.0(transitive)
- Removedroblox-js@2.3.9(transitive)
- Removedstring_decoder@1.3.0(transitive)
- Removedutil-deprecate@1.0.2(transitive)