Skip to content

This plugin can be used as a maven dependency for plugins implementing stuff for the Spigot version of Party And Friends

License

Notifications You must be signed in to change notification settings

Simonsator/Development-Party-And-Friends-For-Spigot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Development-Party-And-Friends-For-Spigot

This plugin can be used as a maven dependency for plugins implementing stuff for the Spigot version of Party And Friends. You basically should only use this as a dependency if you want to manually convert a Player into a Bukkit Player into an OnlinePAFPlayer. All other APIs are the same as in the Bungeecord version and therefor that one should be used as a dependency, as this is only a very stripped down version of Party And Friends for maven dependency purposes.

How do I get a Party and convert a Bukkit Player into a PAFPlayer

public void doSomething(Player pPlayer) {
		OnlinePAFPlayer player = PAFPlayerManager.getInstance().getPlayer(pPlayer);
		PlayerParty party = PartyManager.getInstance().getParty(player);
		}

Maven dependency

	<repositories>
		<repository>
			<id>simonsators Repo</id>
			<url>https://simonsator.de/repo</url>
		</repository>
	</repositories>
	<dependencies>
		<dependency>
			<groupId>de.simonsator</groupId>
			<artifactId>DevelopmentPAFSpigot</artifactId>
			<version>1.0.239</version>
			<scope>provided</scope>
		</dependency>
	</dependencies>

About

This plugin can be used as a maven dependency for plugins implementing stuff for the Spigot version of Party And Friends

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages