Skip to content

Add Functionality to the Blackmarket#400

Open
SalleeMatthew wants to merge 7 commits intoCybertownRevival:masterfrom
SalleeMatthew:Add-Black-Market
Open

Add Functionality to the Blackmarket#400
SalleeMatthew wants to merge 7 commits intoCybertownRevival:masterfrom
SalleeMatthew:Add-Black-Market

Conversation

@SalleeMatthew
Copy link
Copy Markdown
Contributor

Added functionality to the Blackmarket.
Removed unnecessary code from Flea Market to get rid of warnings.
Added shared object functionality to plaza so mina's avatar will load in 3d.

Added functionality to the blackmarket.
Removed unnecessary code from Flea Market to get rid of warnings.
Added shared object functionality to plaza so mina's avatar will load in 3d.
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds “blackmarket” parity with existing fleamarket tooling across the SPA and API, plus updates VRML world files to support shared objects/zone behavior (notably for the “enter” world).

Changes:

  • SPA: enable 3D drop/properties menus and admin-check calls for the blackmarket place.
  • API: introduce /api/blackmarket/can_admin and a BlackMarketService role-based admin check; wire blackmarket admin permissions into object-instance actions.
  • Worlds: refactor blackmarket VRML shared-object handling and add shared-zone/proto declarations to enter; remove BlaxxunZone/SharedZone definitions from fleamarket.

Reviewed changes

Copilot reviewed 12 out of 12 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
spa/src/components/Chat.vue Adds blackmarket handling in 3D menu visibility + admin-check request.
spa/assets/worlds/fleamarket/vrml/fleamarket.wrl Removes BlaxxunZone/SharedZone-related VRML definitions.
spa/assets/worlds/enter/vrml/enter.wrl Adds shared-zone/shared-object EXTERNPROTO/PROTO declarations.
spa/assets/worlds/blackmarket/vrml/blackmarket.wrl Switches to shared_xite EXTERNPROTOs and cleans up embedded SharedObject proto code; adds SharedZone.
api/src/services/index.ts Exports the new BlackMarketService.
api/src/services/blackmarket/blackmarket.service.ts Adds role-based admin check for blackmarket staff roles.
api/src/routes/index.ts Exports blackmarket routes.
api/src/routes/blackmarket.routes.ts Adds /can_admin endpoint routing for blackmarket.
api/src/controllers/object-instance.controller.ts Extends fleamarket admin logic to include blackmarket for object placement/pickup/drop rules.
api/src/controllers/index.ts Exports blackmarket controller.
api/src/controllers/blackmarket.controller.ts Implements /can_admin controller action mirroring fleamarket.
api/src/api.ts Mounts /api/blackmarket routes.
Comments suppressed due to low confidence (1)

spa/assets/worlds/fleamarket/vrml/fleamarket.wrl:128

  • This change removes the BlaxxunZone/SharedZone definitions from the fleamarket world. Many other worlds define DEF SharedZone BlaxxunZone { ... } to enable shared avatars/events/objects; without it, fleamarket may no longer participate in the shared-zone features. If fleamarket still needs shared avatars/events, consider restoring a BlaxxunZone PROTO + DEF SharedZone ... consistent with other world files.
PROTO Booth[
field MFString number "15"
field SFString description "Booth 15"
]{

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread api/src/services/blackmarket/blackmarket.service.ts Outdated
Comment thread api/src/routes/blackmarket.routes.ts Outdated
smile0711 and others added 4 commits April 18, 2026 15:02
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Removed comments that were referencing other files not related to the blackmarket.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants