HomeJavaModsStrikeFollow | The recode | Source Code available
StrikeFollow | The recode | Source Code available
ModsJava

StrikeFollow | The recode | Source Code available

⬇ Download on Spigot
Description
this plugin is a simple made plugin to Watch or Follow Players when they join a game (Auto) which only works with StrikePractice.

Dependencies
StrikePractice plugins is the only needed plugin!

Usage
how to use Srtrike Follow?
Simply add it to your plugins folder and restart your server

Commands & Perms
/follow <player>
Permission: StrikeFollow.use
Description: follows a specific player

/unfollow
Permission: StrikeFollow.use
Description: unfollows the followed player

Config
Code (YAML):

Settings
:
  #Currently uselss.
  Debug
: false
 
Messages
Code (YAML):

prefix
: '&f [&bFollow&f ] '
Follow
:
  Usage
: '&c/follow <player>'
  Success
: '&fStarted following &b<followed>!'
  Fail
:
    CurrentlyFollowing
: '&fYou are already &cFOLLOWING &fsomeone..'
    Not-Exist
: '&fThere is &cNO &fonline player with that name.'
Unfollow
:
  Auto
: '&fYou have unfollowed &b<unfollowed> &fbecause they &cdisconnected&f.'
  Success
: '&fSuccessfully unfollowed <unfollowed>!'
  Fail
: '&fYou are &cnot following anyone currently.'
Log
:
  Match
:
    Start
: '&fPlayer &b<followed> &fhas started a match!'
    End
: '&fPlayer &b<followed> &fhas ended his current fight'
  Spectate
:
    Start
: '&fPlayer &b<followed> &fhas started spectating a match!'
    End
: '&fPlayer &b<followed> &fhas stopped spectating the match.'
  Party
:
    Create
: '&fPlayer &b<followed> &fhas created a party!'
    Disband
: "&fPlayer &b<followed>&f's party has been &cdisbanded."
 
PlaceolderAPI Support
Code (YAML):

%StrikeFollow_isFollowing%
#returns true or false (for sprac tab and scorebaord)
%StrikeFollow_following%
#returns the current following player (returns NONE if there is no one) [/SIZE]
 
DeveloperAPI


Spoiler: Developer API
First of all we get an instance of our API class
Code (Java):

StrikeFollowAPI api = StrikeFollow. getAPI ( ) ; //
 
Great, now we gotta see what that does
Code (Java):

FollowPlayer followPlayer = api. getFollowPlayer (player ) ; //returns the FollowPlayer that we will use in a second;)
followPlayer#isFollowing ( ) ; //returns if the player following any player or not
followPlayer#getFollowers ( ) ; //returns an ArrayList of the follower Players of that player
followPlayer#getFollowing ( ) ; //returns the FollowPlayer of the player that is followed
followPlayer#follow (anotherFollowPlayer ) ; //returns a boolean of true or false if the player is following someone it will return false and won't follow
followPlayer#unfollow ( ) ; //unfollow any players that is followed and it's a void method
 
Spoiler: Events
- FollowEvent
Code (Java):

FollowEvent#getFollower ( ) ; //Returns the Player who followed another player
FollowEvent#getFollowed ( ) ; //Returns the Player who got followed
 
- UnfollowEvent
Code (Java):

UnfollowEvent#getUnfollower ( ) ; //Returns the Player who unfollowed another player
UnfollowEvent#getUnfollowed ( ) ; //Returns the Player who was followed
 
Support

Feel free to contact me on Discord
or here on SpigotMC

Commands

Plugin details

Read from the plugin's own plugin.yml.

Quick facts

Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.

StrikeFollow | The recode | Source Code available is a free Minecraft Java mod. Compatible with Minecraft 1.7, 1.8, 1.9, 1.10 and newer. Downloaded 1,340 times (via Spigot). Download it and open it directly in the game.

Explore more