Tested Minecraft Versions:
Spoiler: Command List
We've finally added PlaceholderAPI placeholders for our plugin:
The current list of placeholders is:
How to change config:
You may change the config by just editing the config.yml file which will be in the Teams folder of your plugins, and simply restart the server.
Spoiler: Config
After buying the plugin, you will receive the API source.
API is made so you can customize Teams the way you want it to, and do so by creating your own extension of Teams plugin.
Code (Java):
// SOME EXAMPLES OF API USAGE
// Get the team by the player UUID or the team Id
Team team = TeamsUtils.getTeam(player.getUniqueId());
Team teamId = TeamsUtils.getTeam(teamId);
// Check if a player is in a specific team
TeamsUtils.isInSpecificTeam(player.getUniqueId(), team);
Code (Java):
package net.pinger.scenarios;
import net.pinger.teams.Team;
import net.pinger.teams.api.TeamsUtils;
import org.bukkit.plugin.java.JavaPlugin;
public class TeamsPlugin extends JavaPlugin {
@Override
public void onEnable() {
// MAKE SURE TEAMS ARE ENABLED IN YOUR PLUGINS FOLDER, OR THIS WILL FAIL
TeamsUtils.setLocked(true);
TeamsUtils.setBackpacks(true);
}
}
- 1.7
- 1.8
- 1.9
- 1.10
- 1.11
- 1.12
- 1.13
- 1.14
- 1.15
- 1.16
- 1.17
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fimgur.com%2FJT0gTLV.png&hash=e1048f0fbd1a8c7d033cc43bc7c9dff9)
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fimgur.com%2F4I8IC0g.png&hash=43e0da56aa2cc187fec234c60545527d)
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fimgur.com%2FIqZ7O2k.png&hash=dd9319cd64dd226b71f2ecd8fa70893c)
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fimgur.com%2F2DUZ2Xl.png&hash=db8943185a5dd59a70b7100bcc74f1ff)
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fimgur.com%2FFIm9960.png&hash=a2d07df3e203adea289e4c923e2ab43f)
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fimgur.com%2FHyJBYtQ.png&hash=28958a78e4913ddf7ac8c9487780461f)
![[IMG] [IMG]](/proxy.php?image=https%3A%2F%2Fgyazo.com%2F3228561f3f8b02607b455708b352b391.gif&hash=d6a041bc597d96a2b64fbd95ff279aea)
- BACKPACKS - if enabled, each team has a unique inventory where they can securely store their items
- TEAM LOCKS - a unique feature that this plugin offers. When this is enabled, team changes cannot be made ("Any command that starts with /team cannot be done")
- TEAM LIMITS - limits users so they can't add more players than the limit ("So if a limit is 5, no team can have more than 5 players)
- TEAM COLORS - when a team is created, they will be generated a random color, and when they chat their color along with their team Id will be displayed
- SEND COORDINATES - this feature allows users to send their coordinates to their teammates and save a lot of time by just typing a single command.
- TEAM CHAT - each team has its own unique chat, which they can toggle on and chat.
- FRIENDLY FIRE - when this feature is off, players on the same team will not be able to hit each other.
Spoiler: Command List
We've finally added PlaceholderAPI placeholders for our plugin:
The current list of placeholders is:
- %teams_limit% - returns the current limit of players per a team
- %teams_current_team% - returns the id of the team that the player is in
- %teams_team_leader% - returns the name of the players that is assigned the team leader
How to change config:
You may change the config by just editing the config.yml file which will be in the Teams folder of your plugins, and simply restart the server.
Spoiler: Config
After buying the plugin, you will receive the API source.
API is made so you can customize Teams the way you want it to, and do so by creating your own extension of Teams plugin.
Code (Java):
// SOME EXAMPLES OF API USAGE
// Get the team by the player UUID or the team Id
Team team = TeamsUtils.getTeam(player.getUniqueId());
Team teamId = TeamsUtils.getTeam(teamId);
// Check if a player is in a specific team
TeamsUtils.isInSpecificTeam(player.getUniqueId(), team);
Code (Java):
package net.pinger.scenarios;
import net.pinger.teams.Team;
import net.pinger.teams.api.TeamsUtils;
import org.bukkit.plugin.java.JavaPlugin;
public class TeamsPlugin extends JavaPlugin {
@Override
public void onEnable() {
// MAKE SURE TEAMS ARE ENABLED IN YOUR PLUGINS FOLDER, OR THIS WILL FAIL
TeamsUtils.setLocked(true);
TeamsUtils.setBackpacks(true);
}
}