gmitch215 / SocketMC

🖥️ Communicate directly with Minecraft Clients from the Server
http://socketmc.gmitch215.xyz/
GNU General Public License v3.0
11 stars 0 forks source link

Mod & Plugin Permission System #5

Closed gmitch215 closed 3 months ago

gmitch215 commented 4 months ago

Feature Type

API Addition

Description of Feature

This describes a permission-based system for SocketMC Instructions.

Changes

General Settings

Plugin Settings

Each plugin that sends a specific instruction will require it to pass its instance. This information is sent to the client to be stored locally (file system probably). If this is the plugin's first instruction (server-independent, meaning settings apply across servers for the same plugin), a new setting group will be created for each SocketMC permission. Plugins are identified by their main class location.

These will all default to a Default group at the top of the list, which will allow users to change default permissions when new plugins are added.

Example Permissions

Default state is included.

Purpose

The purpose of this permission-based system is to provide the most functionality with the most safety. Private servers between trusted users will have more freedom to interact with the client, while Public servers face increased security to ensure player safety.