Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
screepsmod-bots
Advanced tools
Screeps mod that manages bots in the game. On startup the mod removes the default bots
and adds the bots from the bots.yml
file.
npm install screepsmod-bots --save
npm install @screeps/simplebot --save
npm install screeps-bot-overmind --save
npm install screeps-bot-tooangel --save
npm install screeps-bot-choreographer --save
version: 1
bots:
- username: bot1
botName: overmind
position: 22,13,W1N8
cpu: 200
gcl: 1
log_console: false
- username: bot2
botName: tooangel
position: 34,22,W3N1
cpu: 200
gcl: 1
log_console: false
- username: bot3
botName: choreographer
position: 17,12,W8N3
cpu: 200
gcl: 1
log_console: false
- username: bot4
botName: simplebot
position: 17,37,W9N9
cpu: 200
gcl: 1
log_console: false
mods.json
file:{
"mods": [
...
"node_modules/screepsmod-bots/index.js"
],
"bots": {
"simplebot": "node_modules/@screeps/simplebot/src",
"overmind": "node_modules/screeps-bot-overmind/src",
"tooangel": "node_modules/screeps-bot-tooangel/src",
"choreographer": "node_modules/screeps-bot-choreographer/dist"
}
}
There is no event fired when the server data is reset (system.resetAllData()
), so
the server must be restarted after the reset, otherwise the mod will not have run
on the new data.
To add new bots, edit the bots.yml
file and restart the server. Take care to not reuse
usernames as if the username matches a wiped bot, it will not be created - already exists.
The positions in the examples are a best attempt to starting rooms with 2 sources that are closely equidistant from other bots.
FAQs
Screeps server mod that makes managing bots easy
We found that screepsmod-bots demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.