Totem icon

Totem -----

Amazing totem plugin



Totem1.png

• Introduction

Here is my Totem plugin, with it, you will able to create as much Totem as you want, and timers to start the Totem.
So what is a totem ?
A totem is a short game which is play mostly in faction servers . The aim of the game is to detroy all the blocks composing a pillar (which is called the totem). If another faction/player break a block of the totem, the totem will be reset (all the broken blocks will reappear). The game is finish when a faction/player break all the blocks.


• Commands

> /Totem --> display all the commands of the plugin
> /Totem start [name] --> start the totem [name]
> /Totem stop [name] --> stop the totem [name]
> /Totem list --> display all the totems available
> /Totem startedList --> display all the started totems
> /Totem items [name] --> show the items you can use to destroy the totem


• Configuration

If you want to modify the message, for the color you need to put '&' + a number or a letter, and for other informations like the player, you need to write "%player%.
Code (Text):


#####TOTEM CONFIG#####
######################
# time (in seconds) when a message is sent in the chat to announce that a totem will appear
broadcasts:
  - 300
  - 240
  - 180
  - 120
  - 60
  - 30
  - 15
  - 10
  - 5
  - 4
  - 3
  - 2
  - 1
#msg sent to the player who execute the totem start cmd
#%timer% is replaced by the time in days, hours, minutes, seconds. for eg, "1 minute 5s"
startMsg: "&f[&c&lTOTEM&f] &6You have started the totem %name%, it will appear in %timer%"
#message broadcast to the chat when a totem is about to appear
countdownMsg: "&f[&c&lTOTEM&f] &6The totem %name% will appear in %timer% in the world %world% at x: %x%, y: %y%, z: %z%"
#msg broadcast when the totem appear
appearanceMsg: "&f[&c&lTOTEM&f] &6The totem %name% appeared in the world %world% at x: %x%, y: %y%, z: %z%"
blockDestroyedMsg: "&f[&c&lTOTEM&f] &6The player %player% destroyed a block (%blockLeft%/%maxBlock%)"
totemWonMsg: "&f[&c&lTOTEM&f] &6The faction %faction% won the totem %name%"
factionBlockedMsg: "&f[&c&lTOTEM&f] &6%player% from the faction %newFaction% blocked the faction %oldFaction%"
#msg received by a player when he/she try to destroy a block of the totem with the wrong item
wrongItemMsg: "&f[&c&lTOTEM&f] &6You do not use the right item, to get the usable items -> &a/totem items [name] &6<- name of the totem"
#needed for the %timer% to display the time in the correct language
seconds: seconds
second: second
minutes: minutes
minute: minute
hours: hours
hour: hour
days: days
day: day

 


• Installation
Download this plugin and place it in you plugins folder.
Download the api use by this plugin available at this link "https://www.spigotmc.org/resources/mysk-api.81565/" and place it in the same folder.
Start your server and enjoy this game.


If you have a bug, please report it on the commentaries or send me a message.
I'm so sorry for my bad english, I'm french
Resource Information
Author:
----------
Total Downloads: 1,653
First Release: Mar 6, 2017
Last Update: Oct 26, 2022
Category: ---------------
All-Time Rating:
5 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings