GroupSecurity
Discord
  • main
    • Overview
    • Security Engines
    • Security Modes
    • Commands & Permissions
  • API
    • How to use the API
    • Making an addon
      • Setting up environment
      • Initializing addon
      • Examples
  • Dependencies
    • Permission Handler
    • PacketEvents
  • Configuration
    • config.yml
    • messages-xx.yml
    • commands.yml
Powered by GitBook
On this page
  • Introduction
  • Add dependency
  • Spigot & Paper
  • What's next?
  1. API

How to use the API

GroupSecurity API documentation

Introduction

GroupSecurity API can be used to login players and hopefully in the future to add more ways to log people in.

Add dependency

<repositories>
	<repository>
		<id>mikart</id>
		<url></url>
	</repository>
</repositories>
<dependencies>
	<dependency>
	  <groupId>eu.mikart.groupsecurity</groupId>
	  <artifactId>GroupSecurity-</artifactId>
	  <version></version>
	</dependency>
</dependencies>

allprojects {
	repositories {
		...
		maven { url '' }
	}
}
dependencies {
	implementation 'eu.mikart.groupsecurity:GroupSecurity-:'
}

Spigot & Paper

Make GroupSecurity load before your plugin inside the plugin.yml like this:

softdepend: [GroupSecurity]

Make GroupSecurity load before your plugin inside the plugin.yml like this:

dependencies:
    server:
        GroupSecurity:
            load: BEFORE

What's next?

PreviousCommands & PermissionsNextMaking an addon

Last updated 6 months ago

Making an addon