[img] tag
[img] tag
[img] tag
[img] tag
  • Optimize - The plugin is based on TemplatePlugin, which guarantees a great optimization of the plugin
  • Unlimited totem - Create as many totem as you want
  • Unlimited activation - Launch as many totems at the same time as you want
  • Compatible plugins - You have FactionUUID, SuperiorSkyblock, and LegacyFaction which are currently supported, but if you have ideas of other plugins to add you can come and ask me on discord: https://discord.gg/eQPZpuC (Have the plugin API you can easily add your own plugin very easily !)
  • Javadoc: https://docs.groupez.dev/ztotem/
[img] tag
  • /totem » Show commands (ztotem.use)
  • /totem create » Create a totem (ztotem.create)
  • /totem delete » Delete a totem (ztotem.delete)
  • /totem show » Show totems (ztotem.show)
  • /totem spawn » Spawn a totem (ztotem.spawn)
  • /totem now » Spawn a totem without cooldown (ztotem.now)
  • /totem stop » Stop a totem (ztotem.stop)
  • /totem version » Show plugin version
  • /totem reload » Reload configuration (ztotem.reload)
  • /totem move » Move totem location (ztotem.move)
  • /totem scheduler » Show scheduler commands (ztotem.scheduler)
  • /totem scheduler list » Show scheduler list (ztotem.scheduler)
  • /totem scheduler remove » Remove a scheduler (ztotem.scheduler)
  • /totem scheduler add [] [] » Add scheduler (ztotem.scheduler)
  • Example: /totem scheduler add repeat myTotem 120 » Totem myTotem will appear every two hours
  • Example 2: /totem scheduler add delay myTotem monday 15 30 » Totem myTotem will appear every Monday at 3.30 p.m.
TODO:
  • This new version is not as complete as the old ones it is true, but it will change over time, here are the things that are still to be done:
  • Automatic totem start system
  • Ranking and statistics system
  • Scoreboard

Config.json: https://pastebin.com/ENdCrqBy
Lang.json: https://pastebin.com/2tWhXRBQ
Lang FR: https://pastebin.com/7d5pz7n1

Add your own plugin

public class ClassExemple implements Listener {

@EventHandler
public void onRegister(TotemRegisterEvent event) {
event.setFactionListener(new MyCustomPlugin());
}

public class MyCustomPlugin implements FactionListener {

// Retrieve the name of your faction or your team with this method, you
// have the choice between using a Player or the name of a player, in
// the plugin it will be the Player which will be used for both methods.
@Override
public String getFactionTag(Player player) {
return getFactionTag(player.getName());
}

@Override
public String getFactionTag(String player) {
return null;
}

@Override
public List getOnlinePlayer(String player) {
return null;
}

@Override
public List getOnlinePlayer(Player player) {
return getOnlinePlayer(player.getCustomName());
}

@Override
public void factionTagChange(TotemFaction totemFaction, String newName) {
manager.updateFaction(totemFaction, newName);
}

@EventHandler
public void youEvet(Event event) {

TotemFaction totemFaction = TotemManager.getInstance().getFaction("you faction tag");
String newName = "youNewName";

this.factionTagChange(totemFaction, newName);
}

}

}