Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/lullaby6/auth-data-pack

MC Data-Pack - Login and Register Authorization
https://github.com/lullaby6/auth-data-pack

data-pack data-packs datapack datapacks mc mcfunction mcfunctions minecraft minecraft-data-pack minecraft-data-packs minecraft-datapack minecraft-datapacks

Last synced: 15 days ago
JSON representation

MC Data-Pack - Login and Register Authorization

Awesome Lists containing this project

README

        

# Auth

Login and Register Authorization

Version: 1.21.X

## Commands

Register with:

```mcfunction
/trigger register set
```

Login with:

```mcfunction
/trigger login set
```

Change password with (need to be logged):

```mcfunction
/trigger change_password set
```

### Admin:

Reset player:

```mcfunction
/execute as run function auth:auth/reset
```

Reset all player:

```mcfunction
/function auth:auth/reset_all_players
```

Disable the Data-Pack:

```mcfunction
/function auth:disable
```

And enable it:

```mcfunction
/datapack enable "file/auth-data-pack"
```

### Settings

To see te settings menu use te command:

```mcfunction
/function auth:settings
```

### Bypass

To give a authentication bypass to a player use te command:

```mcfunction
/tag add auth.bypass
```

and to remove it, use:

```mcfunction
/tag remove auth.bypass
```

## License

MIT