Giter Site home page Giter Site logo

hevixmc / development-party-and-friends-for-spigot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from simonsator/development-party-and-friends-for-spigot

0.0 0.0 0.0 21 KB

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

License: MIT License

Java 100.00%

development-party-and-friends-for-spigot's Introduction

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>

development-party-and-friends-for-spigot's People

Contributors

simonsator avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.