1
mirror of https://github.com/thepeacockproject/Peacock synced 2024-11-22 22:12:45 +01:00
Go to file
moonysolari a297973693
Get the latest entitlements for user upon authentication (#128)
* Get entitlements on connection

* Fall back to old data upon failure

* Added checks on error type

* Update components/platformEntitlements.ts

Co-authored-by: Reece Dunham <me@rdil.rocks>
Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>

* Update platformEntitlements.ts

Signed-off-by: Reece Dunham <me@rdil.rocks>

---------

Signed-off-by: moonysolari <118079569+moonysolari@users.noreply.github.com>
Signed-off-by: Reece Dunham <me@rdil.rocks>
Co-authored-by: Reece Dunham <me@rdil.rocks>
2023-02-12 00:02:38 -05:00
.github Update some dependencies 2022-11-23 22:28:53 -05:00
.idea Significant performance improvement that I have not actually tested 2023-01-28 21:59:26 -05:00
.vscode Update some vscode settings 2022-11-10 03:49:47 +01:00
.yarn Update jwt lib to v9 2023-01-16 15:09:20 -05:00
components Get the latest entitlements for user upon authentication (#128) 2023-02-12 00:02:38 -05:00
contractdata Add all Snug contracts, challenges, and mastery 2023-01-29 04:36:29 +00:00
docs Move the code of conduct to the docs folder [skip ci] 2023-01-04 11:33:58 -05:00
packaging Update copyright years to 2023 2023-01-23 13:37:33 -05:00
patcher Initial commit 2022-10-19 21:33:45 -04:00
resources Add missing locale strings 2022-12-28 15:53:22 -05:00
static Add Freelancer tile to dashboard 2023-01-29 04:38:09 +00:00
webui Update copyright years to 2023 2023-01-23 13:37:33 -05:00
.cirrus.yml Actually ship Node in full CI builds 2022-11-02 16:48:04 -04:00
.editorconfig Initial commit 2022-10-19 21:33:45 -04:00
.eslintignore Initial commit 2022-10-19 21:33:45 -04:00
.eslintrc.js Update copyright years to 2023 2023-01-23 13:37:33 -05:00
.gitattributes Fix the gitattributes 2022-12-02 12:01:29 -05:00
.gitignore Added service for mastery data (#30) 2023-01-20 22:00:20 +01:00
.nvmrc Node 18.14.0 2023-02-02 20:58:11 -05:00
.prettierignore Initial commit 2022-10-19 21:33:45 -04:00
.yarnrc.yml Fixes to the express patch 2022-12-15 20:40:49 -05:00
LICENSE Initial commit 2022-10-19 21:33:45 -04:00
package.json v6.0.0-beta.2 2023-02-09 23:13:09 -05:00
PeacockPatcher.exe Initial commit 2022-10-19 21:33:45 -04:00
readme.md Add credits section 2022-10-20 10:50:19 -04:00
Start Server.cmd Initial commit 2022-10-19 21:33:45 -04:00
THIRDPARTYNOTICES.txt Update jwt lib to v9 2023-01-16 15:09:20 -05:00
Tools.cmd Initial commit 2022-10-19 21:33:45 -04:00
tsconfig.json Initial commit 2022-10-19 21:33:45 -04:00
webstorm.config.js Update copyright years to 2023 2023-01-23 13:37:33 -05:00
yarn.lock v6.0.0-beta.2 2023-02-09 23:13:09 -05:00

The Peacock Project

Discord

The Peacock Project is a HITMAN World of Assassination Trilogy server replacement. The primary purpose is preservation of the game, but it also adds new features and content to the game, and allows for other enhancements to be made while in online mode.

Installation

Install Node.js. Use the Latest version, or the version specifically mentioned here: Version 18

Clone the repository where-ever you wish.

Open Windows terminal AS ADMINISTRATOR.

Install Yarn, by typing:

corepack enable

Then move to the folder where you cloned the repo to by using:

cd Folder/Path/Here

then install the dependencies by using:

yarn install

Usage

The project is bundled with a server running configuration. Run that when editing the project with the IDE of choice, and it should open.

We highly suggest you use WebStorm for development, but it is a paid product, so you may want to choose something like Visual Studio Code. WebStorm will provide a better experience for development, but VSCode will work just fine.

Contributing

Writing bug reports is cool. You should do that. Or update this readme whenever it's needed.

Thank you to people who have contributed!

License

Peacock is under the AGPL-3.0 license, see the license file for more info.

Credits

Peacock started off as a fork of LocalGhost by grappigegovert, and has since been rewritten in TypeScript, and a whole host of new features have been added. The codebase has been relicensed to AGPL-3.0 with explicit permission from grappigegovert.

The game is owned by IO Interactive, and is not affiliated with this project in any way.