Staff++
latest
latest
  • Staff++
  • General information
    • Quick start
    • Reload Configuration
    • Multi Server Setup
    • General Configuration
    • Other
      • Text parsing
      • Styling the GUIs
        • Gui structure
        • Selectors
      • Configuring command hooks
  • Permissions & Commands
    • Commands
    • Permissions
      • Legacy permissions
  • Features
    • Alerts
      • X-Ray
    • Alt account detection
    • Authentication
    • Banning
      • IP Banning
        • Messages
      • Fixed Ban Reason
      • Templates
    • Blacklist
    • Broadcasting
    • Chat module
    • Chest/Inventory Interaction
    • Command detection
    • Examine players
    • Freezing
      • Command hooks
      • Luckperms integration
      • Chat channels
    • Infractions
    • Investigate
      • Command hooks
    • Join messages
    • Player IPs
    • Kicking
    • Muting
      • Appealing
    • Protection
    • Player information
    • Player notes
    • Reporting
      • Command hooks
      • Messages
      • Finding reports
      • Report types & Reasons
      • Chat channels
    • Staff Chat
    • Staff Mode
      • Multiple modes
      • Staff Modules
      • Custom Staff Modules
        • State dependent modules
      • Command hooks
      • Luckperms integration
    • Staff Locations
    • Teleporting
    • Vanish
      • Luckperms integration
    • Warnings
      • Quick start
      • Severity levels
      • Thresholds
      • Actions (punishments)
      • Appealing
      • Warning workflow
  • Web Platform
    • Register Players
    • Setup Web Platform
    • Architecture
  • Integrations
    • Discord Integration
      • Staff Chat
      • Template Packs
      • Customize Discord Templates
    • Trello Integration
    • PAPI expansion
      • PAPI Examples
  • Migration guides
    • Staff+ migration guide
    • Migrating to >=V1.16.43
    • Upgrading Discord Integration to 1.16.51
  • Developers
    • API guide
Powered by GitBook
On this page
  • Permissions
  • Example manage report view

Was this helpful?

  1. Web Platform

Architecture

PreviousSetup Web PlatformNextDiscord Integration

Last updated 3 years ago

Was this helpful?

The web platform is a front-end on top of the Staff++ database.

In the first version of the web platform it was only a view. Meaning we could read data but no changes could be made through the web platform. In the latest version the ability was added to also execute actions such as accepting/rejecting reports.

Actions can only be executed by users that have an account on the web platform and that are registered to your server group. For more information check

The web platform is not changing the data directly in the database. Instead it sends a request for changes to the Staff++ core Minecraft plugin. This architecture has the advantage that all logic is contained within the core plugin and not duplicated inside the web platform. This also means that changes done through the web platform are seen in game same as if the change was done through the MC guis/commands. Meaning report notifications are broadcast in game was well.

The disadvantage of this approach is that on the web platform your changes are not directly visible. It can take up to 10 seconds before changes done through the web platform become visible and if your MC server is down the changes will not come through until your server starts back up again.

Reading the change request is done periodically by the core plugin every 10 seconds. In a multi server setup the first server that picks up the request will execute it. Because it is only done every 10 seconds the front-end needs to wait for the changes to be processed.

Whenever the changes are processed a message will pop-up on the front-end.

This indicates that your changes have been processed and you can refresh the page to view them.

Permissions

Make sure to give your staff members the correct permission through the web platform

Example manage report view

register players