Skip to content

Server enforced "Heads Up" system before irreversible actions #11

@nataliethistime

Description

@nataliethistime

Similar to the captcha system. The server should be able to return warning messages and require user confirmation before proceeding. Messages would be returned in the same format as inbox messages whereby images, links to the wiki, links to planets, resource icons, etc can be used to enhance the message. This means that the same warning rules are enforced across clients at all times.

A player would then be able to proceed with their intended action or cancel.

Actions that should trigger warnings:

  • Upgrading uni past level 10, 15 or 20, see here Warning in UI when attempting to upgrade University past lvl 10. plainblack/Lacuna-Server-Open#393
  • Sending colony ship breaks isolationist status
  • Building a munitions lab breaks isolationist status
  • A send ship confirmation under certain circumstances (ie, sending attacks)
  • Black hole generators can create fissures warning
  • Archaeology ministry abandon excavators
  • Mining ministry abandon mining platforms
  • Abandoning a planet
  • Demolishing a building ("you are about to create x waste or lose x food production")

Implementation ideas: new error code, return message in the data section, retry the request after confirmation

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions