Skip to content

Serilum/Automatic-Operator

Repository files navigation

Automatic Operator

Download

You can download Automatic Operator on CurseForge and Modrinth:

  CurseForge:   https://curseforge.com/minecraft/mc-mods/automatic-operator
  Modrinth:      https://modrinth.com/mod/automatic-operator

Issue Tracker

To keep a better overview of all mods, the issue tracker is located in a separate repository.
  For issues, ideas, suggestions or anything else, please follow this link:

    -> Issue Tracker

Pull Requests

Because of the way mod loader files are bundled into one jar, some extra information is needed to do a PR.
  A wiki page entry about it is available here:

    -> Pull Request Information

Mod Description

Requires the library mod Collective.

Automatic Operator was initially created to make testing server-side mods easier in Fabric. By default, Fabric chooses a random name (Player1 -> Player999) as the username. This caused some issues in the development server where I needed cheat-access for testing. This mod makes it so that any player that joins, is automatically given operator permission. Released to the public in case someone else has a use for it as well.

Can be added to modpacks, but keep in mind your players might not want this functionality. This is why the mod is disabled by default.

Set 'enableAutomaticOperator' in the config to true to enable it.


Configurable: ( how do I configure? )
enableAutomaticOperator (default = false): If the mod should be enabled. Turned off by default to prevent unwanted behaviour in modpacks.
onlyRunOnDedicatedServers (default = true): If the mod should only run on dedicated servers.

onlyMakeSpecificPlayerNamesOP (default = false): If enabled, only player names specified in 'specificOperatorPlayerNames' will be made operators. If disabled, everyone will.
specificOperatorPlayerNames (default = "Player1,Player2"): The specific names of players that the mod automatically makes operators. Seperated by a comma ( , ).


Whenever a player logs in, they'll automatically be made a server operator (OP-ed):

 


------------------

You may freely use this mod in any modpack, as long as the download remains hosted within the CurseForge or Modrinth ecosystem.

Serilum.com contains an overview and more information on all mods available.

Comments are disabled as I'm unable to keep track of all the separate pages on each mod.
For issues, ideas, suggestions or anything else there is the Github repo. Thanks!