zTotem icon

zTotem -----

The best plugin totem !



help.png

ztotemtop.png
ztotembottom.png
[​IMG]
[​IMG]
[​IMG]
  • 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.xyz/ztotem/
[​IMG]
  • /totem » Show commands (ztotem.use)
  • /totem create <totem name> » Create a totem (ztotem.create)
  • /totem delete <totem name> » Delete a totem (ztotem.delete)
  • /totem show » Show totems (ztotem.show)
  • /totem spawn <totem name> » Spawn a totem (ztotem.spawn)
  • /totem now <totem name> » Spawn a totem without cooldown (ztotem.now)
  • /totem stop <totem name> » Stop a totem (ztotem.stop)
  • /totem version » Show plugin version
  • /totem reload » Reload configuration (ztotem.reload)
  • /totem move <totem name> » Move totem location (ztotem.move)
  • /totem scheduler » Show scheduler commands (ztotem.scheduler)
  • /totem scheduler list » Show scheduler list (ztotem.scheduler)
  • /totem scheduler remove <uuid> » Remove a scheduler (ztotem.scheduler)
  • /totem scheduler add <delay/repeat> <totem name> <day/minute> [<hour>] [<minute>] » 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
Code (Java):

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 <Player > getOnlinePlayer ( String player ) {
            return null ;
        }

        @Override
        public List <Player > 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 ) ;
        }

    }

}
 
[​IMG]
Serveur Minecraft Vote is a site that lists the best minecraft servers and rank them according to their number of points, do not wait and add your server!
Resource Information
Author:
----------
Total Downloads: 203
First Release: Sep 18, 2017
Last Update: Sep 19, 2023
Category: ---------------
All-Time Rating:
20 ratings
Find more info at javadocs.groupez.dev...
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings